From d8767bf2587a14a46c86f8ced7a9653ef3c52c0d Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 6 Jun 2009 07:46:33 +0000 Subject: Fixed spirit to write to QUEST_MAGIC2 variable, doc updates --- npc/009-2_Hurnscald/wyara.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'npc/009-2_Hurnscald') 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); -- cgit v1.2.3-70-g09d2