class Game_BattlerBase
def refresh
state_resist_set.each {|state_id| erase_state(state_id) }
@hp = [[@hp, mhp].min, 0].max
@mp = [[@mp, mmp].min, 0].max
if self.is_a?(Game_Actor) && self.id >= 9
else
if @hp == 0
add_state(death_state_id)
else
remove_state(death_state_id)
end
end
end
end
class Game_BattlerBase
def refresh
state_resist_set.each {|state_id| erase_state(state_id) }
@hp = [[@hp, mhp].min, 0].max
@mp = [[@mp, mmp].min, 0].max
if self.is_a?(Game_Actor) && self.id >= 9
else
if @hp == 0
add_state(death_state_id)
else
remove_state(death_state_id)
end
end
end
end