mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fix AI activating ChangeZoneAi when the list for ChangeType is empty.
This commit is contained in:
@@ -379,7 +379,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
list = CardLists.getValidCards(list, type, source.getController(), source, sa);
|
list = CardLists.getValidCards(list, type, source.getController(), source, sa);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!activateForCost && list.isEmpty()) {
|
if (!activateForCost || list.isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ("Atarka's Command".equals(sourceName)
|
if ("Atarka's Command".equals(sourceName)
|
||||||
|
|||||||
Reference in New Issue
Block a user