diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-30 00:09:14 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-30 00:09:14 -0300 |
commit | 737566e6edd3c2bed60d608e07e76acae0633f92 (patch) | |
tree | 11b198cb8278cd52cdcd2ef1a973e912ab123073 | |
parent | e6b4cc4e9adcd27248acdd8a9c01b6a1a4cef417 (diff) | |
download | serverdata-737566e6edd3c2bed60d608e07e76acae0633f92.tar.gz serverdata-737566e6edd3c2bed60d608e07e76acae0633f92.tar.bz2 serverdata-737566e6edd3c2bed60d608e07e76acae0633f92.tar.xz serverdata-737566e6edd3c2bed60d608e07e76acae0633f92.zip |
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.
-rw-r--r-- | npc/003-9/gambler.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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: |