feat: add a spinner ennemy

This commit is contained in:
Kazhnuz 2021-05-09 15:04:51 +02:00
parent b38a8c3910
commit fe5e1f6d68
6 changed files with 60 additions and 2 deletions

View file

@ -1,8 +1,10 @@
return { return {
music = "battle1", music = "battle1",
ennemies = { 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 -- There are three possible type of ennemies

View file

@ -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,
}

View file

@ -0,0 +1,3 @@
return {
"tackle",
}

View file

@ -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,
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,12 @@
return {
hpmax = 25, --
ppmax = 20, --
attack = 15, --
power = 20, --
defense = 05, --
technic = 10, --
mind = 10, --
luck = 02, --
speed = 15, --
}