Added Pyretic Ritual and included it as one of the list of cards which will not show up when the computer generates a random 2 color or multi color deck.

This commit is contained in:
jendave
2011-08-06 05:14:57 +00:00
parent 20d79b1ec0
commit 6c98ed686f
5 changed files with 43 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
pyretic_ritual.jpg http://www.wizards.com/global/images/magic/general/pyretic_ritual.jpg
angelic_chorus.jpg http://www.wizards.com/global/images/magic/general/angelic_chorus.jpg
ajanis_pridemate.jpg http://www.wizards.com/global/images/magic/general/ajanis_pridemate.jpg
ageless_entity.jpg http://www.wizards.com/global/images/magic/general/ageless_entity.jpg

View File

@@ -1,3 +1,8 @@
Pyretic Ritual
1 R
Instant
Add R R R to your mana pool.
Angelic Chorus
3 W W
Enchantment

View File

@@ -16475,8 +16475,42 @@ public class CardFactory implements NewConstants {
return false;
}
};
StringBuffer sb = new StringBuffer();
sb.append(card.getName()).append(" adds B B B to your mana pool");
spell.setStackDescription(sb.toString());
spell.setStackDescription(cardName + " adds B B B to your mana pool");
// spell.setStackDescription(cardName + " adds B B B to your mana pool");
card.clearSpellAbility();
card.addSpellAbility(spell);
return card;
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if (cardName.equals("Pyretic Ritual")) {
final SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = -5473428583650237774L;
@Override
public void resolve() {
/*CardList list = new CardList(AllZone.getZone(Constant.Zone.Play, Constant.Player.Human).getCards());
list = list.getName("Mana Pool");*/
Card mp = AllZone.ManaPool;//list.getCard(0);
mp.addExtrinsicKeyword("ManaPool:R");
mp.addExtrinsicKeyword("ManaPool:R");
mp.addExtrinsicKeyword("ManaPool:R");
}
@Override
public boolean canPlayAI() {
return false;
}
};
StringBuffer sb = new StringBuffer();
sb.append(card.getName()).append(" adds R R R to your mana pool");
spell.setStackDescription(sb.toString());
// spell.setStackDescription(cardName + " adds R R R to your mana pool");
card.clearSpellAbility();
card.addSpellAbility(spell);

View File

@@ -284,6 +284,7 @@ public class GenerateConstructedDeck
remove.add("Eye of Ramos");
remove.add("Forbidden Orchard");
remove.add("Everflowing Chalice");
remove.add("Pyretic Ritual");
final ArrayList<Card> goodLand = new ArrayList<Card>();

View File

@@ -498,6 +498,7 @@ public class GenerateConstructedMultiColorDeck
remove.add("Eye of Ramos");
remove.add("Forbidden Orchard");
remove.add("Everflowing Chalice");
remove.add("Pyretic Ritual");
final ArrayList<Card> goodLand = new ArrayList<Card>();