Fix #3478 - Chandra, Pyromancer ultimate does not cast all 3 copies correctly

This commit is contained in:
Will Hall 2017-06-09 18:43:10 -07:00
parent 12d5140f84
commit 9adab5c8a6

View file

@ -288,15 +288,15 @@ class ChandraPyromasterEffect3 extends OneShotEffect {
Card card = cards.get(target.getFirstTarget(), game); Card card = cards.get(target.getFirstTarget(), game);
if (card != null) { if (card != null) {
if (controller.chooseUse(outcome, "Do you wish to cast copy 1 of " + card.getName(), source, game)) { if (controller.chooseUse(outcome, "Do you wish to cast copy 1 of " + card.getName(), source, game)) {
Card copy1 = card.copy(); Card copy1 = game.copyCard(card, source, source.getControllerId());
controller.cast(copy1.getSpellAbility(), game, true); controller.cast(copy1.getSpellAbility(), game, true);
} }
if (controller.chooseUse(outcome, "Do you wish to cast copy 2 of " + card.getName(), source, game)) { if (controller.chooseUse(outcome, "Do you wish to cast copy 2 of " + card.getName(), source, game)) {
Card copy2 = card.copy(); Card copy2 = game.copyCard(card, source, source.getControllerId());
controller.cast(copy2.getSpellAbility(), game, true); controller.cast(copy2.getSpellAbility(), game, true);
} }
if (controller.chooseUse(outcome, "Do you wish to cast copy 3 of " + card.getName(), source, game)) { if (controller.chooseUse(outcome, "Do you wish to cast copy 3 of " + card.getName(), source, game)) {
Card copy3 = card.copy(); Card copy3 = game.copyCard(card, source, source.getControllerId());
controller.cast(copy3.getSpellAbility(), game, true); controller.cast(copy3.getSpellAbility(), game, true);
} }
return true; return true;