mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Converted Maelstrom Pulse to script.
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
Name:Maelstrom Pulse
|
Name:Maelstrom Pulse
|
||||||
ManaCost:1 B G
|
ManaCost:1 B G
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:Destroy target nonland permanent and all other permanents with the same name as that permanent.
|
Text:no text
|
||||||
|
A:SP$ Destroy | Cost$ 1 B G | ValidTgts$ Permanent.nonland | TgtPrompt$ Select target nonland permanent | RememberTargets$ True | SubAbility$ DestroyAll | SpellDescription$ Destroy target nonland permanent and all other permanents with the same name as that permanent.
|
||||||
|
SVar:DestroyAll:DB$ DestroyAll | ValidCards$ Remembered.sameName | SubAbility$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/maelstrom_pulse.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/maelstrom_pulse.jpg
|
||||||
SetInfo:ARB|Rare|http://magiccards.info/scans/en/arb/92.jpg
|
SetInfo:ARB|Rare|http://magiccards.info/scans/en/arb/92.jpg
|
||||||
|
|||||||
@@ -702,7 +702,7 @@ public class CardFactorySorceries {
|
|||||||
|
|
||||||
card.addSpellAbility(spell);
|
card.addSpellAbility(spell);
|
||||||
} // *************** END ************ END **************************
|
} // *************** END ************ END **************************
|
||||||
*/
|
|
||||||
// *************** START *********** START **************************
|
// *************** START *********** START **************************
|
||||||
else if (cardName.equals("Maelstrom Pulse")) {
|
else if (cardName.equals("Maelstrom Pulse")) {
|
||||||
final SpellAbility spell = new Spell(card) {
|
final SpellAbility spell = new Spell(card) {
|
||||||
@@ -799,7 +799,7 @@ public class CardFactorySorceries {
|
|||||||
|
|
||||||
spell.setBeforePayMana(target);
|
spell.setBeforePayMana(target);
|
||||||
} // *************** END ************ END ***************************
|
} // *************** END ************ END ***************************
|
||||||
|
*/
|
||||||
// *************** START *********** START **************************
|
// *************** START *********** START **************************
|
||||||
else if (cardName.equals("Erratic Explosion")) {
|
else if (cardName.equals("Erratic Explosion")) {
|
||||||
final Cost cost = new Cost(card.getManaCost(), cardName, false);
|
final Cost cost = new Cost(card.getManaCost(), cardName, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user