mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Fixed Ground Seal not working for the AI's ChangeZone abilities.
This commit is contained in:
@@ -702,6 +702,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
||||
|
||||
tgt.resetTargets();
|
||||
List<Card> list = CardLists.getValidCards(ai.getGame().getCardsIn(origin), tgt.getValidTgts(), ai, source);
|
||||
list = CardLists.getTargetableCards(list, sa);
|
||||
if (sa.hasParam("AITgts")) {
|
||||
list = CardLists.getValidCards(list, sa.getParam("AITgts"), sa.getActivatingPlayer(), source);
|
||||
}
|
||||
@@ -716,7 +717,6 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
||||
// Narrow down the list:
|
||||
if (origin.equals(ZoneType.Battlefield)) {
|
||||
// filter out untargetables
|
||||
list = CardLists.getTargetableCards(list, sa);
|
||||
List<Card> aiPermanents = CardLists.filterControlledBy(list, ai);
|
||||
|
||||
// Don't blink cards that will die.
|
||||
|
||||
Reference in New Issue
Block a user