mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Timing fix
This commit is contained in:
@@ -431,6 +431,7 @@ public class PhaseHandler implements java.io.Serializable {
|
||||
}
|
||||
|
||||
nUpkeepsThisTurn = 0;
|
||||
nCombatsThisTurn = 0;
|
||||
nMain2sThisTurn = 0;
|
||||
game.getStack().resetMaxDistinctSources();
|
||||
|
||||
@@ -479,10 +480,6 @@ public class PhaseHandler implements java.io.Serializable {
|
||||
}
|
||||
|
||||
switch (phase) {
|
||||
case UNTAP:
|
||||
nCombatsThisTurn = 0;
|
||||
break;
|
||||
|
||||
case UPKEEP:
|
||||
for (Card c : game.getCardsIncludePhasingIn(ZoneType.Battlefield)) {
|
||||
c.getDamageHistory().setNotAttackedSinceLastUpkeepOf(playerTurn);
|
||||
|
||||
@@ -330,7 +330,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
|
||||
}
|
||||
|
||||
if (this.getFirstCombatOnly()) {
|
||||
if (game.getPhaseHandler().getNumCombat() > 1) {
|
||||
if (game.getPhaseHandler().getNumCombat() > (game.getPhaseHandler().inCombat() ? 1 : 0)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user