- Fixed playSpellAbilityForFree not being mandatory for the AI.

This commit is contained in:
Sloth
2014-02-16 20:25:09 +00:00
parent 1982f73e3d
commit 7bccaa769a

View File

@@ -271,9 +271,7 @@ public class PlayerControllerAi extends PlayerController {
if (mayChooseNewTargets) {
if (copySA instanceof Spell) {
Spell spell = (Spell) copySA;
if (AiPlayDecision.WillPlay != ((PlayerControllerAi)player.getController()).getAi().canPlayFromEffectAI(spell, true, true)) {
return; // is this legal at all?
}
((PlayerControllerAi) player.getController()).getAi().canPlayFromEffectAI(spell, true, true);
}
else {
getAi().canPlaySa(copySA);