Fixed primitives, fixed a problem on "flip" ability for some backside cards (e.g. "Edgar Markov's Coffin"), added new keywords "pnumcreswp" and "onumcreswp" to calculate the number of creatures that have toughness greater than their power.

This commit is contained in:
Vittorio Alfieri
2021-11-07 22:13:39 +01:00
parent f371295f24
commit 8012672a70
5 changed files with 26 additions and 13 deletions

View File

@@ -334,8 +334,7 @@ type=Instant
[card]
name=Adamant Will
target=creature
auto=+2/+2
auto=indestructible
auto=transforms((,newability[2/2],newability[indestructible])) ueot
text=Target creature gets +2/+2 and gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
mana={1}{W}
type=Instant
@@ -14285,8 +14284,8 @@ type=Sorcery
[/card]
[card]
name=Crushing Canopy
auto=choice name(flying) destroy target(creature[flying])
auto=choice name(enchantment) destroy target(enchantment)
auto=if type(creature[flying]|battlefield)~morethan~0 then choice name(Destroy creature with flying) name(Destroy creature with flying) destroy target(creature[flying]|battlefield)
auto=if type(enchantment|battlefield)~morethan~0 then choice name(Destroy enchantment) name(Destroy enchantment) destroy target(enchantment)
text=Choose one -- Destroy target creature with flying. -- Destroy target enchantment.
mana={2}{G}
type=Instant
@@ -17252,9 +17251,7 @@ toughness=1
[/card]
[card]
name=Diabolic Servitude
auto=moveTo(myBattlefield) target(creature|mygraveyard)
auto=soulbond _DIES_moveto(exile) && all(this) transforms((,newability[moveTo(ownerhand)]))
auto=soulbond _DIES_moveto(exile)
auto={B}{B}{L:2}{S(swamp|mybattlefield)}:name(Return creature) moveTo(myBattlefield) target(creature|mygraveyard)
text={B}{B}, Pay 2 life, Sacrifice a Swamp: Return target creature card from your graveyard to the battlefield.
mana={3}{B}
type=Enchantment
@@ -19336,7 +19333,7 @@ toughness=3
[card]
name=Dryad of the Ilysian Grove
auto=maxPlay(land)+1
auto=lord(land|myBattlefield) transforms((plains forest mountain swamp island))
auto=lord(land|myBattlefield) transforms((basic plains forest mountain swamp island))
text=You may play an additional land on each of your turns. -- Lands you control are every basic land type in addition to their other types.
mana={2}{G}
type=Enchantment Creature