Fixes.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package com.gempukku.lotro.common;
|
||||
|
||||
public enum Phase {
|
||||
GAME_SETUP, FELLOWSHIP, SHADOW, MANEUVER, ARCHERY, ASSIGNMENT, SKIRMISH, REGROUP
|
||||
GAME_SETUP, FELLOWSHIP, SHADOW, MANEUVER, ARCHERY, ASSIGNMENT, SKIRMISH, REGROUP, BETWEEN_TURNS
|
||||
}
|
||||
|
||||
@@ -75,6 +75,11 @@ public class TurnProcedure {
|
||||
_effect = effect;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText() {
|
||||
return _effect.getText();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Effect nextEffect() {
|
||||
if (_effect.isCancelled())
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.gempukku.lotro.logic.timing.processes.turn;
|
||||
|
||||
import com.gempukku.lotro.common.Phase;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.effects.TriggeringEffect;
|
||||
import com.gempukku.lotro.logic.timing.actions.SimpleEffectAction;
|
||||
@@ -17,6 +18,7 @@ public class EndOfTurnGameProcess implements GameProcess {
|
||||
public void process() {
|
||||
_game.getActionsEnvironment().addActionToStack(new SimpleEffectAction(new TriggeringEffect(new EndOfTurnResult()), "End of turn"));
|
||||
_game.getGameState().stopAffectingCardsForCurrentPlayer();
|
||||
_game.getGameState().setCurrentPhase(Phase.BETWEEN_TURNS);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user