整理代码习惯,常量字符串改用单引号,可能有遗漏
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
local AISpeed={60,50,40,30,20,14,10,6,4,3}
|
||||
return function(type,speedLV,next,hold,node)
|
||||
if type=="CC"then
|
||||
if type=='CC'then
|
||||
if not hold then hold=false else hold=true end
|
||||
return{
|
||||
type="CC",
|
||||
type='CC',
|
||||
next=next,
|
||||
hold=hold,
|
||||
delta=AISpeed[speedLV],
|
||||
node=node,
|
||||
}
|
||||
elseif type=="9S"then
|
||||
elseif type=='9S'then
|
||||
return{
|
||||
type="9S",
|
||||
type='9S',
|
||||
delta=math.floor(AISpeed[speedLV]),
|
||||
hold=hold,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user