added the option TopofLibrary to spBounceTgt. Added Time Ebb and Temporal Eddy.

This commit is contained in:
jendave
2011-08-06 05:34:03 +00:00
parent 5b934f3ef2
commit 378ddf0552
2 changed files with 22 additions and 5 deletions

View File

@@ -1,3 +1,15 @@
Temporal Eddy
2 U U
Sorcery
Put target creature or land on top of its owner's library.
spBounceTgt:Creature, Land:TopofLibrary
Time Ebb
2 U
Sorcery
Put target creature on top of its owner's library.
spBounceTgt:Creature:TopofLibrary
Hoodwink
1 U
Instant

View File

@@ -2353,7 +2353,9 @@ public class CardFactory implements NewConstants {
String tmpDesc = card.getText().substring(15);
int i = tmpDesc.indexOf(".");
tmpDesc = tmpDesc.substring(0, i);
final String Selec = "Select target to return to owners hand.";
final String Selec = "Select a target";
final boolean TopofLibrary = (k.length == 3);
card.clearSpellAbility();
@@ -2416,11 +2418,13 @@ public class CardFactory implements NewConstants {
if(AllZone.GameAction.isCardInPlay(getTargetCard())
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
if(getTargetCard().isToken()) AllZone.getZone(getTargetCard()).remove(getTargetCard());
else { if(TopofLibrary) AllZone.GameAction.moveToTopOfLibrary(getTargetCard());
else {
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());
AllZone.GameAction.moveTo(hand, getTargetCard());
}
}
}
}
@@ -2472,6 +2476,7 @@ public class CardFactory implements NewConstants {
}//spBounceTgt
while(hasKeyword(card, "abDrawCards") != -1) {
int n = hasKeyword(card, "abDrawCards");
String parse = card.getKeyword().get(n).toString();