调整ai对多hold的支持
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
local AISpeed={60,50,40,30,20,14,10,6,4,3}
|
||||
return function(type,speedLV,next,hold,node)
|
||||
if type=="CC"then
|
||||
if not hold then hold=false else hold=true end
|
||||
return{
|
||||
type="CC",
|
||||
nextCount=next,
|
||||
hold=hold>0,
|
||||
holdCount=hold,
|
||||
delta=AISpeed[speedLV],
|
||||
node=node,
|
||||
}
|
||||
@@ -12,6 +13,7 @@ return function(type,speedLV,next,hold,node)
|
||||
return{
|
||||
type="9S",
|
||||
delta=math.floor(AISpeed[speedLV]),
|
||||
holdCount=hold,
|
||||
}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user