Commit 7f34a9cc authored by 神楽坂玲奈's avatar 神楽坂玲奈

回合结束修正

parent dd852d16
......@@ -71,9 +71,6 @@ class Action
end
def run
$game.phase = phase
if @from_player and phase == :EP
Game_Event.push Game_Event::Action.new(TurnEnd.new(true, $game.player_field, $game.turn_player ? $game.turn : $game.turn.next))
end
super
end
end
......
......@@ -68,6 +68,9 @@ class Scene_Duel < Scene
end
def change_phase(phase)
action Action::ChangePhase.new(true, phase)
if phase == :EP
action Action::TurnEnd.new(true, $game.player_field, $game.turn_player ? $game.turn : $game.turn.next)
end
end
def reset
action Action::Reset.new(true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment