mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Removed some comments
This commit is contained in:
@@ -185,7 +185,6 @@ public abstract class Trigger extends TriggerReplacementBase {
|
||||
}
|
||||
|
||||
if (this.mapParams.containsKey("FirstUpkeep")) {
|
||||
System.out.println("Upkeep condition: " + phaseHandler.isFirstUpkeep());
|
||||
if (!phaseHandler.isFirstUpkeep()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -253,8 +253,6 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
|
||||
break;
|
||||
|
||||
case UPKEEP:
|
||||
this.nUpkeepsThisTurn++;
|
||||
System.out.println("Current upkeep: " + nUpkeepsThisTurn);
|
||||
if (this.getPlayerTurn().hasKeyword("Skip your upkeep step.")) {
|
||||
// Slowtrips all say "on the next turn's upkeep" if there is no
|
||||
// upkeep next turn, the trigger will never occur.
|
||||
@@ -263,6 +261,7 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
|
||||
}
|
||||
this.setPlayersPriorityPermission(false);
|
||||
} else {
|
||||
this.nUpkeepsThisTurn++;
|
||||
game.getUpkeep().executeUntil(this.getPlayerTurn());
|
||||
game.getUpkeep().executeAt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user