mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Converted Erratic Explosion to script.
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
Name:Erratic Explosion
|
||||
ManaCost:2 R
|
||||
Types:Sorcery
|
||||
Text:Choose target creature or player. The computer will randomly choose a nonland card from your library. Erratic Explosion deals damage equal to that card's converted mana cost to that creature or player.
|
||||
Text:no text
|
||||
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
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:X:Remembered$CardManaCost
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://resources.wizards.com/magic/cards/ons/en-us/card12484.jpg
|
||||
SetInfo:ONS|Common|http://magiccards.info/scans/en/on/201.jpg
|
||||
|
||||
@@ -799,7 +799,7 @@ public class CardFactorySorceries {
|
||||
|
||||
spell.setBeforePayMana(target);
|
||||
} // *************** END ************ END ***************************
|
||||
*/
|
||||
|
||||
// *************** START *********** START **************************
|
||||
else if (cardName.equals("Erratic Explosion")) {
|
||||
final Cost cost = new Cost(card.getManaCost(), cardName, false);
|
||||
@@ -892,7 +892,7 @@ public class CardFactorySorceries {
|
||||
|
||||
card.setSVar("PlayMain1", "TRUE");
|
||||
} // *************** END ************ END **************************
|
||||
|
||||
*/
|
||||
// *************** START *********** START **************************
|
||||
else if (cardName.equals("Martial Coup")) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user