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 = {
|
2021-08-07 13:36:13 +02:00
|
|
|
{"setAnimation", "none", "actor", "walk", false},
|
|
|
|
{'goTo', "none", "actor", "start", 2, 0, 0.5, true},
|
|
|
|
{"setAnimation", "none", "actor", "spindash", false},
|
2020-07-25 16:47:58 +02:00
|
|
|
{'playSFX', "none", 'spincharge'},
|
2021-05-08 18:39:52 +02:00
|
|
|
{"wait", "none", 1},
|
2021-08-07 13:36:13 +02:00
|
|
|
{"setAnimation", "none", "actor", "spin", false},
|
2020-07-25 16:47:58 +02:00
|
|
|
{'playSFX', "none", 'spinrelease'},
|
2021-08-07 13:36:13 +02:00
|
|
|
{"goTo", "none", "actor", "target", 0, 0, 0.3, true},
|
2021-05-15 15:01:02 +02:00
|
|
|
{"sendDamage", "none", 120, "basic", "none", false},
|
2021-07-27 12:45:41 +02:00
|
|
|
{'addGFX', "sentDamage", 'hitGFX', "target", 0, 0, 0, true, false},
|
2020-07-25 16:47:58 +02:00
|
|
|
{'playSFX', "sentDamage", 'hitconnect'},
|
2021-08-07 13:36:13 +02:00
|
|
|
{'jumpBack', "none", "actor", 4, 8, true},
|
2020-07-25 17:07:53 +02:00
|
|
|
{"wait", "none", 0.1},
|
2021-08-07 13:36:13 +02:00
|
|
|
{"setAnimation", "none", "actor", "walk", false},
|
|
|
|
{'goTo', "none", "actor", "start", 0, 0, 0.3, true},
|
|
|
|
{'setAnimation', "none", "actor", 'idle', false},
|
2020-07-25 16:47:58 +02:00
|
|
|
}
|
|
|
|
}
|