mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
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:
@@ -1,7 +1,7 @@
|
||||
Name:Nath of the Gilt-Leaf
|
||||
ManaCost:3 B G
|
||||
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
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/nath_of_the_gilt_leaf.jpg
|
||||
|
||||
@@ -330,24 +330,8 @@ public class GameAction {
|
||||
for(int i = 0; i < opponentList.size(); i++) {
|
||||
Card card = opponentList.get(i);
|
||||
if(card.getName().equals("Nath of the Gilt-Leaf")) {
|
||||
Card c = new Card();
|
||||
|
||||
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);
|
||||
CardFactoryUtil.makeToken("Elf Warrior", "G 1 1 Elf Warrior", opponent, "G",
|
||||
new String[] {"Creature", "Elf", "Warrior"}, 1, 1, new String[] {});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user