mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
convert Killer Whale to AB$Pump
This commit is contained in:
@@ -3,6 +3,7 @@ ManaCost:3 U U
|
||||
Types:Creature Whale
|
||||
Text:no text
|
||||
PT:3/5
|
||||
A:AB$Pump | Cost$ U | KW$ Flying | SpellDescription$ CARDNAME gains flying until end of turn.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://resources.wizards.com/magic/cards/ex/en-us/card6065.jpg
|
||||
SetInfo:EXO|Uncommon|http://magiccards.info/scans/en/ex/37.jpg
|
||||
|
||||
@@ -5556,42 +5556,12 @@ public class CardFactory_Creatures {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card).append(" deals 1 damage to each creature with flying.");
|
||||
ability.setStackDescription(sb.toString());
|
||||
ability.setDescription("Sacrifice a land: Spitting Spider deals 1 damage to each creature with flying.");
|
||||
ability.setDescription(abCost+"Spitting Spider deals 1 damage to each creature with flying.");
|
||||
|
||||
card.addSpellAbility(ability);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Killer Whale")) {
|
||||
final Ability ability = new Ability(card, "U") {
|
||||
|
||||
@Override
|
||||
public void resolve() {
|
||||
final Command untilEOT = new Command() {
|
||||
private static final long serialVersionUID = -8494294720368074013L;
|
||||
|
||||
public void execute() {
|
||||
card.removeIntrinsicKeyword("Flying");
|
||||
}
|
||||
};
|
||||
|
||||
if(AllZone.GameAction.isCardInPlay(card)) {
|
||||
card.addIntrinsicKeyword("Flying");
|
||||
AllZone.EndOfTurn.addUntil(untilEOT);
|
||||
}
|
||||
}//resolve()
|
||||
};//SpellAbility
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card).append(" gains flying until end of turn.");
|
||||
ability.setStackDescription(sb.toString());
|
||||
|
||||
ability.setDescription("U: Killer Whale gains flying until end of turn.");
|
||||
card.addSpellAbility(ability);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Obsidian Fireheart")) {
|
||||
final Ability ability = new Ability(card, "1 R R") {
|
||||
|
||||
Reference in New Issue
Block a user