add Ezuri, Renegade Leader (from Scars of Mirrodin)

This commit is contained in:
jendave
2011-08-06 09:29:09 +00:00
parent 614ce66a03
commit 77eebb5272
3 changed files with 48 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1358,6 +1358,7 @@ res/cardsfolder/eye_of_nowhere.txt -text svneol=native#text/plain
res/cardsfolder/eye_of_ramos.txt -text svneol=native#text/plain
res/cardsfolder/eye_of_ugin.txt -text svneol=native#text/plain
res/cardsfolder/eyeblights_ending.txt -text svneol=native#text/plain
res/cardsfolder/ezuri_renegade_leader.txt -text svneol=native#text/plain
res/cardsfolder/ezuris_brigade.txt -text svneol=native#text/plain
res/cardsfolder/fable_of_wolf_and_owl.txt -text svneol=native#text/plain
res/cardsfolder/fabricate.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Ezuri, Renegade Leader
ManaCost:1 G G
Types:Legendary Creature Elf Warrior
Text:no text
PT:2/2
K:abAllPump 2 G G G:YouCtrl/Elf:+3/+3/Trample:Elf creatures you control get +3/+3 and gain trample until end of turn.:Ezuri, Renegade Leader - Elf creatures you control get +3/+3 and gain trample until EOT.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/ezuri_renegade_leader.jpg
End

View File

@@ -20812,6 +20812,44 @@ public class CardFactory_Creatures {
ability.setStackDescription(cardName + " - rearrange top 3 cards of target player's library.");
card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Ezuri, Renegade Leader")) {
final String Tgts[] = {"Elf"};
Target target = new Target("TgtV", "Select another target Elf.", Tgts);
final Ability_Cost abCost = new Ability_Cost("G", card.getName(), true);
final Card[] tgt = new Card[1];
final Command untilEOT = new Command() {
public void execute() {
tgt[0].setShield(0);
}
};
SpellAbility ability = new Ability_Activated(card, abCost, target) {
@Override
public void resolve() {
tgt[0] = getTargetCard();
tgt[0].addShield();
AllZone.EndOfTurn.addUntil(untilEOT);
}
@Override
public boolean canPlayAI() {
return false;
}
@Override
public boolean canPlay() {
CardList creats = AllZoneUtil.getTypeInPlay("Elf");
return creats.size() != 0 && super.canPlay();
}
};
card.addSpellAbility(ability);
ability.setDescription("G: Regenerate another target Elf.");
//ability.setBeforePayMana(CardFactoryUtil.input_targetCreature_NoCost_TapAbility_NoTargetSelf(ability));
}//*************** END ************ END **************************
if(hasKeyword(card, "Level up") != -1 && hasKeyword(card, "maxLevel") != -1)
{