summaryrefslogtreecommitdiff
path: root/npc/001-1_Tulimshar
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-16 13:55:26 +0000
committerFate <fate-tmw@googlemail.com>2009-05-16 13:55:26 +0000
commit967dd2d8e80a559883152a1d0377801d418a554f (patch)
tree5eb1a6cb5408bfcdfc90829385e4d7ee3b359f5c /npc/001-1_Tulimshar
parented79b534c296f2a65a0af385c17a1ff0b12de1b4 (diff)
downloadserverdata-967dd2d8e80a559883152a1d0377801d418a554f.tar.gz
serverdata-967dd2d8e80a559883152a1d0377801d418a554f.tar.bz2
serverdata-967dd2d8e80a559883152a1d0377801d418a554f.tar.xz
serverdata-967dd2d8e80a559883152a1d0377801d418a554f.zip
Elanore and the Doctor can now heal poisoning. Also added sc_poison constant to db/const.txt.
Diffstat (limited to 'npc/001-1_Tulimshar')
-rw-r--r--npc/001-1_Tulimshar/elanore.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/001-1_Tulimshar/elanore.txt b/npc/001-1_Tulimshar/elanore.txt
index f75e154b..f0781924 100644
--- a/npc/001-1_Tulimshar/elanore.txt
+++ b/npc/001-1_Tulimshar/elanore.txt
@@ -15,6 +15,8 @@
set @STATUS_MASTERED_LIGHT_HEAL, 2;
set @STATUS_LEARNED_LAY_ON_HANDS, 3;
+ if (sc_check(sc_poison))
+ goto L_CurePoison;
if (baselevel > 10) goto L_NoHeal;
@@ -416,6 +418,17 @@ L_Q_auldsbel:
goto L_Main;
+L_CurePoison:
+ mes "[Elanore the Healer]";
+ mes "\"Oh dear! That looks like poison; hang on...\"";
+ mes "She performs a complicated gesture.";
+ sc_end(sc_poison);
+ next;
+
+ mes "[Elanore the Healer]";
+ mes "\"There you are, right as rain! Now you take care, all right?\"";
+ close;
+
S_update_var:
set QUEST_MAGIC2,
(QUEST_MAGIC2 & ~(@Q_MASK)