This commit is contained in:
Northmoc
2023-04-19 16:54:17 -04:00
parent d830586ce7
commit af88a1441f
2 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ public class RollPlanarDiceAi extends SpellAbilityAi {
decideToRoll = false; decideToRoll = false;
} }
if (ai.getGame().getPhaseHandler().getPlanarDiceRolledthisTurn() >= maxActivations) { if (ai.getGame().getPhaseHandler().getPlanarDiceSpecialActionThisTurn() >= maxActivations) {
decideToRoll = false; decideToRoll = false;
} }

View File

@@ -351,8 +351,8 @@ public class CardFactory {
card.addTrigger(planesWalkTrigger); card.addTrigger(planesWalkTrigger);
String specialA = "ST$ RollPlanarDice | Cost$ X | SorcerySpeed$ True | Activator$ Player | SpecialAction$ True" + String specialA = "ST$ RollPlanarDice | Cost$ X | SorcerySpeed$ True | Activator$ Player | SpecialAction$ True" +
"ActivationZone$ Command | SpellDescription$ Roll the planar dice. X is equal to the number of times " + " | ActivationZone$ Command | SpellDescription$ Roll the planar dice. X is equal to the number of " +
"you have previously taken this action this turn."; "times you have previously taken this action this turn.";
SpellAbility planarRoll = AbilityFactory.getAbility(specialA, card); SpellAbility planarRoll = AbilityFactory.getAbility(specialA, card);
planarRoll.setSVar("X", "Count$PlanarDiceSpecialActionThisTurn"); planarRoll.setSVar("X", "Count$PlanarDiceSpecialActionThisTurn");