mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 19:59:54 -08:00
Fixed a problem with Tokens of the CopyEffect (e.g. with Essence of the Wild and Back from the Bring in play).
This commit is contained in:
parent
397b874b2d
commit
0a31a8b479
3 changed files with 39 additions and 3 deletions
|
|
@ -103,7 +103,7 @@ class BackFromTheBrinkCost extends CostImpl {
|
|||
Player controller = game.getPlayer(controllerId);
|
||||
if (controller != null) {
|
||||
Card card = controller.getGraveyard().get(targets.getFirstTarget(), game);
|
||||
if (card != null && controller.moveCards(card, null, Zone.EXILED, ability, game)) {
|
||||
if (card != null && controller.moveCards(card, Zone.EXILED, ability, game)) {
|
||||
ability.getEffects().get(0).setTargetPointer(new FixedTarget(card.getId()));
|
||||
paid = card.getManaCost().pay(ability, game, sourceId, controllerId, noMana);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue