mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
* Electropotence - Fixed that it did not trigger for tokens and mana payment is now during resolution as it should be.
This commit is contained in:
parent
e4231c7977
commit
a079727608
2 changed files with 33 additions and 32 deletions
|
|
@ -305,12 +305,13 @@ class ReboundCastSpellFromExileEffect extends OneShotEffect<ReboundCastSpellFrom
|
|||
}
|
||||
Card reboundCard = zone.get(this.cardId, game);
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
SpellAbility ability = reboundCard.getSpellAbility();
|
||||
|
||||
player.cast(ability, game, true);
|
||||
zone.remove(reboundCard.getId());
|
||||
|
||||
return true;
|
||||
if (player != null && reboundCard != null) {
|
||||
SpellAbility ability = reboundCard.getSpellAbility();
|
||||
player.cast(ability, game, true);
|
||||
zone.remove(reboundCard.getId());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue