Files
forge/forge-gui/res/cardsfolder/e/erratic_explosion.txt
elcnesh 018fe1145c Cleanup: unify all card files' line endings to '\n' and make sure each file ends with a newline.
Nonfunctional change that allows the oracle script to update the oracle texts of cards in the future.
2014-06-16 17:15:06 +00:00

10 lines
1.2 KiB
Plaintext

Name:Erratic Explosion
ManaCost:2 R
Types:Sorcery
A:SP$ DigUntil | Cost$ 2 R | Valid$ Card.nonLand | ValidDescription$ nonland | FoundDestination$ Library | RevealedDestination$ Library | FoundLibraryPosition$ -1 | RevealedLibraryPosition$ -1 | RememberFound$ True | SubAbility$ Damage | SpellDescription$ Choose target creature or player. Reveal cards from the top of your library until you reveal a nonland card. Erratic Explosion deals damage equal to that card's converted mana cost to that creature or player. Put the revealed cards on the bottom of your library in any order.
SVar:Damage:DB$ DealDamage | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ X | SubAbility$ DBCleanup | References$ X
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$CardManaCost
SVar:Picture:http://resources.wizards.com/magic/cards/ons/en-us/card12484.jpg
Oracle:Choose target creature or player. Reveal cards from the top of your library until you reveal a nonland card. Erratic Explosion deals damage equal to that card's converted mana cost to that creature or player. Put the revealed cards on the bottom of your library in any order.