mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
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:
@@ -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 **************************
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user