diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 70cbff45c02..6b5596b3bff 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg +roc_egg.jpg http://www.wizards.com/global/images/magic/general/roc_egg.jpg sleepers_robe.jpg http://www.wizards.com/global/images/magic/general/sleepers_robe.jpg ophidian_eye.jpg http://www.wizards.com/global/images/magic/general/ophidian_eye.jpg keen_sense.jpg http://www.wizards.com/global/images/magic/general/keen_sense.jpg diff --git a/res/cards.txt b/res/cards.txt index 1d7c26bfbd0..4da9fe5c831 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,10 @@ +Roc Egg +2 W +Creature Bird +When Roc Egg is put into a graveyard from the battlefield, put a 3/3 white Bird creature token with flying onto the battlefield. +0/3 +Defender + Sleeper's Robe U B Enchantment Aura diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 12e7878b06a..80babfc4330 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -20377,6 +20377,42 @@ public class CardFactory_Creatures { } //*************** END ************ END ************************** + //*************** START *********** START ************************** + if (cardName.equals("Roc Egg")) { + final SpellAbility ability = new Ability(card, "0") { + + @Override + public void resolve() { + CardFactoryUtil.makeToken("Bird", "W 3 3 Bird", card, "W", new String[] {"Creature", "Bird"}, + 3, 3, new String[] {"Flying"}); + } + }; //ability + + StringBuffer sb = new StringBuffer(); + sb.append(cardName).append(" - Put a 3/3 white Bird creature token with flying onto the battlefield."); + ability.setStackDescription(sb.toString()); + + final Command createBird = new Command() { + + private static final long serialVersionUID = 5899334489679688989L; + + public void execute() { + AllZone.Stack.add(ability); + } + }; + + final Command destroy = new Command() { + + private static final long serialVersionUID = 159321399857094976L; + + public void execute() { + AllZone.EndOfTurn.addAt(createBird); + } + }; + + card.addDestroyCommand(destroy); + }//*************** END ************ END ************************** + // Cards with Cycling abilities // -1 means keyword "Cycling" not found