本帖最后由 taroxd 于 2015-8-10 10:34 编辑
换个想法:1号开关关闭时才结算胜利
def BattleManager.judge_win_loss if @phase return process_abort if $game_party.members.empty? return process_defeat if $game_party.all_dead? return process_victory if !$game_switches[1] && $game_troop.all_dead? # 改了这句,没测试 return process_abort if aborting? end return false end
def BattleManager.judge_win_loss
if @phase
return process_abort if $game_party.members.empty?
return process_defeat if $game_party.all_dead?
return process_victory if !$game_switches[1] && $game_troop.all_dead? # 改了这句,没测试
return process_abort if aborting?
end
return false
end
|