Bugs linked to editing
Posted: Mon Nov 19, 2012 3:54 pm
1) It is possible to set the health of a monster to zero, making it immune to damage (weapon attacks and damageTile commands).
2) When a projectile hits a monster, the onDamage hook brings an invalid self parameter.
2) When a projectile hits a monster, the onDamage hook brings an invalid self parameter.
Code: Select all
onDamage = function(self, damage, damageType)
-- self is an empty table!
end