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")) {
|
if (this.mapParams.containsKey("FirstUpkeep")) {
|
||||||
System.out.println("Upkeep condition: " + phaseHandler.isFirstUpkeep());
|
|
||||||
if (!phaseHandler.isFirstUpkeep()) {
|
if (!phaseHandler.isFirstUpkeep()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -253,8 +253,6 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case UPKEEP:
|
case UPKEEP:
|
||||||
this.nUpkeepsThisTurn++;
|
|
||||||
System.out.println("Current upkeep: " + nUpkeepsThisTurn);
|
|
||||||
if (this.getPlayerTurn().hasKeyword("Skip your upkeep step.")) {
|
if (this.getPlayerTurn().hasKeyword("Skip your upkeep step.")) {
|
||||||
// Slowtrips all say "on the next turn's upkeep" if there is no
|
// Slowtrips all say "on the next turn's upkeep" if there is no
|
||||||
// upkeep next turn, the trigger will never occur.
|
// upkeep next turn, the trigger will never occur.
|
||||||
@@ -263,6 +261,7 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
|
|||||||
}
|
}
|
||||||
this.setPlayersPriorityPermission(false);
|
this.setPlayersPriorityPermission(false);
|
||||||
} else {
|
} else {
|
||||||
|
this.nUpkeepsThisTurn++;
|
||||||
game.getUpkeep().executeUntil(this.getPlayerTurn());
|
game.getUpkeep().executeUntil(this.getPlayerTurn());
|
||||||
game.getUpkeep().executeAt();
|
game.getUpkeep().executeAt();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user