mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'master' into 'master'
Further tweak ChangeZoneAi See merge request core-developers/forge!4034
This commit is contained in:
@@ -1549,7 +1549,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
c = ComputerUtilCard.getBestAI(fetchList);
|
c = ComputerUtilCard.getBestAI(fetchList);
|
||||||
} else {
|
} else {
|
||||||
// exclude tokens, they won't come back, and enchanted stuff, since auras will go away
|
// exclude tokens, they won't come back, and enchanted stuff, since auras will go away
|
||||||
if (!sa.hasParam("Mandatory") && origin.contains(ZoneType.Battlefield)) {
|
if (!sa.hasParam("Mandatory") && origin.contains(ZoneType.Battlefield) && sa.hasParam("ChangeNum")) {
|
||||||
fetchList = CardLists.filter(fetchList, new Predicate<Card>() {
|
fetchList = CardLists.filter(fetchList, new Predicate<Card>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(final Card card) {
|
public boolean apply(final Card card) {
|
||||||
|
|||||||
Reference in New Issue
Block a user