summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-08-30 16:49:00 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-08-30 16:49:00 +0000
commit75061672d655e0eb40e96b820f53a6c3ad9f1fe8 (patch)
tree75cf21d71ed30802c0edee864cc646bcf07c2ec3
parent4d2c65d38023e1eed346bf0610efbe3b0c6d1ae6 (diff)
downloadserverdata-75061672d655e0eb40e96b820f53a6c3ad9f1fe8.tar.gz
serverdata-75061672d655e0eb40e96b820f53a6c3ad9f1fe8.tar.bz2
serverdata-75061672d655e0eb40e96b820f53a6c3ad9f1fe8.tar.xz
serverdata-75061672d655e0eb40e96b820f53a6c3ad9f1fe8.zip
The healer will now work only for level < 10
Improving black jack text
-rw-r--r--npc/heal.txt14
-rw-r--r--npc/tulimshar/casino.txt4
2 files changed, 16 insertions, 2 deletions
diff --git a/npc/heal.txt b/npc/heal.txt
index 02e38cd0..3cd0d955 100644
--- a/npc/heal.txt
+++ b/npc/heal.txt
@@ -1,5 +1,7 @@
//Heal NPC costs 100 money
new_3-1.gat,40,66,0 script Elanore 108,{
+
+ if (baselevel > 10) goto L_NoHeal;
set @TEMP,rand(3);
if(@TEMP == 0) goto Heal1;
if(@TEMP == 1) goto Heal2;
@@ -56,4 +58,16 @@ Heal_4:
mes "Much better right?!";
heal 10000,10000;
close;
+
+L_NoHeal:
+
+ mes "[Elanore]";
+
+ mes "I'm sorry but I'm here only to help young people.";
+
+ mes "Your level is already higher than 10.";
+
+ mes "You can get some rest in the inn near here.";
+
+ close;
}
diff --git a/npc/tulimshar/casino.txt b/npc/tulimshar/casino.txt
index fc35fed9..98b23ce7 100644
--- a/npc/tulimshar/casino.txt
+++ b/npc/tulimshar/casino.txt
@@ -143,7 +143,7 @@ L_Yes:
set @player,rand(20);
set @player,@player+1;
- mes "You got " + @player + "";
+ mes "You got " + @player + " with your cards.";
mes "Do you want another card?";
next;
@@ -153,7 +153,7 @@ L_Another:
set @card,@card+1;
set @player,@player+@card;
- mes "You got " + @player + "";
+ mes "You got " + @player + " with your cards.";
if (@player > 21) goto L_Lost;
mes "Do you want another card?";
next;