mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Added message to card choice
This commit is contained in:
parent
b68faa6ef4
commit
07cd3b67bb
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ class LiarsPendulumEffect extends OneShotEffect {
|
||||||
// Name a card.
|
// Name a card.
|
||||||
Choice choice = new ChoiceImpl();
|
Choice choice = new ChoiceImpl();
|
||||||
choice.setChoices(CardRepository.instance.getNames());
|
choice.setChoices(CardRepository.instance.getNames());
|
||||||
|
choice.setMessage("Choose a card name");
|
||||||
while (!controller.choose(Outcome.Benefit, choice, game)) {
|
while (!controller.choose(Outcome.Benefit, choice, game)) {
|
||||||
if (!controller.canRespond()) {
|
if (!controller.canRespond()) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue