improvement: port skills to latest API

This commit is contained in:
Kazhnuz 2021-07-18 14:09:39 +02:00
parent cd59f8d74e
commit 6626dbebdf
3 changed files with 5 additions and 5 deletions

View file

@ -13,13 +13,13 @@ return {
isSpecial = false,
choregraphy = { -- the main attack choregraphy
{"goTo", "none", "target", -0.4, 0, 0.5, true},
{"goTo3D", "none", "target", -0.4, 0, 0, 0.5, true},
{"sendDamage", "none", 120, "basic", "none", false},
{'addGFX', "sentDamage", 'hitGFX', "target", -0.4, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'jumpBack', "none", 0.3, true},
{'jumpBack', "none", 4, 8, true},
{"wait", "none", 0.1},
{'goTo', "none", "start", 0, 0, 0.3, true},
{'goTo3D', "none", "start", 0, 0, 0, 0.3, true},
},
onContact = { -- if the attack move and touch multiple ennemies, you can add

View file

@ -23,7 +23,7 @@ return {
{"sendDamage", "none", 100, "basic", "none", false},
{'addGFX', "sentDamage", 'hitGFX', "target", 0, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'jumpBack', "none", 0.3, true},
{'jumpBack', "none", 4, 8, true},
{"wait", "none", 0.1},
{"setAnimation", "none", "walk", false},
{'goTo', "none", "start", 0, 0, 0.3, true},

View file

@ -17,7 +17,7 @@ return {
{"sendDamage", "none", 120, "basic", "none", false},
{'addGFX', "sentDamage", 'hitGFX', "target", 0, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'jumpBack', "none", 0.3, true},
{'jumpBack', "none", 4, 8, true},
{"wait", "none", 0.1},
{"setAnimation", "none", "walk", false},
{'goTo', "none", "start", 0, 0, 0.3, true},