When exactly death_on_poison should be called? as far as i see never

Here is what should be changed:
CODE
def slip_damage_effect
if slip_damage? and @hp > 0
@hp_damage = apply_variance(maxhp / 10, 10)
@hp_damage = @hp - 1 if @hp_damage >= @hp
self.hp -= @hp_damage
end
end
For example, use this script:
CODE
class Battler
def slip_damage_effect
if slip_damage? and @hp > 0
@hp_damage = apply_variance(maxhp / 10, 10)
self.hp -= @hp_damage
end
This post has been edited by -dah0rst-: Jan 5 2012, 12:32 PM