diff options
author | wushin <pasekei@gmail.com> | 2015-01-21 20:49:22 -0600 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-01-21 20:49:22 -0600 |
commit | 09d922d6614265a826084289da43f4b71b09d818 (patch) | |
tree | fff13cca931bd681908ed2d9816502e21f035be5 /world/map/npc/002-2/casino.txt | |
parent | 1249c6845e4839acfc3b990d7692e081f471497b (diff) | |
download | serverdata-09d922d6614265a826084289da43f4b71b09d818.tar.gz serverdata-09d922d6614265a826084289da43f4b71b09d818.tar.bz2 serverdata-09d922d6614265a826084289da43f4b71b09d818.tar.xz serverdata-09d922d6614265a826084289da43f4b71b09d818.zip |
Fix when the coins are taken for roulette
Diffstat (limited to 'world/map/npc/002-2/casino.txt')
-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; |