add Whirlpool Drake (from Apocalypse)

This commit is contained in:
jendave
2011-08-07 01:52:14 +00:00
parent 897c6da17e
commit 0b3988c87c
3 changed files with 14 additions and 3 deletions

1
.gitattributes vendored
View File

@@ -8129,6 +8129,7 @@ res/cardsfolder/whiptail_wurm.txt -text svneol=native#text/plain
res/cardsfolder/whiptongue_frog.txt -text svneol=native#text/plain
res/cardsfolder/whirling_catapult.txt svneol=native#text/plain
res/cardsfolder/whirling_dervish.txt -text svneol=native#text/plain
res/cardsfolder/whirlpool_drake.txt -text svneol=native#text/plain
res/cardsfolder/whirlpool_rider.txt -text svneol=native#text/plain
res/cardsfolder/whirlwind.txt -text svneol=native#text/plain
res/cardsfolder/whispering_shade.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Whirlpool Drake
ManaCost:3 U
Types:Creature Drake
Text:When CARDNAME enters the battlefield, shuffle the cards from your hand into your library, then draw that many cards.\r\n\r\nWhen CARDNAME is put into a graveyard from the battlefield, shuffle the cards from your hand into your library, then draw that many cards.
PT:2/2
K:Flying
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/whirlpool_drake.jpg
End

View File

@@ -718,7 +718,7 @@ public class CardFactory_Creatures {
//*************** START *********** START **************************
else if(cardName.equals("Whirlpool Rider")) {
else if(cardName.equals("Whirlpool Rider") || cardName.equals("Whirlpool Drake")) {
final SpellAbility ability = new Ability(card, "0") {
@Override
@@ -737,7 +737,7 @@ public class CardFactory_Creatures {
}
};//SpellAbility
Command intoPlay = new Command() {
Command shuffle = new Command() {
private static final long serialVersionUID = 6290392806910817877L;
public void execute() {
@@ -750,7 +750,8 @@ public class CardFactory_Creatures {
}
};
card.addComesIntoPlayCommand(intoPlay);
card.addComesIntoPlayCommand(shuffle);
if(cardName.equals("Whirlpool Drake")) card.addDestroyCommand(shuffle);
}//*************** END ************ END **************************