forked from External/mage
* Fixed a bug of spell copy that caused that added spliced spells were not copied.
This commit is contained in:
parent
1835671f3d
commit
6726f48669
25 changed files with 198 additions and 199 deletions
|
|
@ -51,9 +51,7 @@ public class EpicEffect extends OneShotEffect {
|
|||
if (controller != null) {
|
||||
StackObject stackObject = game.getStack().getStackObject(source.getId());
|
||||
Spell spell = (Spell) stackObject;
|
||||
spell = spell.copySpell();
|
||||
spell.setCopiedSpell(true);
|
||||
spell.setControllerId(source.getControllerId());
|
||||
spell = spell.copySpell(source.getControllerId());
|
||||
// Remove Epic effect from the spell
|
||||
Effect epicEffect = null;
|
||||
for (Effect effect : spell.getSpellAbility().getEffects()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue