From 967dd2d8e80a559883152a1d0377801d418a554f Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 16 May 2009 13:55:26 +0000 Subject: Elanore and the Doctor can now heal poisoning. Also added sc_poison constant to db/const.txt. --- npc/001-1_Tulimshar/elanore.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'npc/001-1_Tulimshar/elanore.txt') 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) -- cgit v1.2.3-70-g09d2