Added two new cards, Mana Tithe and Miscalculation to Dennis' new counter-spell code. I also included the LQ pic urls for these two cards. I made a minor change to the code to get the two cards with cycling to show a spellDescription in the choose dialog. I do not think that I damaged Dennis' code. :)

This commit is contained in:
jendave
2011-08-06 03:11:42 +00:00
parent 254944dc9d
commit 98e68707c9
4 changed files with 25 additions and 5 deletions

View File

@@ -18,6 +18,8 @@ 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
mana_tithe.jpg http://www.wizards.com/global/images/magic/general/mana_tithe.jpg
miscalculation.jpg http://www.wizards.com/global/images/magic/general/miscalculation.jpg
eyeblights_ending.jpg http://www.wizards.com/global/images/magic/general/eyeblights_ending.jpg
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

View File

@@ -1,3 +1,14 @@
Mana Tithe
W
Instant
Counter target spell unless its controller pays 1.
Miscalculation
1 U
Instant
Counter target spell unless its controller pays 2.
Cycling:2
Eyeblight's Ending
2 B
Tribal Instant Elf
@@ -27,7 +38,7 @@ Counter target spell unless its controller pays 4.
Runeboggle
2 U
Instant
Counter target spell unless its controller pays 1.
Counter target spell unless its controller pays 1. Draw a card.
Cantrip
Spell Snip

View File

@@ -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: 264
program/version=Forge -- official beta: 10/01/01, SVN revision: 266
tokens--file=AllTokens.txt

View File

@@ -9490,9 +9490,9 @@ public class CardFactory implements NewConstants {
}//*************** END ************ END **************************
//*************** START *********** START **************************
//*************** START *********** START **************************
else if(cardName.equals("Mana Leak") || cardName.equals("Convolute") || cardName.equals("Daze") || cardName.equals("Force Spike") ||
cardName.equals("Runeboggle") || cardName.equals("Spell Snip"))
cardName.equals("Runeboggle") || cardName.equals("Spell Snip") || cardName.equals("Mana Tithe") || cardName.equals("Miscalculation"))
{
SpellAbility spell = new Spell(card)
{
@@ -9500,7 +9500,9 @@ public class CardFactory implements NewConstants {
public void resolve()
{
String manaCost = "1";
if (cardName.equals("Mana Leak"))
if (cardName.equals("Miscalculation"))
manaCost = "2";
else if (cardName.equals("Mana Leak"))
manaCost = "3";
else if (cardName.equals("Convolute"))
manaCost = "4";
@@ -9623,6 +9625,11 @@ public class CardFactory implements NewConstants {
bounce.setBeforePayMana(bounceIslands);
card.addSpellAbility(bounce);
}//if Daze
else // This is Chris' Evil hack to get the Cycling cards to give us a choose window with text for the SpellAbility
{
spell.setDescription(card.getText());
card.setText("");
}
}//*************** END ************ END **************************