Added the option ShuffleIntoLibrary to spBounceTgt. Added Deglamer.

This commit is contained in:
jendave
2011-08-06 05:38:30 +00:00
parent 5171e4547c
commit 9a18731d60
2 changed files with 10 additions and 0 deletions

View File

@@ -2236,6 +2236,10 @@ public class CardFactory implements NewConstants {
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
if(getTargetCard().isToken()) AllZone.getZone(getTargetCard()).remove(getTargetCard());
else { if(Destination.equals("TopofLibrary")) AllZone.GameAction.moveToTopOfLibrary(getTargetCard());
else if(Destination.equals("ShuffleIntoLibrary")) {
AllZone.GameAction.moveToTopOfLibrary(getTargetCard());
AllZone.GameAction.shuffle(getTargetCard().getOwner());
}
else if(Destination.equals("Exile")) AllZone.GameAction.removeFromGame(getTargetCard());
else if(Destination.equals("Hand")) {
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());