mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
add Anurid Brushhopper (from Judgment)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -211,6 +211,7 @@ res/cardsfolder/ant_queen.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/anthroplasm.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/antler_skulkin.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/anurid_barkripper.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/anurid_brushhopper.txt svneol=native#text/plain
|
||||
res/cardsfolder/anurid_murkdiver.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/anvil_of_bogardan.txt svneol=native#text/plain
|
||||
res/cardsfolder/apex_hawks.txt -text svneol=native#text/plain
|
||||
|
||||
9
res/cardsfolder/anurid_brushhopper.txt
Normal file
9
res/cardsfolder/anurid_brushhopper.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Anurid Brushhopper
|
||||
ManaCost:1 G W
|
||||
Types:Creature Frog Beast
|
||||
Text:no text
|
||||
PT:3/4
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/anurid_brushhopper.jpg
|
||||
End
|
||||
@@ -12431,6 +12431,42 @@ public class CardFactory_Creatures {
|
||||
};//Command
|
||||
card.addDestroyCommand(exile);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Anurid Brushhopper")) {
|
||||
|
||||
final SpellAbility toPlay = new Ability(card, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
AllZone.GameAction.moveToPlay(card);
|
||||
}
|
||||
}; //ability
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("Return "+card+" to the battlefield.");
|
||||
toPlay.setStackDescription(sb.toString());
|
||||
|
||||
final Command eot = new Command() {
|
||||
private static final long serialVersionUID = 911163814565333484L;
|
||||
|
||||
public void execute() {
|
||||
AllZone.Stack.add(toPlay);
|
||||
}
|
||||
};
|
||||
|
||||
final Ability_Cost abCost = new Ability_Cost("Discard<2/Any>", cardName, true);
|
||||
final Ability_Activated toExile = new Ability_Activated(card, abCost, null) {
|
||||
private static final long serialVersionUID = 7850843970664800204L;
|
||||
|
||||
public void resolve() {
|
||||
AllZone.GameAction.exile(card);
|
||||
AllZone.EndOfTurn.addAt(eot);
|
||||
}
|
||||
};
|
||||
toExile.setDescription(abCost+"Exile CARDNAME. Return it to the battlefield under its owner's control at the beginning of the next end step.");
|
||||
toExile.setStackDescription(card+" - exile "+card+".");
|
||||
card.addSpellAbility(toExile);
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
if(hasKeyword(card, "Level up") != -1 && hasKeyword(card, "maxLevel") != -1)
|
||||
|
||||
Reference in New Issue
Block a user