diff --git a/.gitattributes b/.gitattributes index 05c07e8b69e..f5ee35b651d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1240,6 +1240,7 @@ res/cardsfolder/demonic_tutor.txt -text svneol=native#text/plain res/cardsfolder/demons_horn.txt -text svneol=native#text/plain res/cardsfolder/demons_jester.txt -text svneol=native#text/plain res/cardsfolder/demystify.txt -text svneol=native#text/plain +res/cardsfolder/denizen_of_the_deep.txt -text svneol=native#text/plain res/cardsfolder/dense_canopy.txt -text svneol=native#text/plain res/cardsfolder/deny_reality.txt -text svneol=native#text/plain res/cardsfolder/denying_wind.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/denizen_of_the_deep.txt b/res/cardsfolder/denizen_of_the_deep.txt new file mode 100644 index 00000000000..bdbc027af82 --- /dev/null +++ b/res/cardsfolder/denizen_of_the_deep.txt @@ -0,0 +1,8 @@ +Name:Denizen of the Deep +ManaCost:6 U U +Types:Creature Serpent +Text:When CARDNAME enters the battlefield, return each other creature you control to its owner's hand. +PT:11/11 +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/denizen_of_the_deep.jpg +End \ No newline at end of file diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 7ddab93c1e2..5caf4f860bd 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -13474,6 +13474,37 @@ public class CardFactory_Creatures { card.addComesIntoPlayCommand(comesIntoPlay); }//*************** END ************ END ************************** + + + //*************** START *********** START ************************** + else if(cardName.equals("Denizen of the Deep")) { + final SpellAbility returnAll = new Ability(card, "0") { + @Override + public void resolve() { + CardList creatures = AllZoneUtil.getCreaturesInPlay(card.getController()); + creatures.remove(card); + for(Card c:creatures) { + AllZone.GameAction.moveToHand(c); + } + } + }; + + Command intoPlay = new Command() { + private static final long serialVersionUID = 7181675096954076868L; + + public void execute() { + + StringBuilder sb = new StringBuilder(); + sb.append(cardName).append(" - "); + sb.append("return each other creature you control to its owner's hand."); + returnAll.setStackDescription(sb.toString()); + + AllZone.Stack.add(returnAll); + } + }; + + card.addComesIntoPlayCommand(intoPlay); + }//*************** END ************ END ************************** if(hasKeyword(card, "Level up") != -1 && hasKeyword(card, "maxLevel") != -1)