summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-08-31 16:56:51 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-08-31 16:56:51 +0000
commitd068b39bb790df857e38d19d5bb9802b881b1f3d (patch)
tree5e65de55dfacdfbc70e18c06a3448b5bad39b102 /npc
parent62b97f16f34fbf053b4b306c55b9b1dfd5ade6e8 (diff)
downloadserverdata-d068b39bb790df857e38d19d5bb9802b881b1f3d.tar.gz
serverdata-d068b39bb790df857e38d19d5bb9802b881b1f3d.tar.bz2
serverdata-d068b39bb790df857e38d19d5bb9802b881b1f3d.tar.xz
serverdata-d068b39bb790df857e38d19d5bb9802b881b1f3d.zip
Obiouvsly it wasn't
Diffstat (limited to 'npc')
-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;