mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Braingeyser.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Braingeyser
|
||||
X U U
|
||||
Sorcery
|
||||
no text
|
||||
|
||||
Earthquake
|
||||
X R
|
||||
Sorcery
|
||||
|
||||
@@ -16990,6 +16990,36 @@ public class CardFactory implements NewConstants {
|
||||
ability.setStackDescription("Put X counters on Helix Pinnacle");
|
||||
card.addSpellAbility(ability);
|
||||
}
|
||||
//*************** END ************ END **************************
|
||||
|
||||
else if(cardName.equals("Braingeyser"))
|
||||
{
|
||||
final SpellAbility spell = new Spell(card){
|
||||
private static final long serialVersionUID = -7141472916367953810L;
|
||||
|
||||
public void resolve()
|
||||
{
|
||||
String player = getTargetPlayer();
|
||||
for(int i=0;i<card.getXManaCostPaid();i++)
|
||||
{
|
||||
AllZone.GameAction.drawCard(player);
|
||||
}
|
||||
card.setXManaCostPaid(0);
|
||||
}
|
||||
|
||||
public boolean canPlayAI()
|
||||
{
|
||||
final int maxX = ComputerUtil.getAvailableMana().size() - 1;
|
||||
return maxX > 3 && AllZone.Computer_Hand.size() <= 3;
|
||||
}
|
||||
};
|
||||
spell.setDescription("Target player draws X cards.");
|
||||
spell.setBeforePayMana(CardFactoryUtil.input_targetPlayer(spell));
|
||||
spell.setChooseTargetAI(CardFactoryUtil.AI_targetHuman());
|
||||
|
||||
card.clearSpellAbility();
|
||||
card.addSpellAbility(spell);
|
||||
}
|
||||
//*************** END ************ END **************************
|
||||
|
||||
// Cards with Cycling abilities
|
||||
|
||||
Reference in New Issue
Block a user