mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Added the option ShuffleIntoLibrary to spBounceTgt. Added Deglamer.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Deglamer
|
||||||
|
1 G
|
||||||
|
Instant
|
||||||
|
Choose target artifact or enchantment. Its owner shuffles it into his or her library.
|
||||||
|
spBounceTgt:Artifact,Enchantment:ShuffleIntoLibrary
|
||||||
|
|
||||||
Celestial Purge
|
Celestial Purge
|
||||||
1 W
|
1 W
|
||||||
Instant
|
Instant
|
||||||
|
|||||||
@@ -2236,6 +2236,10 @@ public class CardFactory implements NewConstants {
|
|||||||
&& 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 { if(Destination.equals("TopofLibrary")) AllZone.GameAction.moveToTopOfLibrary(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("Exile")) AllZone.GameAction.removeFromGame(getTargetCard());
|
||||||
else if(Destination.equals("Hand")) {
|
else if(Destination.equals("Hand")) {
|
||||||
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());
|
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());
|
||||||
|
|||||||
Reference in New Issue
Block a user