From 6626dbebdfb0aaf1ec59f0450d9e53b68d82cdd6 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 18 Jul 2021 14:09:39 +0200 Subject: [PATCH] improvement: port skills to latest API --- .../datas/gamedata/ennemies/skills/tackle.lua | 6 +++--- sonic-radiance.love/datas/gamedata/skills/attack.lua | 2 +- sonic-radiance.love/datas/gamedata/skills/spindash.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sonic-radiance.love/datas/gamedata/ennemies/skills/tackle.lua b/sonic-radiance.love/datas/gamedata/ennemies/skills/tackle.lua index d5550f3..521868d 100644 --- a/sonic-radiance.love/datas/gamedata/ennemies/skills/tackle.lua +++ b/sonic-radiance.love/datas/gamedata/ennemies/skills/tackle.lua @@ -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 diff --git a/sonic-radiance.love/datas/gamedata/skills/attack.lua b/sonic-radiance.love/datas/gamedata/skills/attack.lua index 321f6fd..5475df4 100644 --- a/sonic-radiance.love/datas/gamedata/skills/attack.lua +++ b/sonic-radiance.love/datas/gamedata/skills/attack.lua @@ -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}, diff --git a/sonic-radiance.love/datas/gamedata/skills/spindash.lua b/sonic-radiance.love/datas/gamedata/skills/spindash.lua index cc5fa24..937014e 100644 --- a/sonic-radiance.love/datas/gamedata/skills/spindash.lua +++ b/sonic-radiance.love/datas/gamedata/skills/spindash.lua @@ -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},