[antum_entities] battle.lua: Add 'unmovable', 'heavy', 'average', &

'light' for 'battle.weight' definitions.
master
AntumDeluge 2016-09-03 17:59:34 -07:00
parent ca27ae37fd
commit f2fc31eff2
1 changed files with 18 additions and 0 deletions

View File

@ -27,6 +27,8 @@
antum.battle = {}
-- HP defines how durable the entity is when attacked
antum.battle.hp = {
high = {
hp_max = 40,
@ -38,3 +40,19 @@ antum.battle.hp = {
hp_max = 10,
},
}
-- Weight defines how far back the entity will be pushed when attacked
antum.battle.weight = {
unmovable = {
knockback_level = 0,
},
heavy = {
knockback_level = 1,
},
average = {
knockback_level = 2,
},
light = {
knockback_level = 4,
},
}