Support for Overgrown Zealot (#6085)

This commit is contained in:
tool4ever
2024-09-06 18:40:01 +02:00
committed by GitHub
parent 1049f9c885
commit 45c70b08fd
3 changed files with 3 additions and 9 deletions

View File

@@ -231,6 +231,8 @@ public class ForgeScript {
return sa.isMorphUp(); return sa.isMorphUp();
} else if (property.equals("ManifestUp")) { } else if (property.equals("ManifestUp")) {
return sa.isManifestUp(); return sa.isManifestUp();
} else if (property.equals("isTurnFaceUp")) {
return sa.isTurnFaceUp();
} else if (property.equals("isCastFaceDown")) { } else if (property.equals("isCastFaceDown")) {
return sa.isCastFaceDown(); return sa.isCastFaceDown();
} else if (property.equals("Modular")) { } else if (property.equals("Modular")) {

View File

@@ -409,14 +409,6 @@ public class AbilityManaPart implements java.io.Serializable {
continue; continue;
} }
if (restriction.equals("FaceDownOrTurnFaceUp")) {
if ((sa.isSpell() && sa.getHostCard().isCreature() && sa.isCastFaceDown())
|| sa.isTurnFaceUp()) {
return true;
}
continue;
}
if (restriction.equals("MorphOrManifest")) { if (restriction.equals("MorphOrManifest")) {
if ((sa.isSpell() && sa.getHostCard().isCreature() && sa.isCastFaceDown()) if ((sa.isSpell() && sa.getHostCard().isCreature() && sa.isCastFaceDown())
|| sa.isManifestUp() || sa.isMorphUp()) { || sa.isManifestUp() || sa.isMorphUp()) {

View File

@@ -3,7 +3,7 @@ ManaCost:2 R G
Types:Creature Lizard Advisor Types:Creature Lizard Advisor
PT:4/4 PT:4/4
K:Vigilance K:Vigilance
A:AB$ Mana | Cost$ T | Produced$ R G | RestrictValid$ FaceDownOrTurnFaceUp | SpellDescription$ Add {R}{G}. Spend this mana only to cast face-down spells or to turn creatures face up. A:AB$ Mana | Cost$ T | Produced$ R G | RestrictValid$ Spell.isCastFaceDown,Static.isTurnFaceUp | SpellDescription$ Add {R}{G}. Spend this mana only to cast face-down spells or to turn creatures face up.
AI:RemoveDeck:Random AI:RemoveDeck:Random
DeckHints:Keyword$Morph|Megamorph DeckHints:Keyword$Morph|Megamorph
Oracle:Vigilance\n{T}: Add {R}{G}. Spend this mana only to cast face-down spells or to turn creatures face up. Oracle:Vigilance\n{T}: Add {R}{G}. Spend this mana only to cast face-down spells or to turn creatures face up.