mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Fixed a bug that fizzling spell copies let also wrongly fizzle the original spell on the stack the copy was made from.
This commit is contained in:
parent
2d20045b61
commit
c042d50ec7
5 changed files with 106 additions and 28 deletions
|
|
@ -27,6 +27,10 @@
|
|||
*/
|
||||
package mage.game.stack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.MageObject;
|
||||
import mage.Mana;
|
||||
|
|
@ -63,11 +67,6 @@ import mage.game.permanent.PermanentCard;
|
|||
import mage.players.Player;
|
||||
import mage.util.GameLog;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -394,7 +393,8 @@ public class Spell extends StackObjImpl implements Card {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
card.removeFromZone(game, Zone.STACK, sourceId);
|
||||
// Copied spell, only remove from stack
|
||||
game.getStack().remove(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue