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

回合结束修正

parent dd852d16
...@@ -71,9 +71,6 @@ class Action ...@@ -71,9 +71,6 @@ class Action
end end
def run def run
$game.phase = phase $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 super
end end
end end
......
...@@ -68,6 +68,9 @@ class Scene_Duel < Scene ...@@ -68,6 +68,9 @@ class Scene_Duel < Scene
end end
def change_phase(phase) def change_phase(phase)
action Action::ChangePhase.new(true, 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 end
def reset def reset
action Action::Reset.new(true) 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