diff --git a/sonic-radiance.love/datas/gamedata/battles/test/testBattle.lua b/sonic-radiance.love/datas/gamedata/battles/test/testBattle.lua index 0d8bf74..4ae4401 100644 --- a/sonic-radiance.love/datas/gamedata/battles/test/testBattle.lua +++ b/sonic-radiance.love/datas/gamedata/battles/test/testBattle.lua @@ -1,8 +1,10 @@ return { music = "battle1", ennemies = { - {"normal", "classics", "motobug", 2}, - {"normal", "classics", "motobug", 1}} + {"normal", "classics", "motobug", 1}, + {"normal", "classics", "spinner", 1}, + {"normal", "classics", "motobug", 1}, + } } -- There are three possible type of ennemies diff --git a/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/init.lua b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/init.lua new file mode 100644 index 0000000..7f8a2d7 --- /dev/null +++ b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/init.lua @@ -0,0 +1,16 @@ +return { + name = "Spinner", + fullname = "E-06 Spinner", + type = "badnics", + rarity = 0, + isAerial = true, + distAttack = false, + turns = 2, + + hudHeight = 24, + behaviour = "random", + behaviourAlt = "random", + + giveExp = 20, + giveRings = 30, +} diff --git a/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/skills.lua b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/skills.lua new file mode 100644 index 0000000..77087dc --- /dev/null +++ b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/skills.lua @@ -0,0 +1,3 @@ +return { + "tackle", +} diff --git a/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/sprites.lua b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/sprites.lua new file mode 100644 index 0000000..9c42950 --- /dev/null +++ b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/sprites.lua @@ -0,0 +1,25 @@ +return { + metadata = { + width = 64, + height = 64, + ox = 32, + oy = 32, + defaultAnim = "idle" + }, + animations = { + ["idle"] = { + startAt = 1, + endAt = 6, + loop = 1, + speed = 12, + pauseAtEnd = false, + }, + ["walk"] = { + startAt = 1, + endAt = 6, + loop = 1, + speed = 12, + pauseAtEnd = false, + } + } +} diff --git a/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/sprites.png b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/sprites.png new file mode 100644 index 0000000..29cb2f3 Binary files /dev/null and b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/sprites.png differ diff --git a/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/stats.lua b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/stats.lua new file mode 100644 index 0000000..f547ce8 --- /dev/null +++ b/sonic-radiance.love/datas/gamedata/ennemies/classics/spinner/stats.lua @@ -0,0 +1,12 @@ +return { + hpmax = 25, -- + ppmax = 20, -- + + attack = 15, -- + power = 20, -- + defense = 05, -- + technic = 10, -- + mind = 10, -- + luck = 02, -- + speed = 15, -- +}