mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed a check in isPreferredTarget AI function.
This commit is contained in:
@@ -944,7 +944,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Only care about combatants during combat
|
// Only care about combatants during combat
|
||||||
if (game.getPhaseHandler().inCombat()) {
|
if (game.getPhaseHandler().inCombat() && origin.equals(ZoneType.Battlefield)) {
|
||||||
list = CardLists.getValidCards(list, "Card.attacking,Card.blocking", null, null);
|
list = CardLists.getValidCards(list, "Card.attacking,Card.blocking", null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user