mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
- Fixed #5440
This commit is contained in:
parent
9a5ac6a848
commit
d07415e08c
1 changed files with 1 additions and 0 deletions
|
@ -989,6 +989,7 @@ public class Spell extends StackObjImpl implements Card {
|
||||||
@Override
|
@Override
|
||||||
public StackObject createCopyOnStack(Game game, Ability source, UUID newControllerId, boolean chooseNewTargets) {
|
public StackObject createCopyOnStack(Game game, Ability source, UUID newControllerId, boolean chooseNewTargets) {
|
||||||
Spell copy = this.copySpell(newControllerId);
|
Spell copy = this.copySpell(newControllerId);
|
||||||
|
game.getState().setZone(copy.getId(), Zone.STACK); // required for targeting ex: Nivmagus Elemental
|
||||||
game.getStack().push(copy);
|
game.getStack().push(copy);
|
||||||
if (chooseNewTargets) {
|
if (chooseNewTargets) {
|
||||||
copy.chooseNewTargets(game, newControllerId);
|
copy.chooseNewTargets(game, newControllerId);
|
||||||
|
|
Loading…
Reference in a new issue