mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Max AI planar die rolls now correctly check for the number of planar die rolls instead of spell ability activations.
This commit is contained in:
@@ -47,7 +47,7 @@ public class RollPlanarDiceAi extends SpellAbilityAi {
|
||||
if (plane.hasSVar("AIHintRollDieMaxPerTurn")) {
|
||||
maxActivations = Integer.parseInt(plane.getSVar("AIHintRollDieMaxPerTurn"));
|
||||
}
|
||||
if (sa.getActivationsThisTurn() >= maxActivations) {
|
||||
if (ai.getGame().getPhaseHandler().getPlanarDiceRolledthisTurn() >= maxActivations) {
|
||||
decideToRoll = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user