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
|
Hoodwink
|
||||||
1 U
|
1 U
|
||||||
Instant
|
Instant
|
||||||
|
|||||||
@@ -2353,8 +2353,10 @@ public class CardFactory implements NewConstants {
|
|||||||
String tmpDesc = card.getText().substring(15);
|
String tmpDesc = card.getText().substring(15);
|
||||||
int i = tmpDesc.indexOf(".");
|
int i = tmpDesc.indexOf(".");
|
||||||
tmpDesc = tmpDesc.substring(0, i);
|
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();
|
card.clearSpellAbility();
|
||||||
|
|
||||||
final SpellAbility spBnceTgt = new Spell(card) {
|
final SpellAbility spBnceTgt = new Spell(card) {
|
||||||
@@ -2416,9 +2418,11 @@ public class CardFactory implements NewConstants {
|
|||||||
if(AllZone.GameAction.isCardInPlay(getTargetCard())
|
if(AllZone.GameAction.isCardInPlay(getTargetCard())
|
||||||
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
|
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
|
||||||
if(getTargetCard().isToken()) AllZone.getZone(getTargetCard()).remove(getTargetCard());
|
if(getTargetCard().isToken()) AllZone.getZone(getTargetCard()).remove(getTargetCard());
|
||||||
else {
|
else { if(TopofLibrary) AllZone.GameAction.moveToTopOfLibrary(getTargetCard());
|
||||||
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());
|
else {
|
||||||
AllZone.GameAction.moveTo(hand, getTargetCard());
|
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());
|
||||||
|
AllZone.GameAction.moveTo(hand, getTargetCard());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2472,6 +2476,7 @@ public class CardFactory implements NewConstants {
|
|||||||
|
|
||||||
}//spBounceTgt
|
}//spBounceTgt
|
||||||
|
|
||||||
|
|
||||||
while(hasKeyword(card, "abDrawCards") != -1) {
|
while(hasKeyword(card, "abDrawCards") != -1) {
|
||||||
int n = hasKeyword(card, "abDrawCards");
|
int n = hasKeyword(card, "abDrawCards");
|
||||||
String parse = card.getKeyword().get(n).toString();
|
String parse = card.getKeyword().get(n).toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user