mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- When copying multiple spells , make sure you set the controller for each of them
This commit is contained in:
@@ -78,7 +78,9 @@ public class CopySpellAbilityEffect extends SpellAbilityEffect {
|
||||
for (int multi = 0; multi < spellCount && !tgtSpells.isEmpty(); multi++) {
|
||||
String prompt = "Select " + Lang.getOrdinal(multi) + " spell to copy to stack";
|
||||
SpellAbility chosen = controller.getController().chooseSingleSpellForEffect(tgtSpells, sa, prompt);
|
||||
copies.add(CardFactory.copySpellAbilityAndSrcCard(card, chosen.getHostCard(), chosen, true));
|
||||
SpellAbility copiedSpell = CardFactory.copySpellAbilityAndSrcCard(card, chosen.getHostCard(), chosen, true);
|
||||
copiedSpell.setActivatingPlayer(controller);
|
||||
copies.add(copiedSpell);
|
||||
tgtSpells.remove(chosen);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user