CODE
#--------------------------------------------------------------------------
# * Application of Slip Damage Effects
#--------------------------------------------------------------------------
def slip_damage_effect
if slip_damage? and @hp > 0
@hp_damage = apply_variance(maxhp / 5, 5)
@hp_damage = @hp - 1 if @hp_damage >= @hp
self.hp -= @hp_damage
end
end
end
# * Application of Slip Damage Effects
#--------------------------------------------------------------------------
def slip_damage_effect
if slip_damage? and @hp > 0
@hp_damage = apply_variance(maxhp / 5, 5)
@hp_damage = @hp - 1 if @hp_damage >= @hp
self.hp -= @hp_damage
end
end
end
I am wondering if I can add something in here to make it display how much damage is taken each round from poison. A simple numbers pop up on the characters name would be fine, or I'm even willing for a message to display each turn. Any help with this would be greatly appreciated.