summaryrefslogtreecommitdiff
path: root/npc/009-2_Hurnscald
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-06-06 07:46:33 +0000
committerFate <fate-tmw@googlemail.com>2009-06-06 07:46:33 +0000
commitd8767bf2587a14a46c86f8ced7a9653ef3c52c0d (patch)
treeb5aae7288ce3972b6d15d2c9e29ab4c4a17b4f80 /npc/009-2_Hurnscald
parent96a3ac1608a6096114bf4c5a5417f8865703cfbc (diff)
downloadserverdata-d8767bf2587a14a46c86f8ced7a9653ef3c52c0d.tar.gz
serverdata-d8767bf2587a14a46c86f8ced7a9653ef3c52c0d.tar.bz2
serverdata-d8767bf2587a14a46c86f8ced7a9653ef3c52c0d.tar.xz
serverdata-d8767bf2587a14a46c86f8ced7a9653ef3c52c0d.zip
Fixed spirit to write to QUEST_MAGIC2 variable, doc updates
Diffstat (limited to 'npc/009-2_Hurnscald')
-rw-r--r--npc/009-2_Hurnscald/wyara.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/009-2_Hurnscald/wyara.txt b/npc/009-2_Hurnscald/wyara.txt
index a799cdf0..0e62fccb 100644
--- a/npc/009-2_Hurnscald/wyara.txt
+++ b/npc/009-2_Hurnscald/wyara.txt
@@ -11,6 +11,12 @@
set @STATUS_PURIFY_ONCE, 2;
set @STATUS_PURIFY_TWICE, 3;
set @STATUS_PURIFY_OVER, 4;
+ set @STATUS_MAX, @STATUS_PURIFY_OVER;
+
+ // This operation
+ if (@Q_status > @Q_STATUS_MAX)
+ set @Q_status, @STATUS_INITIAL;
+ callsub S_update_var;
set @has_magic, getskilllv(SKILL_MAGIC);