Ajout des derniers développement #1

Merged
kazhnuz merged 68 commits from chronicles-cbs into master 2020-08-02 11:14:18 +02:00
5 changed files with 41 additions and 42 deletions
Showing only changes of commit e72fa0cc7f - Show all commits

View file

@ -1,7 +1,7 @@
return {
--{attack_name, level},
{"spinattack", 2},
{"spinjump", 3},
--{"spinjump", 3},
{"spindash", 8},
{"hommingattack", 11},
{"spinattack", 15},

View file

@ -12,31 +12,30 @@ return {
targetNumber = 1, -- 0 for targeting all ennemies
choregraphy = { -- the main attack choregraphy
--{'goTo', "none", "target", 0, 0}
{'goTo', "none", "target", -1, 0, 0.3, true},
{'playSFX', "none", 'hit'},
{'setAnimation', "none", 'hit1start', true},
{'sendDamage', "none", 33, 100, false, false},
{'addGFX',"sentDamage", 'hitGFX', "target", 0.75, 0, true, false},
{'addGFX',"sentDamage", 'hitGFX', "actor", 0.75, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'setAnimation', "none", 'hit1end', true},
{'playSFX', "none", 'hit'},
{'setAnimation', "none", 'hit2start', true},
{'sendDamage', "none", 33, 100, false, false},
{'addGFX',"sentDamage", 'hitGFX', "target", 0.75, 0, true, false},
{'addGFX',"sentDamage", 'hitGFX', "actor", 0.75, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'setAnimation', "none", 'hit2end', true},
{'playSFX', "none", 'hit'},
{'setAnimation', "none", 'hit3start', true},
{'sendDamage', "none", 33, 100, false, false},
{'addGFX',"sentDamage", 'hitGFX', "target", 0.75, 0, true, false},
{'addGFX',"sentDamage", 'hitGFX', "actor", 0.75, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'setAnimation', "none", 'hit3end', true},
{'setAnimation', "none", 'idle', false},
--{'wait', "none", 0.2},
--{'goTo', "none", "start", 0, 0},
{'wait', "none", 0.5}
{'wait', "none", 0.2},
{'goTo', "none", "start", 0, 0, 0.3, true}
},
onContact = { -- if the attack move and touch multiple ennemies, you can add

View file

@ -1,12 +1,16 @@
-- A basic file describing the basic attack, in order to make it customizable one
-- day ?
-- Also serve as a tutoriel for how to create a file attack and choregraphy
return {
name = "spinattack",
cost = 05,
cost = 03,
targetNumber = 1, -- 0 for targeting all ennemies
targetEnnemies = true,
choregraphy = {
{"setAnimation", "none", "spindash", false},
{'playSFX', "none", 'spincharge'},
{"wait", "none", 0.5},
choregraphy = { -- the main attack choregraphy
{"setAnimation", "none", "spin", false},
{'playSFX', "none", 'spinrelease'},
{"goTo", "none", "target", 0, 0, 0.3, true},
@ -14,6 +18,10 @@ return {
{'addGFX', "sentDamage", 'hitGFX', "target", 0, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'jumpBack', "none", 0.3, true},
{'setAnimation', "none", 'idle', false},
}
{'goTo', "none", "start", 0, 0, 0.2, true}
},
onContact = { -- if the attack move and touch multiple ennemies, you can add
-- specific effect when you touch the ennemy.
},
}

View file

@ -0,0 +1,19 @@
return {
name = "spindash",
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},
{'goTo', "none", "start", 0, 0, 0.2, true}
}
}

View file

@ -1,27 +0,0 @@
-- A basic file describing the basic attack, in order to make it customizable one
-- day ?
-- Also serve as a tutoriel for how to create a file attack and choregraphy
return {
name = "spinjump",
cost = 03,
targetNumber = 1, -- 0 for targeting all ennemies
targetEnnemies = true,
choregraphy = { -- the main attack choregraphy
{"setAnimation", "none", "spinjump", false},
{'playSFX', "none", 'jump'},
{'jumpTo', 'none', "target", 0, 0, 0.5, true},
{"sendDamage", "none", 110, 100, false, true},
{'addGFX', "sentDamage", 'hitGFX', "target", 0, 0, true, false},
{'playSFX', "sentDamage", 'hitconnect'},
{'jumpBack', "none", 0.3, true},
{'setAnimation', "none", 'idle', false},
},
onContact = { -- if the attack move and touch multiple ennemies, you can add
-- specific effect when you touch the ennemy.
},
}