mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- A little tweak to the ChangeZoneAi exile any number logic
This commit is contained in:
@@ -1550,13 +1550,15 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
||||
} else {
|
||||
// exclude tokens, they won't come back, and enchanted stuff, since auras will go away
|
||||
if (!sa.hasParam("Mandatory") && origin.contains(ZoneType.Battlefield)) {
|
||||
fetchList = CardLists.filter(fetchList, Presets.NON_TOKEN);
|
||||
fetchList = CardLists.filter(fetchList, new Predicate<Card>() {
|
||||
@Override
|
||||
public boolean apply(final Card card) {
|
||||
if (card.getOwner().isOpponentOf(decider)) {
|
||||
return true;
|
||||
}
|
||||
if (card.isToken()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (card.isCreature() && ComputerUtilCard.isUselessCreature(decider, card)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user