summaryrefslogtreecommitdiff
path: root/npc/tulimshar
diff options
context:
space:
mode:
Diffstat (limited to 'npc/tulimshar')
-rw-r--r--npc/tulimshar/casino.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/npc/tulimshar/casino.txt b/npc/tulimshar/casino.txt
index 90a89097..e5c469ad 100644
--- a/npc/tulimshar/casino.txt
+++ b/npc/tulimshar/casino.txt
@@ -130,7 +130,7 @@ new_8-1.gat,32,67,0 shop MoneyChanger 124,503:10
new_8-1.gat,28,63,0 script BlackJack 107,{
mes "[Croupier]";
mes "Would you like to play Black Jack?";
- mes "You will need 5 casino coins";
+ mes "You will need 15 casino coins";
next;
menu "Yes",L_Yes,"No",L_No;
@@ -138,10 +138,10 @@ L_Yes:
if(countitem(503) < 15) goto L_NoCoin;
delitem 503,15;
set @croupier,rand(4);
- set @croupier, @croupier + 17;
+ set @croupier,@croupier + 17;
- set @player,rand(20);
- set @player,@player+1;
+ set @player,rand(17);
+ set @player,@player + 4;
mes "You got " + @player + " with your cards.";
mes "Do you want another card?";
@@ -149,8 +149,8 @@ L_Yes:
menu "Yes",L_Another,"No",L_End;
L_Another:
- set @card,rand(10);
- set @card,@card+1;
+ set @card,rand(9);
+ set @card,@card + 2;
set @player,@player+@card;
if (@player > 21) goto L_Lost;
@@ -163,6 +163,7 @@ L_Another:
L_End:
if (@player < @croupier) goto L_Lost;
mes "Congratulations, you won!";
+ mes "I had " + @croupier + "";
mes "You get 50 casino coins";
getitem 503,50;
close;