convert Greater Forgeling to AB$Pump

This commit is contained in:
jendave
2011-08-06 14:04:00 +00:00
parent c9b347e9a1
commit 90ab7bc10c
2 changed files with 1 additions and 41 deletions

View File

@@ -3,6 +3,7 @@ ManaCost:3 R R
Types:Creature Elemental Types:Creature Elemental
Text:no text Text:no text
PT:3/4 PT:3/4
AB$Pump|Cost$1 R|NumAtt$+3|NumDef$-3|SpellDescription$CARDNAME gets +3/-3 until end of turn.
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://resources.wizards.com/magic/cards/rav/en-us/card87934.jpg SVar:Picture:http://resources.wizards.com/magic/cards/rav/en-us/card87934.jpg
SetInfo:RAV|Uncommon|http://magiccards.info/scans/en/rav/129.jpg SetInfo:RAV|Uncommon|http://magiccards.info/scans/en/rav/129.jpg

View File

@@ -140,47 +140,6 @@ public class CardFactory_Creatures {
//*************** END ************ END ************************** //*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Greater Forgeling")) {
final Command untilEOT = new Command() {
private static final long serialVersionUID = -4569751606008597903L;
public void execute() {
if(AllZone.GameAction.isCardInPlay(card)) {
card.addTempAttackBoost(-3);
card.addTempDefenseBoost(3);
}
}
};
SpellAbility ability = new Ability(card, "1 R") {
@Override
public boolean canPlayAI() {
return MyRandom.random.nextBoolean() && CardFactoryUtil.AI_doesCreatureAttack(card)
&& 3 < card.getNetDefense();
}
@Override
public void resolve() {
if(AllZone.GameAction.isCardInPlay(card)) {
card.addTempAttackBoost(3);
card.addTempDefenseBoost(-3);
AllZone.EndOfTurn.addUntil(untilEOT);
}
}
};
ability.setDescription("1 R: Greater Forgeling gets +3/-3 until end of turn.");
StringBuilder sb = new StringBuilder();
sb.append(card).append(" gets +3/-3 until end of turn.");
ability.setStackDescription(sb.toString());
card.addSpellAbility(ability);
}
//*************** END ************ END **************************
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Caller of the Claw")) { else if(cardName.equals("Caller of the Claw")) {
final SpellAbility ability = new Ability(card, "0") { final SpellAbility ability = new Ability(card, "0") {