summaryrefslogtreecommitdiff
path: root/npc
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
commit63b9a51c5752792af6892262c816cdcb27c522b5 (patch)
treedde4ea29c1f5e59baea8ae858ea1f279abf96542 /npc
parent75061672d655e0eb40e96b820f53a6c3ad9f1fe8 (diff)
downloadserverdata-63b9a51c5752792af6892262c816cdcb27c522b5.tar.gz
serverdata-63b9a51c5752792af6892262c816cdcb27c522b5.tar.bz2
serverdata-63b9a51c5752792af6892262c816cdcb27c522b5.tar.xz
serverdata-63b9a51c5752792af6892262c816cdcb27c522b5.zip
The healer will now work only for level < 10
Improving black jack text
Diffstat (limited to 'npc')
-rw-r--r--npc/heal.txt59
1 files changed, 59 insertions, 0 deletions
diff --git a/npc/heal.txt b/npc/heal.txt
index 3cd0d955..6348dd6c 100644
--- a/npc/heal.txt
+++ b/npc/heal.txt
@@ -1,62 +1,119 @@
//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;
+
if(@TEMP == 2) goto Heal3;
+
if(@TEMP == 3) goto Heal4;
+
Heal1:
+
mes "[Elanore]";
+
mes "You don't look too well, let me treat your wounds.";
+
next;
+
goto Heal_L;
+
+
Heal2:
+
mes "[Elanore]";
+
mes "I will make quick work of your wounds.";
+
next;
+
goto Heal_L;
+
+
Heal3:
+
mes "[Elanore]";
+
mes "Need a healing?.";
+
next;
+
goto Heal_L;
+
+
Heal4:
+
mes "[Elanore]";
+
mes "Sometimes you just need to run from battle.";
+
next;
+
goto Heal_L;
+
+
Heal_L:
+
if(@TEMP == 0) goto Heal_1;
+
if(@TEMP == 1) goto Heal_2;
+
if(@TEMP == 2) goto Heal_3;
+
if(@TEMP == 3) goto Heal_4;
+
Heal_1:
+
mes "[Elanore]";
+
mes "Here you go!";
+
heal 10000,10000;
+
close;
+
+
Heal_2:
+
mes "[Elanore]";
+
mes "Painless wasnt it?";
+
mes "Here you go!";
+
heal 10000,10000;
+
close;
+
Heal_3:
+
mes "[Elanore]";
+
mes "You should be more careful.";
+
heal 10000,10000;
+
close;
+
Heal_4:
+
mes "[Elanore]";
+
mes "Much better right?!";
+
heal 10000,10000;
+
close;
L_NoHeal:
@@ -70,4 +127,6 @@ L_NoHeal:
mes "You can get some rest in the inn near here.";
close;
+
}
+