From b7d7037a19a598b909ab7d2cb7f27d85eaed5369 Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 6 Jun 2009 10:10:59 +0000 Subject: Catch players who fell through the cracks wrt learning nature or life magic due to the most recent bug --- npc/001-1_Tulimshar/elanore.txt | 2 ++ npc/009-2_Hurnscald/wyara.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/npc/001-1_Tulimshar/elanore.txt b/npc/001-1_Tulimshar/elanore.txt index d8c17be0..dcec99e4 100644 --- a/npc/001-1_Tulimshar/elanore.txt +++ b/npc/001-1_Tulimshar/elanore.txt @@ -9,6 +9,8 @@ function script ElanoreFix { set @Q_status, (QUEST_MAGIC2 & @Q_MASK) >> @Q_SHIFT; if (@Q_status > @Q_STATUS_MAX) set @Q_status, @STATUS_INITIAL; + if (@Q_status > 1 && (getskilllv(SKILL_MAGIC_LIFE) < 2)) + set @Q_status, @STATUS_INITIAL; set QUEST_MAGIC2, (QUEST_MAGIC2 & ~(@Q_MASK) diff --git a/npc/009-2_Hurnscald/wyara.txt b/npc/009-2_Hurnscald/wyara.txt index 114f569b..2f69fc0c 100644 --- a/npc/009-2_Hurnscald/wyara.txt +++ b/npc/009-2_Hurnscald/wyara.txt @@ -16,6 +16,8 @@ // This operation works around an earlier possible corruption of this state if (@Q_status > @Q_STATUS_MAX) set @Q_status, @STATUS_INITIAL; + if (@Q_status == @STATUS_PURIFY_OVER && (getskilllv(SKILL_MAGIC_NATURE) < 2)) + set @Q_status, @STATUS_INITIAL; callsub S_update_var; set @has_magic, getskilllv(SKILL_MAGIC); -- cgit v1.2.3-60-g2f50