diff --git a/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java b/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java index d15c24b81e1..dee3eb57339 100644 --- a/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java +++ b/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java @@ -1548,6 +1548,40 @@ public class ChangeZoneAi extends SpellAbilityAi { if (player.isOpponentOf(decider)) { c = ComputerUtilCard.getBestAI(fetchList); } 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, new Predicate() { + @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; + } else if (card.isEquipped()) { + return false; + } else if (card.isEnchanted()) { + for (Card enc : card.getEnchantedBy()) { + if (enc.getOwner().isOpponentOf(decider)) { + return true; + } + } + return false; + } else if (card.isAura()) { + return false; + } + return true; + } + }); + if (fetchList.isEmpty()) { + return null; + } + } + c = ComputerUtilCard.getWorstAI(fetchList); if (ComputerUtilAbility.getAbilitySourceName(sa).equals("Temur Sabertooth")) { Card tobounce = canBouncePermanent(player, sa, fetchList); diff --git a/forge-gui/release-files/ANNOUNCEMENTS.txt b/forge-gui/release-files/ANNOUNCEMENTS.txt index 20d2d7a66a9..48a127b8455 100644 --- a/forge-gui/release-files/ANNOUNCEMENTS.txt +++ b/forge-gui/release-files/ANNOUNCEMENTS.txt @@ -7,3 +7,4 @@ There are new Net Deck categories - the Standard, Modern, and Pioneer archives. Draft cubes have been updated to account for the newly supported cards, MTGO Vintage December 2020 cube was added. New Possibility Storm puzzles were added to the Puzzle Mode (IKO/M21/ZNR/KHM), including puzzles that utilize Mutate. Planar Conquest now has a new plane accessible - Eldraine. +Forge now supports promos which are available on Scryfall.