Fixed primitives, added a new keyword "eval()" in ManaCost parser to allow the usage of a variable in the manacost (e.g. "{eval(evictmc)}" in primitive "Prototype Portal").

This commit is contained in:
Vittorio Alfieri
2021-11-21 13:38:09 +01:00
parent 6ca5291790
commit d11facd7d4
4 changed files with 32 additions and 89 deletions
+4 -2
View File
@@ -84461,7 +84461,9 @@ type=Enchantment
[card]
name=Paralyze
target=creature
auto=teach(creature) transforms((,newability[tap],newability[{4}:untap myUpkeepOnly],doesnotuntap))
auto=doesnotuntap
auto=tap
auto=teach(creature) transforms((,newability[{4}:untap myUpkeepOnly]))
text=Enchant creature -- When Paralyze enters the battlefield, tap enchanted creature. -- Enchanted creature doesn't untap during its controller's untap step. -- At the beginning of the upkeep of enchanted creature's controller, that player may pay {4}. If he or she does, untap the creature.
mana={B}
type=Enchantment
@@ -118950,7 +118952,7 @@ type=Sorcery
[/card]
[card]
name=Tempting Wurm
auto=ability$!name(put onto battlefield) target(<anyamount>*[-planeswalker]|myhand) moveTo(mybattlefield)!$ opponent
auto=ability$!may name(Put onto battlefield) name(Put onto battlefield) target(<anyamount>*[artifact;creature;enchantment;land]|myhand) moveto(mybattlefield)!$ opponent
text=When Tempting Wurm enters the battlefield, each opponent may put any number of artifact, creature, enchantment, and/or land cards from his or her hand onto the battlefield.
mana={1}{G}
type=Creature