summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1/banu.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-08-24 22:11:43 -0500
committerwushin <pasekei@gmail.com>2014-08-24 22:40:14 -0500
commit1bc2566aee188c920d96b9b42b2df6db202d67ff (patch)
treeec5ee1455bb936a57d1fefa13bcec53a2159a7b9 /world/map/npc/021-1/banu.txt
parent2c07459b6d045f7a510811c507533e204319473a (diff)
downloadserverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.tar.gz
serverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.tar.bz2
serverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.tar.xz
serverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.zip
Quest Log Fix for QUEST_NorthTulimshar
Diffstat (limited to 'world/map/npc/021-1/banu.txt')
-rw-r--r--world/map/npc/021-1/banu.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/world/map/npc/021-1/banu.txt b/world/map/npc/021-1/banu.txt
index fac61bc1..e614fcae 100644
--- a/world/map/npc/021-1/banu.txt
+++ b/world/map/npc/021-1/banu.txt
@@ -5,9 +5,7 @@
021-1.gat,102,54,0|script|Banu|154,
{
- set @BanuNT_MASK, 0xC00;
- set @BanuNT_SHIFT, 10;
- set @state, ((QUEST_NorthTulimshar & @BanuNT_MASK) >> @BanuNT_SHIFT);
+ set @state, ((QUEST_NorthTulimshar & TWOBIT_5_MASK) >> TWOBIT_5_SHIFT);
set @EXP, 30;
set @money_water, 200;
set @money_knife, 60;
@@ -106,11 +104,9 @@ L_Close:
set @EXP, 0;
set @state, 0;
set @rand, 0;
- set @BanuNT_MASK, 0;
- set @BanuNT_SHIFT, 0;
close;
S_Update_Mask:
- set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(@BanuNT_MASK)) | (@state << @BanuNT_SHIFT);
+ set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(TWOBIT_5_MASK)) | (@state << TWOBIT_5_SHIFT);
return;
}