mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed AI using Glowing Anemone.
This commit is contained in:
@@ -793,20 +793,22 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// When bouncing opponents stuff, don't bounce cards with CMC 0
|
if (!CardLists.getNotType(list, "Land").isEmpty()) {
|
||||||
list = CardLists.filter(list, new Predicate<Card>() {
|
// When bouncing opponents stuff other than lands, don't bounce cards with CMC 0
|
||||||
@Override
|
list = CardLists.filter(list, new Predicate<Card>() {
|
||||||
public boolean apply(final Card c) {
|
@Override
|
||||||
for (Card aura : c.getEnchantedBy()) {
|
public boolean apply(final Card c) {
|
||||||
if (aura.getController().isOpponentOf(ai)) {
|
for (Card aura : c.getEnchantedBy()) {
|
||||||
return true;
|
if (aura.getController().isOpponentOf(ai)) {
|
||||||
} else {
|
return true;
|
||||||
return false;
|
} else {
|
||||||
}
|
return false;
|
||||||
}
|
}
|
||||||
return c.isToken() || c.getCMC() > 0;
|
}
|
||||||
}
|
return c.isToken() || c.getCMC() > 0;
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
// TODO: Blink permanents with ETB triggers
|
// TODO: Blink permanents with ETB triggers
|
||||||
/*else if (!sa.isTrigger() && SpellAbilityAi.playReusable(ai, sa)) {
|
/*else if (!sa.isTrigger() && SpellAbilityAi.playReusable(ai, sa)) {
|
||||||
aiPermanents = CardLists.filter(aiPermanents, new Predicate<Card>() {
|
aiPermanents = CardLists.filter(aiPermanents, new Predicate<Card>() {
|
||||||
|
|||||||
@@ -3,5 +3,6 @@ ManaCost:4
|
|||||||
Types:Artifact Equipment
|
Types:Artifact Equipment
|
||||||
K:Equip Sac<1/Creature>
|
K:Equip Sac<1/Creature>
|
||||||
S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ 4 | AddToughness$ 2 | Description$ Equipped creature gets +4/+2.
|
S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ 4 | AddToughness$ 2 | Description$ Equipped creature gets +4/+2.
|
||||||
|
SVar:RemAIDeck:True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/demonmail_hauberk.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/demonmail_hauberk.jpg
|
||||||
Oracle:Equipped creature gets +4/+2.\nEquip-Sacrifice a creature.
|
Oracle:Equipped creature gets +4/+2.\nEquip-Sacrifice a creature.
|
||||||
|
|||||||
Reference in New Issue
Block a user