This commit is contained in:
Alex W. Jackson 2022-09-22 20:33:16 -04:00
parent 752b5d9f33
commit 020503c826
2 changed files with 17 additions and 59 deletions

View file

@ -811,13 +811,13 @@ public class Spell extends StackObjectImpl implements Card {
UUID copiedSourceId = spellCopy.ability.getSourceId();
// non-fused spell:
// spellAbilities.get(0) is alias (NOT copy) of this.ability
// spellAbilities.get(1) is first spliced card (if any)
// this.spellAbilities.get(0) is alias (NOT copy) of this.ability
// this.spellAbilities.get(1) is first spliced card (if any)
// fused spell:
// spellAbilities.get(0) is left half
// spellAbilities.get(1) is right half
// spellAbilities.get(2) is first spliced card (if any)
// for non-fused spell, main spellAbility was already added in constructor and must not be copied again
// this.spellAbilities.get(0) is left half
// this.spellAbilities.get(1) is right half
// this.spellAbilities.get(2) is first spliced card (if any)
// for non-fused spell, ability was already added to spellAbilities in constructor and must not be copied again
// for fused spell, all of spellAbilities must be copied here
boolean skipFirst = (this.ability.getSpellAbilityType() != SpellAbilityType.SPLIT_FUSED);
for (SpellAbility spellAbility : this.getSpellAbilities()) {