mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
add Denizen of the Deep
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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_horn.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/demons_jester.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/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/dense_canopy.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/deny_reality.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
|
res/cardsfolder/denying_wind.txt -text svneol=native#text/plain
|
||||||
|
|||||||
8
res/cardsfolder/denizen_of_the_deep.txt
Normal file
8
res/cardsfolder/denizen_of_the_deep.txt
Normal file
@@ -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
|
||||||
@@ -13474,6 +13474,37 @@ public class CardFactory_Creatures {
|
|||||||
|
|
||||||
card.addComesIntoPlayCommand(comesIntoPlay);
|
card.addComesIntoPlayCommand(comesIntoPlay);
|
||||||
}//*************** END ************ END **************************
|
}//*************** 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)
|
if(hasKeyword(card, "Level up") != -1 && hasKeyword(card, "maxLevel") != -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user