mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 14:02:05 -08:00
* Mortal Obstinacy - Mortal Obstinacy was not sacrificed as the triggered effect was used. Decision to sacrifice Mortal Obstinacy takes place now during resolution instead of while ability goes to stack.
This commit is contained in:
parent
a1cfd040d7
commit
63a083ef0d
3 changed files with 10 additions and 18 deletions
|
|
@ -45,7 +45,7 @@ public class DoIfCostPaid extends OneShotEffect<DoIfCostPaid> {
|
|||
message = chooseUseText;
|
||||
}
|
||||
message = CardUtil.replaceSourceName(message, mageObject.getName());
|
||||
if (player.chooseUse(executingEffect.getOutcome(), message, game)) {
|
||||
if (cost.canPay(source.getSourceId(), player.getId(), game) && player.chooseUse(executingEffect.getOutcome(), message, game)) {
|
||||
cost.clearPaid();
|
||||
if (cost.pay(source, game, source.getSourceId(), source.getControllerId(), false)) {
|
||||
executingEffect.setTargetPointer(this.targetPointer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue