mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
make sure compy doesn't counter own spells with Deathgrip/Lifeforce.
This commit is contained in:
@@ -11868,7 +11868,8 @@ public class CardFactory implements NewConstants {
|
|||||||
@Override
|
@Override
|
||||||
public boolean canPlayAI() {
|
public boolean canPlayAI() {
|
||||||
System.out.println("AI is pondering using "+cardName);
|
System.out.println("AI is pondering using "+cardName);
|
||||||
return canPlay();
|
SpellAbility sa = AllZone.Stack.peek();
|
||||||
|
return canPlay() && sa.getSourceCard().getController().equals(AllZone.HumanPlayer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -11904,7 +11905,8 @@ public class CardFactory implements NewConstants {
|
|||||||
@Override
|
@Override
|
||||||
public boolean canPlayAI() {
|
public boolean canPlayAI() {
|
||||||
System.out.println("AI is pondering using "+cardName);
|
System.out.println("AI is pondering using "+cardName);
|
||||||
return canPlay();
|
SpellAbility sa = AllZone.Stack.peek();
|
||||||
|
return canPlay() && sa.getSourceCard().getController().equals(AllZone.HumanPlayer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user