Timing fix

This commit is contained in:
tool4EvEr
2022-05-19 12:39:46 +02:00
parent 969f8d2b17
commit f1a38d35bf
2 changed files with 2 additions and 5 deletions

View File

@@ -431,6 +431,7 @@ public class PhaseHandler implements java.io.Serializable {
} }
nUpkeepsThisTurn = 0; nUpkeepsThisTurn = 0;
nCombatsThisTurn = 0;
nMain2sThisTurn = 0; nMain2sThisTurn = 0;
game.getStack().resetMaxDistinctSources(); game.getStack().resetMaxDistinctSources();
@@ -479,10 +480,6 @@ public class PhaseHandler implements java.io.Serializable {
} }
switch (phase) { switch (phase) {
case UNTAP:
nCombatsThisTurn = 0;
break;
case UPKEEP: case UPKEEP:
for (Card c : game.getCardsIncludePhasingIn(ZoneType.Battlefield)) { for (Card c : game.getCardsIncludePhasingIn(ZoneType.Battlefield)) {
c.getDamageHistory().setNotAttackedSinceLastUpkeepOf(playerTurn); c.getDamageHistory().setNotAttackedSinceLastUpkeepOf(playerTurn);

View File

@@ -330,7 +330,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
} }
if (this.getFirstCombatOnly()) { if (this.getFirstCombatOnly()) {
if (game.getPhaseHandler().getNumCombat() > 1) { if (game.getPhaseHandler().getNumCombat() > (game.getPhaseHandler().inCombat() ? 1 : 0)) {
return false; return false;
} }
} }