mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
ChangeZoneAi
This commit is contained in:
@@ -740,7 +740,8 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
// predict Legendary cards already present
|
// predict Legendary cards already present
|
||||||
boolean nothingWillReturn = true;
|
boolean nothingWillReturn = true;
|
||||||
for (final Card c : retrieval) {
|
for (final Card c : retrieval) {
|
||||||
if (!(!c.ignoreLegendRule() && ai.isCardInPlay(c.getName()))) {
|
final boolean isCraftSa = sa.isCraft() && sa.getHostCard().equals(c);
|
||||||
|
if (isCraftSa || (!(!c.ignoreLegendRule() && ai.isCardInPlay(c.getName())))) {
|
||||||
nothingWillReturn = false;
|
nothingWillReturn = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user