added Burning Inquiry from Magic 2010

This commit is contained in:
jendave
2011-08-06 04:08:50 +00:00
parent 7bc9ff8f07
commit 046e2ba417
3 changed files with 33 additions and 0 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_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_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 snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
burning_inquiry.jpg http://www.wizards.com/global/images/magic/general/burning_inquiry.jpg
vampire_nocturnus.jpg http://www.wizards.com/global/images/magic/general/vampire_nocturnus.jpg vampire_nocturnus.jpg http://www.wizards.com/global/images/magic/general/vampire_nocturnus.jpg
mul_daya_channelers.jpg http://www.wizards.com/global/images/magic/general/mul_daya_channelers.jpg mul_daya_channelers.jpg http://www.wizards.com/global/images/magic/general/mul_daya_channelers.jpg
goblin_spy.jpg http://www.wizards.com/global/images/magic/general/goblin_spy.jpg goblin_spy.jpg http://www.wizards.com/global/images/magic/general/goblin_spy.jpg

View File

@@ -1,3 +1,8 @@
Burning Inquiry
R
Sorcery
Each player draws three cards, then discards three cards at random.
Mul Daya Channelers Mul Daya Channelers
1 G G 1 G G
Creature Elf Druid Shaman Creature Elf Druid Shaman

View File

@@ -18607,6 +18607,33 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(ability); card.addSpellAbility(ability);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START **************************
else if (cardName.equals("Burning Inquiry")) {
final SpellAbility spell = new Spell(card){
private static final long serialVersionUID = 7133052973770045886L;
@Override
public void resolve() {
//each player draws three cards
AllZone.GameAction.drawCards(Constant.Player.Computer, 3);
AllZone.GameAction.drawCards(Constant.Player.Human, 3);
//now, each player discards 3 cards at random
AllZone.GameAction.discardRandom(Constant.Player.Computer, 3);
AllZone.GameAction.discardRandom(Constant.Player.Human, 3);
}
@Override
public boolean canPlayAI() {
return AllZone.getZone(Constant.Zone.Hand, Constant.Player.Computer).size() > 0;
}
};
spell.setStackDescription(cardName+" - each player draws 3 cards, then discards 3 cards at random.");
card.clearSpellAbility();
card.addSpellAbility(spell);
}//*************** END ************ END **************************
// Cards with Cycling abilities // Cards with Cycling abilities
// -1 means keyword "Cycling" not found // -1 means keyword "Cycling" not found
if(hasKeyword(card, "Cycling") != -1) { if(hasKeyword(card, "Cycling") != -1) {