From f3bcef63418b1b2343b4b72120da9f86335b147a Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 03:10:42 +0000 Subject: [PATCH] - Add LQ pic urls for the 7 new cards that were added in r258. - Added a spell.setDescription("Counter target spell."); to the code object for Counterspell + Cancel + Last Word + Traumatic Visions. Removed the spell description for these 4 cards from their entries in the cards.txt file. "Last Word can't be countered by spells or abilities." is now part of the spell.setDescription() for this code object. Everything works and looks nice. --- res/card-pictures.txt | 7 +++++++ res/cards.txt | 8 ++++---- res/main.properties | 2 +- src/forge/CardFactory.java | 7 +++++++ 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 3bc8ee5a6d6..6594fb8850e 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -18,6 +18,13 @@ forest.jpg http://resources.wizards.com/magic/cards/unh/en-us/card73946.jpg forest1.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=2748 forest2.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=587 forest3.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=586 +collective_restraint.jpg http://www.wizards.com/global/images/magic/general/collective_restraint.jpg +force_spike.jpg http://www.wizards.com/global/images/magic/general/force_spike.jpg +daze.jpg http://www.wizards.com/global/images/magic/general/daze.jpg +convolute.jpg http://www.wizards.com/global/images/magic/general/convolute.jpg +runeboggle.jpg http://www.wizards.com/global/images/magic/general/runeboggle.jpg +spell_snip.jpg http://www.wizards.com/global/images/magic/general/spell_snip.jpg +mana_leak.jpg http://www.wizards.com/global/images/magic/general/mana_leak.jpg windborn_muse.jpg http://www.wizards.com/global/images/magic/general/windborn_muse.jpg ghostly_prison.jpg http://www.wizards.com/global/images/magic/general/ghostly_prison.jpg propaganda.jpg http://www.wizards.com/global/images/magic/general/propaganda.jpg diff --git a/res/cards.txt b/res/cards.txt index 323d8dc673c..8dfa3906ac3 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1400,7 +1400,7 @@ tap: add B Traumatic Visions 3 U U Instant -Counter target spell. +no text TypeCycling:Basic:1 U Fiery Fall @@ -4061,7 +4061,7 @@ tap: add 2 Last Word 2 U U Instant -Last Word can't be countered by spells or abilities. Counter target spell. +no text This card can't be countered. Composite Golem @@ -5783,7 +5783,7 @@ Destroy all non-land permanents. Cancel 1 U U Instant -Counter target spell. +no text Zombie Goliath 4 B @@ -15136,7 +15136,7 @@ Counter target spell. If that spell is countered this way, put it into its owner Counterspell U U Instant -Counter target spell. +no text Regress 2 U diff --git a/res/main.properties b/res/main.properties index aad0438bb96..6a06e0fc9ac 100644 --- a/res/main.properties +++ b/res/main.properties @@ -1,6 +1,6 @@ program/mail=mtgerror@yahoo.com program/forum=http://www.slightlymagic.net/forum/viewforum.php?f=26 -program/version=Forge -- official beta: 10/01/01, SVN revision: 258 +program/version=Forge -- official beta: 10/01/01, SVN revision: 261 tokens--file=AllTokens.txt diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index 97a43d5a6bf..066dc64e8c9 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -9474,6 +9474,13 @@ public class CardFactory implements NewConstants { } }; card.clearSpellAbility(); + String desc = ""; + if(cardName.equals("Last Word")) + { + desc = "Last Word can't be countered by spells or abilities.\r\n"; + } + spell.setDescription(desc + "Counter target spell."); + spell.setStackDescription(card.getName() + " - Counters target spell."); card.addSpellAbility(spell); }//*************** END ************ END **************************