From 737566e6edd3c2bed60d608e07e76acae0633f92 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 30 Jul 2024 00:09:14 -0300 Subject: Do not let you bet more than 1,000 coins at once. If you do, you could get 35,000 coins and BAM! You lose the coins despite winning the wheel. --- npc/003-9/gambler.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/003-9/gambler.txt b/npc/003-9/gambler.txt index ea1cc6425..bf2cc68b6 100644 --- a/npc/003-9/gambler.txt +++ b/npc/003-9/gambler.txt @@ -197,7 +197,7 @@ L_Start: clear; mesc l("How much you'll bet? You have %s Casino Coins.", fnum(countitem(CasinoCoins))); - input .@bet, 0, countitem(CasinoCoins); + input .@bet, 0, min(1000, countitem(CasinoCoins)); if (.@bet < 1 || .@bet > countitem(CasinoCoins)) goto L_Quit; L_Select: -- cgit v1.2.3-70-g09d2