2020-07-25 16:47:58 +02:00
|
|
|
return {
|
|
|
|
name = "spindash",
|
2020-08-23 08:53:44 +02:00
|
|
|
fullname = "Spin Dash",
|
2021-04-23 10:21:54 +02:00
|
|
|
description = "Sonic's signature attack ! Charge for more damage",
|
2020-07-25 16:47:58 +02:00
|
|
|
cost = 05,
|
|
|
|
targetNumber = 1, -- 0 for targeting all ennemies
|
|
|
|
targetEnnemies = true,
|
|
|
|
choregraphy = {
|
|
|
|
{"setAnimation", "none", "spindash", false},
|
|
|
|
{'playSFX', "none", 'spincharge'},
|
|
|
|
{"wait", "none", 0.5},
|
|
|
|
{"setAnimation", "none", "spin", false},
|
|
|
|
{'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},
|
|
|
|
{'playSFX', "sentDamage", 'hitconnect'},
|
|
|
|
{'jumpBack', "none", 0.3, true},
|
2020-07-25 17:07:53 +02:00
|
|
|
{"wait", "none", 0.1},
|
|
|
|
{"setAnimation", "none", "walk", false},
|
|
|
|
{'goTo', "none", "start", 0, 0, 0.3, true},
|
|
|
|
{'setAnimation', "none", 'idle', false},
|
2020-07-25 16:47:58 +02:00
|
|
|
}
|
|
|
|
}
|