mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 18:29:14 +02:00
Fix
This commit is contained in:
@@ -76,13 +76,13 @@ module.exports = class BlackjackCommand extends Command {
|
|||||||
} else if (total >= 17) {
|
} else if (total >= 17) {
|
||||||
const playerTotal = this.calculate(playerHand);
|
const playerTotal = this.calculate(playerHand);
|
||||||
if (total === playerTotal) {
|
if (total === playerTotal) {
|
||||||
reason = `${playerTotal}-${total}`;
|
reason = `Dealer drew ${card.display}, making it ${playerTotal}-${total}`;
|
||||||
break;
|
break;
|
||||||
} else if (total > playerTotal) {
|
} else if (total > playerTotal) {
|
||||||
reason = `${playerTotal}-**${total}**`;
|
reason = `Dealer drew ${card.display}, making it ${playerTotal}-**${total}**`;
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
reason = `**${playerTotal}**-${total}`;
|
reason = `Dealer drew ${card.display}, making it **${playerTotal}**-${total}`;
|
||||||
win = true;
|
win = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user