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

20 lines
643 B
Lua
Raw Normal View History

return {
2019-08-22 21:32:52 +02:00
name = "spinattack",
cost = 05,
2020-07-20 12:24:26 +02:00
targetNumber = 1, -- 0 for targeting all ennemies
targetEnnemies = true,
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'},
{"goTo", "none", "target", 0, 0, 0.3, true},
{"sendDamage", "none", 120, 100, false, false},
{'addGFX', "sentDamage", 'hitGFX', "target", 0, 0, true, false},
2019-08-31 15:44:34 +02:00
{'playSFX', "sentDamage", 'hitconnect'},
{'jumpBack', "none", 0.1, true},
{'setAnimation', "none", 'idle', false},
}
}