mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
fixes
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user