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

20 lines
681 B
Lua
Raw Permalink Normal View History

return {
2019-08-22 21:32:52 +02:00
name = "spinattack",
cost = 05,
target = nil, -- No targeting capacity
effectArea = {0, 0, "line", 5, true}, -- which area is affected by the attack
choregraphy = {
{"setAnimation", "none", "spindash", false},
2019-08-31 15:44:34 +02:00
{'playSFX', "none", 'spincharge'},
{"wait", "none", 0.5},
{"setAnimation", "none", "spin", false},
2019-08-31 15:44:34 +02:00
{'playSFX', "none", 'spinrelease'},
{"dashForward", "none", 12, true},
{"sendDamageFromPos", "none", 0, 0, 120, 100, false, false, true},
{'addGFX', "sentDamage", 'hitGFX', 0, 0, true, false},
2019-08-31 15:44:34 +02:00
{'playSFX', "sentDamage", 'hitconnect'},
{'jumpBack', "none", true},
{'setAnimation', "none", 'idle', false},
}
}