From ec0ca3834e36e77403ccdaaa654c2cc9e8f7e55f Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 22:45:13 +0000 Subject: [PATCH] - Converted Multani's Decree and Righteous Fury to AF - Commented out spDestroyAll --- res/cardsfolder/multanis_decree.txt | 5 +++-- res/cardsfolder/righteous_fury.txt | 6 ++++-- src/forge/card/cardFactory/CardFactory.java | 8 ++------ 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/res/cardsfolder/multanis_decree.txt b/res/cardsfolder/multanis_decree.txt index afb8c706e79..3b924ae165d 100644 --- a/res/cardsfolder/multanis_decree.txt +++ b/res/cardsfolder/multanis_decree.txt @@ -1,8 +1,9 @@ Name:Multani's Decree ManaCost:3 G Types:Sorcery -Text:Destroy all enchantments. You gain 2 life for each enchantment destroyed this way. -K:spDestroyAll:Enchantment:Drawback$GainLifeYou/X.Times.2 +A:SP$DestroyAll | Cost$ 3 G | ValidCards$ Enchantment | RememberDestroyed$ True | SubAbility$ SVar=DBGainLife | SpellDescription$ Destroy all enchantments. You gain 2 life for each enchantment destroyed this way. +SVar:DBGainLife:DB$GainLife | LifeAmount$ X +SVar:X:Remembered$Amount.Twice SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/multanis_decree.jpg SetInfo:UDS|Common|http://magiccards.info/scans/en/ud/114.jpg diff --git a/res/cardsfolder/righteous_fury.txt b/res/cardsfolder/righteous_fury.txt index 80e58897bbf..47aceeb7f27 100644 --- a/res/cardsfolder/righteous_fury.txt +++ b/res/cardsfolder/righteous_fury.txt @@ -1,8 +1,10 @@ Name:Righteous Fury ManaCost:4 W W Types:Sorcery -Text:Destroy all tapped creatures. You gain 2 life for each creature destroyed this way. -K:spDestroyAll:Creature.tapped:Drawback$GainLifeYou/X.Times.2 +Text:no text +A:SP$DestroyAll | Cost$ 4 W W | ValidCards$ Creature.tapped | RememberDestroyed$ True | SubAbility$ SVar=DBGainLife | SpellDescription$ Destroy all tapped creatures. You gain 2 life for each creature destroyed this way. +SVar:DBGainLife:DB$GainLife | LifeAmount$ X +SVar:X:Remembered$Amount.Twice SVar:PlayMain1:TRUE SVar:Rarity:Rare SVar:Picture:http://serv1.tcgimages.eu/img/cards/Portal_Second_Age/righteous_fury.jpg diff --git a/src/forge/card/cardFactory/CardFactory.java b/src/forge/card/cardFactory/CardFactory.java index b43472a35d8..f025bb515bb 100644 --- a/src/forge/card/cardFactory/CardFactory.java +++ b/src/forge/card/cardFactory/CardFactory.java @@ -557,11 +557,7 @@ public class CardFactory implements NewConstants { /* - * We have three cards which can not be converted to AF_SP$DestroyAll at this time: - * Fracturing Gust - * Multani's Decree - * Righteous Fury - */ + // Generic destroy all card if(hasKeyword(card, "spDestroyAll") != -1) { int n = hasKeyword(card, "spDestroyAll"); @@ -691,7 +687,7 @@ public class CardFactory implements NewConstants { card.addSpellAbility(spDstryAll); }//spDestroyAll - +*/ if(hasKeyword(card, "SearchRebel") != -1) {