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;
|
||||
}
|
||||
|
||||
if (ai.getGame().getPhaseHandler().getPlanarDiceRolledthisTurn() >= maxActivations) {
|
||||
if (ai.getGame().getPhaseHandler().getPlanarDiceSpecialActionThisTurn() >= maxActivations) {
|
||||
decideToRoll = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -351,8 +351,8 @@ public class CardFactory {
|
||||
card.addTrigger(planesWalkTrigger);
|
||||
|
||||
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 " +
|
||||
"you have previously taken this action this turn.";
|
||||
" | ActivationZone$ Command | SpellDescription$ Roll the planar dice. X is equal to the number of " +
|
||||
"times you have previously taken this action this turn.";
|
||||
|
||||
SpellAbility planarRoll = AbilityFactory.getAbility(specialA, card);
|
||||
planarRoll.setSVar("X", "Count$PlanarDiceSpecialActionThisTurn");
|
||||
|
||||
Reference in New Issue
Block a user