summaryrefslogtreecommitdiff
path: root/npc/009-2_Hurnscald/wyara.txt
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-06-06 10:10:59 +0000
committerFate <fate-tmw@googlemail.com>2009-06-06 10:10:59 +0000
commitb7d7037a19a598b909ab7d2cb7f27d85eaed5369 (patch)
tree89672529dc4a9e9501a18ae8170c405a4b7c10c7 /npc/009-2_Hurnscald/wyara.txt
parent758ebdb5abb2cb6e4c6a7f9054d84b7cf2fd50d6 (diff)
downloadserverdata-b7d7037a19a598b909ab7d2cb7f27d85eaed5369.tar.gz
serverdata-b7d7037a19a598b909ab7d2cb7f27d85eaed5369.tar.bz2
serverdata-b7d7037a19a598b909ab7d2cb7f27d85eaed5369.tar.xz
serverdata-b7d7037a19a598b909ab7d2cb7f27d85eaed5369.zip
Catch players who fell through the cracks wrt learning nature or life magic due to the most recent bug
Diffstat (limited to 'npc/009-2_Hurnscald/wyara.txt')
-rw-r--r--npc/009-2_Hurnscald/wyara.txt2
1 files changed, 2 insertions, 0 deletions
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);