forked from External/mage
implement [MH3] Nethergoyf, refactor targets usages by game param (#12267)
This commit is contained in:
parent
88b6f4036f
commit
754b382e78
62 changed files with 592 additions and 285 deletions
|
|
@ -177,7 +177,7 @@ class OfferingAsThoughEffect extends AsThoughEffectImpl {
|
|||
&& player.chooseUse(Outcome.Benefit, "Offer a " + filter.getMessage() + " to cast " + spellToCast.getName() + '?', source, game)) {
|
||||
Target target = new TargetSacrifice(filter);
|
||||
player.choose(Outcome.Sacrifice, target, source, game);
|
||||
if (!target.isChosen()) {
|
||||
if (!target.isChosen(game)) {
|
||||
return false;
|
||||
}
|
||||
game.getState().setValue("offering_" + card.getId(), true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue