summaryrefslogtreecommitdiff
path: root/world/map/npc/034-1/yetiSpawn.txt
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2012-01-16 22:12:16 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2012-01-17 20:04:43 +0100
commitaf937c6f932cdea5b56f0ee7c4976c7706e986a8 (patch)
tree1863e9bc227dbcaf9e8192df2e30d6643aba47e2 /world/map/npc/034-1/yetiSpawn.txt
parent589f8f9ec044dd8ee00fb01f6e5e1206d0f716e4 (diff)
downloadserverdata-af937c6f932cdea5b56f0ee7c4976c7706e986a8.tar.gz
serverdata-af937c6f932cdea5b56f0ee7c4976c7706e986a8.tar.bz2
serverdata-af937c6f932cdea5b56f0ee7c4976c7706e986a8.tar.xz
serverdata-af937c6f932cdea5b56f0ee7c4976c7706e986a8.zip
Some fixes to the Barbarian quests
Diffstat (limited to 'world/map/npc/034-1/yetiSpawn.txt')
-rw-r--r--world/map/npc/034-1/yetiSpawn.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/world/map/npc/034-1/yetiSpawn.txt b/world/map/npc/034-1/yetiSpawn.txt
index 2f9e1000..f18e78be 100644
--- a/world/map/npc/034-1/yetiSpawn.txt
+++ b/world/map/npc/034-1/yetiSpawn.txt
@@ -1,7 +1,7 @@
// This file belongs to the yeti hunting quest given by 033-1/yerrnk.txt
// Author: Jenalya
-034-1.gat,79,98,0|script|#Yerrnk_YetiTrigger|32767,1,1,{
+034-1.gat,79,98,0|script|#Yerrnk_YetiTrigger|32767,1,3,{
set @Q_Barbarians_MASK, NIBBLE_0_MASK;
set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT;
set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT);
@@ -39,11 +39,12 @@ OnYetiDeath:
set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT;
set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT);
if (@state != 7)
- end;
+ goto L_End;
set @state, 8;
callsub S_Update_Mask;
message strcharinfo(0), "You defeated the Yeti.";
+L_End:
set $@Yerrnk_Yeti_Active, 0;
set $@Yerrnk_Yetifighter_ID, 0;
end;