mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Update CopyPermanentEffect.java
This commit is contained in:
@@ -107,6 +107,8 @@ public class CopyPermanentEffect extends TokenEffectBase {
|
|||||||
Card possibleCard = Card.fromPaperCard(cp, activator); // Need to temporarily set the Owner so the Game is set
|
Card possibleCard = Card.fromPaperCard(cp, activator); // Need to temporarily set the Owner so the Game is set
|
||||||
|
|
||||||
if (possibleCard.isValid(valid, host.getController(), host, sa)) {
|
if (possibleCard.isValid(valid, host.getController(), host, sa)) {
|
||||||
|
if (host.getController().isAI() && possibleCard.getRules() != null && possibleCard.getRules().getAiHints().getRemAIDecks())
|
||||||
|
continue;
|
||||||
choice.add(possibleCard);
|
choice.add(possibleCard);
|
||||||
ncopied -= 1;
|
ncopied -= 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user