知道应该动这里……
#--------------------------------------------------------------------------
# ● 检查连续伤害 (地图用)
#--------------------------------------------------------------------------
def check_map_slip_damage
for actor in @actors
next if actor.nil?
if actor.hp > 0 and actor.slip_damage?
actor.hp -= [actor.maxhp / 100, 1].max
if actor.hp == 0
$game_system.se_play($data_system.actor_collapse_se)
end
$game_screen.start_flash(Color.new(255,0,0,128), 4)
$game_temp.gameover = $game_party.all_dead?
end
end
end
不好意思看错了,两个都要改
def check_map_slip_damage
for actor in @actors
next if actor.nil?
if actor.hp > 0 and actor.slip_damage?
if actor.state?(26)
actor.hp += [actor.maxhp / 100, 1].max
else
actor.hp -= [actor.maxhp / 100, 1].max
if actor.hp == 0
$game_system.se_play($data_system.actor_collapse_se)
end
$game_screen.start_flash(Color.new(255,0,0,128), 4)
$game_temp.gameover = $game_party.all_dead?
end
end
end
end 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~