mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fixed CopySpellAbilityAi (e.g. Replicate).
- TODO: figure out why the AI won't announce the Replicate amount correctly (always says Replicate=0).
This commit is contained in:
@@ -18,7 +18,7 @@ public class CopySpellAbilityAi extends SpellAbilityAi {
|
||||
@Override
|
||||
protected boolean doTriggerAINoCost(Player aiPlayer, SpellAbility sa, boolean mandatory) {
|
||||
// the AI should not miss mandatory activations (e.g. Precursor Golem trigger)
|
||||
return sa.isMandatory() || "Always".equals(sa.getParam("AILogic"));
|
||||
return mandatory || "Always".equals(sa.getParam("AILogic"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user