mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +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")) {
|
if (plane.hasSVar("AIHintRollDieMaxPerTurn")) {
|
||||||
maxActivations = Integer.parseInt(plane.getSVar("AIHintRollDieMaxPerTurn"));
|
maxActivations = Integer.parseInt(plane.getSVar("AIHintRollDieMaxPerTurn"));
|
||||||
}
|
}
|
||||||
if (sa.getActivationsThisTurn() >= maxActivations) {
|
if (ai.getGame().getPhaseHandler().getPlanarDiceRolledthisTurn() >= maxActivations) {
|
||||||
decideToRoll = false;
|
decideToRoll = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user