以下效果是额外判断如果艾里克战斗不能就结束游戏。
class Game_Party < Game_Unit #-------------------------------------------------------------------------- # ● 判定是否全灭 #-------------------------------------------------------------------------- alias amu_20150630_all_dead? all_dead? def all_dead? amu_20150630_all_dead? || $game_actors[1].dead? end end
class Game_Party < Game_Unit
#--------------------------------------------------------------------------
# ● 判定是否全灭
#--------------------------------------------------------------------------
alias amu_20150630_all_dead? all_dead?
def all_dead?
amu_20150630_all_dead? || $game_actors[1].dead?
end
end
|