[AFC] Implemented Death Tyrant

This commit is contained in:
Daniel Bomar 2021-10-21 15:26:01 -05:00
parent e8db40bb8d
commit 5e67314c96
No known key found for this signature in database
GPG key ID: C86C8658F4023918
3 changed files with 106 additions and 1 deletions

View file

@ -1723,7 +1723,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
Zone fromZone = game.getState().getZone(objectId);
Player controller = game.getPlayer(controllerId);
if (controller != null) {
ZoneChangeEvent event = new ZoneChangeEvent(this, source, controllerId, fromZone, toZone, appliedEffects);
ZoneChangeEvent event = new ZoneChangeEvent(this.copy(), source, controllerId, fromZone, toZone, appliedEffects);
ZoneChangeInfo zoneChangeInfo;
if (toZone == Zone.LIBRARY) {
zoneChangeInfo = new ZoneChangeInfo.Library(event, flag /* put on top */);