From d4e979a2ca3620c4639e8df72342955091b86efd Mon Sep 17 00:00:00 2001 From: Sloth Date: Tue, 15 Nov 2011 21:56:59 +0000 Subject: [PATCH] - Removed the hardcoded entry of Ixidron and fixed the script. --- res/cardsfolder/i/ixidron.txt | 4 ++-- .../java/forge/card/cardfactory/CardFactoryCreatures.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/res/cardsfolder/i/ixidron.txt b/res/cardsfolder/i/ixidron.txt index e511f906d32..ea13690467f 100644 --- a/res/cardsfolder/i/ixidron.txt +++ b/res/cardsfolder/i/ixidron.txt @@ -3,8 +3,8 @@ ManaCost:3 U U Types:Creature Illusion Text:no text PT:*/* -T:Mode$ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTurnFaceDown | TriggerDescription$ As CARDNAME enters the battlefield, turn all other nontoken creatures face down. (They're 2/2 creatures.) -SVar:TrigTurnFaceDown:AB$SetStateAll | Cost$ 0 | ValidCards$ Creature.Other | NewState$ FaceDown +T:Mode$ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTurnFaceDown | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, turn all other nontoken creatures face down. (They're 2/2 creatures.) +SVar:TrigTurnFaceDown:AB$SetStateAll | Cost$ 0 | ValidCards$ Creature.nonToken+Other | NewState$ FaceDown S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of face-down creatures on the battlefield. SVar:X:Count$Valid Creature.faceDown SVar:Rarity:Rare diff --git a/src/main/java/forge/card/cardfactory/CardFactoryCreatures.java b/src/main/java/forge/card/cardfactory/CardFactoryCreatures.java index cd0b7bab957..49c91ecb539 100644 --- a/src/main/java/forge/card/cardfactory/CardFactoryCreatures.java +++ b/src/main/java/forge/card/cardfactory/CardFactoryCreatures.java @@ -2698,7 +2698,7 @@ public class CardFactoryCreatures { } // *************** END ************ END ************************** // *************** START *********** START ************************** - else if (cardName.equals("Ixidron")) { + /*else if (cardName.equals("Ixidron")) { final Trigger tfdTrigger = forge.card.trigger.TriggerHandler .parseTrigger( "Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, turn all other nontoken creatures face down. (They're 2/2 creatures.)", @@ -2725,7 +2725,7 @@ public class CardFactoryCreatures { tfdTrigger.setOverridingAbility(triggeredAbility); card.addTrigger(tfdTrigger); - } // *************** END ************ END ************************** + }*/ // *************** END ************ END ************************** // *************************************************** // end of card specific code