make sure compy doesn't counter own spells with Deathgrip/Lifeforce.

This commit is contained in:
jendave
2011-08-06 09:57:56 +00:00
parent f96825b192
commit 32b079bc43

View File

@@ -11868,7 +11868,8 @@ public class CardFactory implements NewConstants {
@Override
public boolean canPlayAI() {
System.out.println("AI is pondering using "+cardName);
return canPlay();
SpellAbility sa = AllZone.Stack.peek();
return canPlay() && sa.getSourceCard().getController().equals(AllZone.HumanPlayer);
}
@Override
@@ -11904,7 +11905,8 @@ public class CardFactory implements NewConstants {
@Override
public boolean canPlayAI() {
System.out.println("AI is pondering using "+cardName);
return canPlay();
SpellAbility sa = AllZone.Stack.peek();
return canPlay() && sa.getSourceCard().getController().equals(AllZone.HumanPlayer);
}
@Override