本帖最后由 英顺的马甲 于 2016-7-22 23:54 编辑
$_original_Scene_Battle = Scene_Battle.clone unless $_original_Scene_Battle class Scene_Battle < $_original_Scene_Battle def judge @_phase5_stopped = false original = super return (!@_phase5_stopped) && original end def start_phase5 if $game_troop.enemies.any?{|e|e.hp != 0} @_phase5_stopped = true $game_troop.enemies.each{|e|e.hidden = false} return end super end end
$_original_Scene_Battle = Scene_Battle.clone unless $_original_Scene_Battle
class Scene_Battle < $_original_Scene_Battle
def judge
@_phase5_stopped = false
original = super
return (!@_phase5_stopped) && original
end
def start_phase5
if $game_troop.enemies.any?{|e|e.hp != 0}
@_phase5_stopped = true
$game_troop.enemies.each{|e|e.hidden = false}
return
end
super
end
end
当所有出现的敌人都死后会强制所有隐藏的敌人现身并且继续战斗 |