mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
added the option TopofLibrary to spBounceTgt. Added Time Ebb and Temporal Eddy.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user