forked from External/mage
GUI, game: added source info in "choose number/amount" dialogs, added auto-choose for single possible value (part of #13638);
This commit is contained in:
parent
06242496d7
commit
e320bf241c
83 changed files with 142 additions and 106 deletions
|
|
@ -763,7 +763,11 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
|
||||
void selectBlockers(Ability source, Game game, UUID defendingPlayerId);
|
||||
|
||||
int getAmount(int min, int max, String message, Game game);
|
||||
/**
|
||||
*
|
||||
* @param source can be null for system actions like define damage
|
||||
*/
|
||||
int getAmount(int min, int max, String message, Ability source, Game game);
|
||||
|
||||
/**
|
||||
* Player distributes amount among multiple options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue