add Anurid Brushhopper (from Judgment)

This commit is contained in:
jendave
2011-08-06 15:45:15 +00:00
parent 7ed106c706
commit cc24e68a23
3 changed files with 46 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -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/anthroplasm.txt -text svneol=native#text/plain
res/cardsfolder/antler_skulkin.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_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/anurid_murkdiver.txt -text svneol=native#text/plain
res/cardsfolder/anvil_of_bogardan.txt svneol=native#text/plain res/cardsfolder/anvil_of_bogardan.txt svneol=native#text/plain
res/cardsfolder/apex_hawks.txt -text svneol=native#text/plain res/cardsfolder/apex_hawks.txt -text svneol=native#text/plain

View 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

View File

@@ -12433,6 +12433,42 @@ public class CardFactory_Creatures {
}//*************** END ************ END ************************** }//*************** 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) if(hasKeyword(card, "Level up") != -1 && hasKeyword(card, "maxLevel") != -1)
{ {
int n = hasKeyword(card, "Level up"); int n = hasKeyword(card, "Level up");