diff options
-rw-r--r-- | npc/001-1_Tulimshar/elanore.txt | 2 | ||||
-rw-r--r-- | npc/009-2_Hurnscald/wyara.txt | 2 |
2 files changed, 4 insertions, 0 deletions
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); |