summaryrefslogtreecommitdiff
path: root/npc/heal.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/heal.txt')
-rw-r--r--npc/heal.txt14
1 files changed, 14 insertions, 0 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;
}