forked from External/mage
refactor: combined announceX methods in one, improved X message and selection for AI (part of #10330)
This commit is contained in:
parent
6af198836b
commit
66db821437
37 changed files with 90 additions and 158 deletions
|
|
@ -710,7 +710,7 @@ public final class ManaUtil {
|
|||
int bookmark = game.bookmarkState();
|
||||
player.resetStoredBookmark(game);
|
||||
|
||||
wantToPay = player.announceXMana(0, maxValue, "Choose how much mana to pay", game, source);
|
||||
wantToPay = player.announceX(0, maxValue, "Choose how much mana to pay", game, source, true);
|
||||
if (wantToPay > 0) {
|
||||
Cost cost = ManaUtil.createManaCost(wantToPay, payAsX);
|
||||
payed = cost.pay(source, game, source, player.getId(), false, null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue