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
|
|
@ -276,11 +276,11 @@ public class ComputerPlayerControllableProxy extends ComputerPlayer7 {
|
|||
}
|
||||
|
||||
@Override
|
||||
public int getAmount(int min, int max, String message, Game game) {
|
||||
public int getAmount(int min, int max, String message, Ability source, Game game) {
|
||||
if (isUnderMe(game)) {
|
||||
return super.getAmount(min, max, message, game);
|
||||
return super.getAmount(min, max, message, source, game);
|
||||
} else {
|
||||
return getControllingPlayer(game).getAmount(min, max, message, game);
|
||||
return getControllingPlayer(game).getAmount(min, max, message, source, game);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue