From 7b12677b23288c1fe90f971b928f1b13bdeef12a Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 16:11:12 +0000 Subject: [PATCH] - Converted Lorescale Coatl to Trigger. - Added Apocalypse and Jace's Erasure. --- .gitattributes | 2 ++ res/cardsfolder/apocalypse.txt | 10 ++++++++++ res/cardsfolder/jaces_erasure.txt | 9 +++++++++ res/cardsfolder/lorescale_coatl.txt | 4 +++- src/forge/GameActionUtil.java | 7 ++++--- 5 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 res/cardsfolder/apocalypse.txt create mode 100644 res/cardsfolder/jaces_erasure.txt diff --git a/.gitattributes b/.gitattributes index 6f165c90039..143f3f88d7d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -223,6 +223,7 @@ res/cardsfolder/apex_hawks.txt -text svneol=native#text/plain res/cardsfolder/aphetto_alchemist.txt -text svneol=native#text/plain res/cardsfolder/aphetto_grifter.txt -text svneol=native#text/plain res/cardsfolder/aphetto_runecaster.txt -text svneol=native#text/plain +res/cardsfolder/apocalypse.txt -text svneol=native#text/plain res/cardsfolder/apocalypse_hydra.txt -text svneol=native#text/plain res/cardsfolder/apothecary_initiate.txt -text svneol=native#text/plain res/cardsfolder/apprentice_sorcerer.txt -text svneol=native#text/plain @@ -2741,6 +2742,7 @@ res/cardsfolder/izzet_signet.txt -text svneol=native#text/plain res/cardsfolder/jabaris_banner.txt -text svneol=native#text/plain res/cardsfolder/jace_beleren.txt -text svneol=native#text/plain res/cardsfolder/jace_the_mind_sculptor.txt -text svneol=native#text/plain +res/cardsfolder/jaces_erasure.txt -text svneol=native#text/plain res/cardsfolder/jaces_ingenuity.txt -text svneol=native#text/plain res/cardsfolder/jackal_pup.txt -text svneol=native#text/plain res/cardsfolder/jackalope_herd.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/apocalypse.txt b/res/cardsfolder/apocalypse.txt new file mode 100644 index 00000000000..a0b25b44d22 --- /dev/null +++ b/res/cardsfolder/apocalypse.txt @@ -0,0 +1,10 @@ +Name:Apocalypse +ManaCost:2 R R R +Types:Sorcery +Text:no text +A:SP$ChangeZoneAll | Cost$ 2 R R R | ChangeType$ Permanent | Origin$ Battlefield | Destination$ Exile | SubAbility$SVar=DBDiscard | SpellDescription$ Exile all permanents. You discard your hand. +SVar:DBDiscard:DB$Discard | Mode$ Hand +SVar:RemAIDeck:True +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/apocalypse.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/jaces_erasure.txt b/res/cardsfolder/jaces_erasure.txt new file mode 100644 index 00000000000..9910e67c5e2 --- /dev/null +++ b/res/cardsfolder/jaces_erasure.txt @@ -0,0 +1,9 @@ +Name:Jace's Erasure +ManaCost:1 U +Types:Enchantment +Text:no text +T:Mode$ Drawn | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever you draw a card, you may have target player put the top card of his or her library into his or her graveyard. +SVar:TrigMill:AB$Mill | Cost$ 0 | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player to mill +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/jaces_erasure.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/lorescale_coatl.txt b/res/cardsfolder/lorescale_coatl.txt index 83efe2a1031..9af05891991 100644 --- a/res/cardsfolder/lorescale_coatl.txt +++ b/res/cardsfolder/lorescale_coatl.txt @@ -1,8 +1,10 @@ Name:Lorescale Coatl ManaCost:1 G U Types:Creature Snake -Text:Whenever you draw a card, you may put a +1/+1 counter on Lorescale Coatl. +Text:no text PT:2/2 +T:Mode$ Drawn | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you draw a card, you may put a +1/+1 counter on Lorescale Coatl. +SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/lorescale_coatl.jpg SetInfo:ARB|Uncommon|http://magiccards.info/scans/en/arb/101.jpg diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 0efd2ef8a90..5416512aeda 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -2939,7 +2939,7 @@ public class GameActionUtil { DrawCard_Whenever_Parameters[0] = player; AllZone.GameAction.checkWheneverKeyword(AllZone.CardFactory.HumanNullCard,"DrawCard",DrawCard_Whenever_Parameters); drawCardTriggered_Hoofprints_of_the_Stag(player); - drawCardTriggered_Lorescale_Coatl(player); + //drawCardTriggered_Lorescale_Coatl(player); //drawCardTriggered_Underworld_Dreams(player); drawCardTriggered_Spiteful_Visions(player); } @@ -2988,7 +2988,8 @@ public class GameActionUtil { AllZone.Stack.add(ability); } } - + + /* public static void drawCardTriggered_Lorescale_Coatl(Player player) { PlayerZone playZone = AllZone.getZone(Constant.Zone.Battlefield, player); CardList list = new CardList(playZone.getCards()); @@ -2999,7 +3000,7 @@ public class GameActionUtil { Card c = list.get(i); c.addCounter(Counters.P1P1, 1); } - } + }*/ public static void drawCardTriggered_Hoofprints_of_the_Stag(Player player) { PlayerZone playZone = AllZone.getZone(Constant.Zone.Battlefield, player);