- AI should not ignore AF CopySpellAbility if it's a mandatory (e.g. triggered) activation. Fixes Precursor Golem and possibly other similar cards when they are controlled by the AI.

This commit is contained in:
Agetian
2017-01-21 10:14:04 +00:00
parent 2f3d1026bc
commit a714af3a9c

View File

@@ -11,12 +11,12 @@ public class CopySpellAbilityAi extends SpellAbilityAi {
@Override
protected boolean canPlayAI(Player aiPlayer, SpellAbility sa) {
return false;
return sa.isMandatory(); // the AI should not miss mandatory activations (e.g. Precursor Golem trigger)
}
@Override
protected boolean doTriggerAINoCost(Player aiPlayer, SpellAbility sa, boolean mandatory) {
return false;
return sa.isMandatory(); // the AI should not miss mandatory activations (e.g. Precursor Golem trigger)
}
@Override