forked from MarseyWorld/MarseyWorld
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
commit
333e6dc712
|
@ -182,7 +182,7 @@ def spin_roulette_wheel():
|
|||
|
||||
if coin_winnings > 0:
|
||||
notification_text = notification_text + \
|
||||
f"* You received {coin_winnings} dramacoins.\n"
|
||||
f"* You received {coin_winnings} coins.\n"
|
||||
|
||||
if procoin_winnings > 0:
|
||||
notification_text = notification_text + \
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
${playerCards}
|
||||
`;
|
||||
|
||||
const currency = state.wager.currency === 'coins' ? 'dramacoins' : 'marseybux';
|
||||
const currency = state.wager.currency === 'coins' ? 'coins' : 'marseybux';
|
||||
|
||||
switch (state.status) {
|
||||
case 'BLACKJACK':
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
const [biggestWinnerAllTime, biggestWinner24h, biggestLoser24h, biggestLoserAllTime] = [
|
||||
'biggestWinnerAllTime', 'biggestWinner24h', 'biggestLoser24h', 'biggestLoserAllTime'
|
||||
].map(id => document.getElementById(id));
|
||||
const formatLocalCurrencyName = currency => ({ coins: 'dramacoins', procoins: 'marseybux' })[currency];
|
||||
const formatLocalCurrencyName = currency => ({ coins: 'coins', procoins: 'marseybux' })[currency];
|
||||
|
||||
biggestWinnerAllTime.innerHTML = `
|
||||
<a href="/@${leaderboardData.all_time.biggest_win.user}">${leaderboardData.all_time.biggest_win.user}</a> <br /><small>${leaderboardData.all_time.biggest_win.amount} ${formatLocalCurrencyName(leaderboardData.all_time.biggest_win.currency)}</small>
|
||||
|
|
Loading…
Reference in New Issue