mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 23:53:54 -07:00
Added hint when drawing 0 cards (#4697)
* Logging a player drawing 0 cards will now result in the message "player had no cards left to draw." * Added hint when drawing when deck is empty * Added hint when drawing when deck is empty * Added hint when drawing when deck is empty * Update cockatrice/src/messagelogwidget.cpp update log message to present tense Co-authored-by: ebbit1q <ebbit1q@gmail.com> * added deckIsEmpty parameter to messagelogwidget::logDrawCards * run format Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
b99bd0176a
commit
8e4ddf366c
4 changed files with 12 additions and 8 deletions
|
|
@ -56,7 +56,7 @@ public slots:
|
|||
void logCreateToken(Player *player, QString cardName, QString pt);
|
||||
void logDeckSelect(Player *player, QString deckHash, int sideboardSize);
|
||||
void logDestroyCard(Player *player, QString cardName);
|
||||
void logDrawCards(Player *player, int number);
|
||||
void logDrawCards(Player *player, int number, bool deckIsEmpty);
|
||||
void logDumpZone(Player *player, CardZone *zone, int numberCards);
|
||||
void logFlipCard(Player *player, QString cardName, bool faceDown);
|
||||
void logGameClosed();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue