only reset castFaceDown when making a full spell copy

This commit is contained in:
tool4EvEr
2022-06-24 11:49:51 +02:00
parent a8aa75304b
commit f7f1faffed
2 changed files with 6 additions and 6 deletions

View File

@@ -209,6 +209,12 @@ public class CardFactory {
// 707.10b
copySA.setOriginalAbility(targetSA);
// Copied spell is not cast face down
if (copySA instanceof Spell) {
Spell spell = (Spell) copySA;
spell.setCastFaceDown(false);
}
if (targetSA.usesTargeting()) {
// do for SubAbilities too?
copySA.setTargets(targetSA.getTargets().clone());

View File

@@ -1096,12 +1096,6 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
// always set this to false, it is only set in CopyEffect
clone.mayChooseNewTargets = false;
// Copied spell is not cast face down
if (clone instanceof Spell) {
Spell spell = (Spell) clone;
spell.setCastFaceDown(false);
}
clone.triggeringObjects = AbilityKey.newMap(this.triggeringObjects);
clone.setPayCosts(getPayCosts().copy());