mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
added Burning Inquiry from Magic 2010
This commit is contained in:
@@ -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
|
||||
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
|
||||
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
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
Burning Inquiry
|
||||
R
|
||||
Sorcery
|
||||
Each player draws three cards, then discards three cards at random.
|
||||
|
||||
Mul Daya Channelers
|
||||
1 G G
|
||||
Creature Elf Druid Shaman
|
||||
|
||||
@@ -18607,6 +18607,33 @@ public class CardFactory implements NewConstants {
|
||||
card.addSpellAbility(ability);
|
||||
}//*************** 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
|
||||
// -1 means keyword "Cycling" not found
|
||||
if(hasKeyword(card, "Cycling") != -1) {
|
||||
|
||||
Reference in New Issue
Block a user