mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fix for cards retaining Battlefield state when using AF$ChangeZone with Destination$Library
This commit is contained in:
@@ -825,7 +825,9 @@ public class AbilityFactory_ChangeZone {
|
||||
if (libraryPosition == -1)
|
||||
libraryPosition = library.size();
|
||||
|
||||
library.add(tgtC, libraryPosition); //move to library
|
||||
Card cardCopy = AllZone.CardFactory.copyCard(tgtC);
|
||||
|
||||
library.add(cardCopy, libraryPosition); //move to library
|
||||
|
||||
if (params.containsKey("Shuffle")) // for things like Gaea's Blessing
|
||||
player.shuffle();
|
||||
|
||||
Reference in New Issue
Block a user