minor text edit to Nath of the Gilt Leaf, and update its token creation to use standard code instead of manually setting everything.

This commit is contained in:
jendave
2011-08-06 12:34:58 +00:00
parent b260ce4f79
commit 5c4743d710
2 changed files with 3 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
Name:Nath of the Gilt-Leaf Name:Nath of the Gilt-Leaf
ManaCost:3 B G ManaCost:3 B G
Types:Legendary Creature Elf Warrior Types:Legendary Creature Elf Warrior
Text:At the beginning of your upkeep, you may have target opponent discard a card at random. Whenever an opponent discards a card, you may put a 1/1 green Elf Warrior creature token into play. Text:At the beginning of your upkeep, you may have target opponent discard a card at random.\r\nWhenever an opponent discards a card, you may put a 1/1 green Elf Warrior creature token into play.
PT:4/4 PT:4/4
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/nath_of_the_gilt_leaf.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/nath_of_the_gilt_leaf.jpg

View File

@@ -330,24 +330,8 @@ public class GameAction {
for(int i = 0; i < opponentList.size(); i++) { for(int i = 0; i < opponentList.size(); i++) {
Card card = opponentList.get(i); Card card = opponentList.get(i);
if(card.getName().equals("Nath of the Gilt-Leaf")) { if(card.getName().equals("Nath of the Gilt-Leaf")) {
Card c = new Card(); CardFactoryUtil.makeToken("Elf Warrior", "G 1 1 Elf Warrior", opponent, "G",
new String[] {"Creature", "Elf", "Warrior"}, 1, 1, new String[] {});
c.setOwner(card.getController());
c.setController(card.getController());
c.setName("Elf Warrior");
c.setImageName("G 1 1 Elf Warrior");
c.setManaCost("G");
c.addColor("G");
c.setToken(true);
c.addType("Creature");
c.addType("Elf");
c.addType("Warrior");
c.setBaseAttack(1);
c.setBaseDefense(1);
opponentZone.add(c);
} }
} }
} }