summaryrefslogtreecommitdiff
path: root/npc/009-2_Hurnscald/wyara.txt
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-23 11:26:10 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-23 11:26:10 +0000
commit29bb178e6ac12d8edb32b89c336d46178421bd83 (patch)
tree24a48296f8cd496aef7f089e0a51b366f22b3a58 /npc/009-2_Hurnscald/wyara.txt
parent35226b190bef9791fcf252e57f647e51c5a434e8 (diff)
downloadserverdata-29bb178e6ac12d8edb32b89c336d46178421bd83.tar.gz
serverdata-29bb178e6ac12d8edb32b89c336d46178421bd83.tar.bz2
serverdata-29bb178e6ac12d8edb32b89c336d46178421bd83.tar.xz
serverdata-29bb178e6ac12d8edb32b89c336d46178421bd83.zip
Adjust purification potion to not work early
Diffstat (limited to 'npc/009-2_Hurnscald/wyara.txt')
-rw-r--r--npc/009-2_Hurnscald/wyara.txt29
1 files changed, 0 insertions, 29 deletions
diff --git a/npc/009-2_Hurnscald/wyara.txt b/npc/009-2_Hurnscald/wyara.txt
index 2f1eb6b7..d6ff9165 100644
--- a/npc/009-2_Hurnscald/wyara.txt
+++ b/npc/009-2_Hurnscald/wyara.txt
@@ -1,32 +1,3 @@
-function script PurificationPotion {
- set @STATUS_PURIFY_ONCE, 2;
- set @STATUS_PURIFY_TWICE, 3;
-
- set @PURIFICATIONPOTION, 733;
-
- if (isat("011-1.gat", 88,67))
- goto L_correct;
- message strcharinfo(0), "This doesn't seem to be the right place.";
- getitem @PURIFICATIONPOTION, 1;
- close;
-L_correct:
- set @Q_MASK, NIBBLE_2_MASK;
- set @Q_SHIFT, NIBBLE_2_SHIFT;
- set @Q_status, (QUEST_MAGIC2 & @Q_MASK) >> @Q_SHIFT;
-
- if (@Q_status == @STATUS_PURIFY_ONCE)
- set @Q_status, @STATUS_PURIFY_TWICE;
- if (@Q_status < @STATUS_PURIFY_ONCE)
- set @Q_status, @STATUS_PURIFY_ONCE;
-
- message strcharinfo(0), "You pour the potion into the pond.";
-
- set QUEST_MAGIC2,
- (QUEST_MAGIC2 & ~(@Q_MASK)
- | (@Q_status << @Q_SHIFT));
- return;
-}
-
// ----------------------------------------
// Wyara the Hurnscald witch
// ----------------------------------------