mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
Fixed #12883.
This commit is contained in:
parent
f7d702d5df
commit
f85a70780f
1 changed files with 3 additions and 1 deletions
|
|
@ -81,7 +81,9 @@ public class SpellStack extends ArrayDeque<StackObject> {
|
|||
counteredObjectName = "Ability (" + stackObject.getStackAbility().getRule(targetSourceName) + ") of " + targetSourceName;
|
||||
}
|
||||
if (!game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.COUNTER, objectId, source, stackObject.getControllerId()))) {
|
||||
if (!(stackObject instanceof Spell)) { // spells are removed from stack by the card movement
|
||||
// spells are removed from stack by the card movement
|
||||
if (!(stackObject instanceof Spell)
|
||||
|| stackObject.isCopy()) { // ensure that copies of stackobjects have their history recorded ie: Swan Song
|
||||
this.remove(stackObject, game);
|
||||
game.rememberLKI(Zone.STACK, stackObject);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue