sonic-radiance/sonic-radiance.love/datas/gamedata/skills/spinattack.lua

16 lines
534 B
Lua

return {
name = "Spin Dash",
cost = "05",
target = nil, -- No targeting capacity
effectArea = {1, 0, "line", 5, true}, -- which area is affected by the attack
choregraphy = {
{"setAnimation", "none", "spindash", false},
{"wait", "none", 0.5},
{"setAnimation", "none", "spin", false},
{"dashForward", "none", 12, true},
{'sendDamage', 120, 100, false, false},
{'addGFX', "sentDamage", 'hitGFX', 0.75, 0, true, false},
{'jumpBack', "none", true},
{'setAnimation', "none", 'idle', false},
}
}