Files
Techmino/parts/AITemplate.lua
2020-12-14 23:26:15 +08:00

17 lines
309 B
Lua

local AISpeed={60,50,40,30,20,14,10,6,4,3}
return function(type,speedLV,next,hold,node)
if type=="CC"then
return{
type="CC",
nextCount=next,
hold=hold>0,
delta=AISpeed[speedLV],
node=node,
}
elseif type=="9S"then
return{
type="9S",
delta=math.floor(AISpeed[speedLV]),
}
end
end