mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
ZoneExchangeAi: AI should also not activate it if it does not own the first card
This commit is contained in:
@@ -34,7 +34,7 @@ public class ZoneExchangeAi extends SpellAbilityAi {
|
||||
list = CardLists.getValidCards(list, type, ai, source);
|
||||
}
|
||||
object2 = ComputerUtilCard.getBestAI(list);
|
||||
if (object1 == null || object2 == null || !object1.isInZone(zone1)) {
|
||||
if (object1 == null || object2 == null || !object1.isInZone(zone1) || !object1.getOwner().equals(ai)) {
|
||||
return false;
|
||||
}
|
||||
if (type.equals("Aura")) {
|
||||
|
||||
Reference in New Issue
Block a user