diff options
author | Wushin <pasekei@gmail.com> | 2015-01-24 13:35:19 -0600 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-01-24 13:35:19 -0600 |
commit | 8005bab85870e5a2786a5b0af2c9d8cfc7c95c20 (patch) | |
tree | f5dd953f158b82b6bb34d78ccd207ac971a8934d /world/map | |
parent | 730c240a2adcd30056069d81ac4ebce2231001c3 (diff) | |
parent | 09d922d6614265a826084289da43f4b71b09d818 (diff) | |
download | serverdata-8005bab85870e5a2786a5b0af2c9d8cfc7c95c20.tar.gz serverdata-8005bab85870e5a2786a5b0af2c9d8cfc7c95c20.tar.bz2 serverdata-8005bab85870e5a2786a5b0af2c9d8cfc7c95c20.tar.xz serverdata-8005bab85870e5a2786a5b0af2c9d8cfc7c95c20.zip |
Merge pull request #255 from wushin/roulette-coin-take
Fix when the coins are taken for roulette
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/002-2/casino.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/002-2/casino.txt b/world/map/npc/002-2/casino.txt index 4733bb63..f4995662 100644 --- a/world/map/npc/002-2/casino.txt +++ b/world/map/npc/002-2/casino.txt @@ -153,7 +153,6 @@ L_b100: L_Check: if(countitem("CasinoCoins") < @bet) goto L_NoCoin; - delitem "CasinoCoins", @bet; menu "Choose a color", L_PickColor, "Choose a number", L_Number; @@ -164,6 +163,7 @@ L_PickColor: "Red", L_Color; L_Color: + delitem "CasinoCoins", @bet; set @color,rand(2); if(@color == 1) goto L_Lost; mes "You won!"; @@ -178,6 +178,7 @@ L_Number: "29", L_Menuitems, "30", L_Menuitems, "31", L_Menuitems, "32", L_Menuitems, "33", L_Menuitems, "34", L_Menuitems, "35", L_Menuitems, "36", L_Menuitems; L_Menuitems: + delitem "CasinoCoins", @bet; if (@menu == 1) set @number, 0; if (@menu == 2) set @number, 37; if (@menu >= 3) set @number, @menu - 2; |