mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
add Whirlpool Drake (from Apocalypse)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
9
res/cardsfolder/whirlpool_drake.txt
Normal file
9
res/cardsfolder/whirlpool_drake.txt
Normal 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
|
||||
@@ -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 **************************
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user