summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2012-01-22 12:56:49 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2012-01-22 15:01:32 +0100
commit459723a646e9c96a0067494e861d3dc50cef71da (patch)
tree973de350531c0d8d2f26cace5ae1a6fe235b028e /world/map/npc
parentdd8b29c1df562250d116965e626c2d40eed04bbe (diff)
downloadserverdata-459723a646e9c96a0067494e861d3dc50cef71da.tar.gz
serverdata-459723a646e9c96a0067494e861d3dc50cef71da.tar.bz2
serverdata-459723a646e9c96a0067494e861d3dc50cef71da.tar.xz
serverdata-459723a646e9c96a0067494e861d3dc50cef71da.zip
Barbarians: Discouraging Yeti spawn parties
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/034-1/yetiSpawn.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/world/map/npc/034-1/yetiSpawn.txt b/world/map/npc/034-1/yetiSpawn.txt
index 7182c1af..13c0069b 100644
--- a/world/map/npc/034-1/yetiSpawn.txt
+++ b/world/map/npc/034-1/yetiSpawn.txt
@@ -35,7 +35,7 @@ OnYetiDeath:
set @state, ((QUEST_Barbarians & $@Q_Barbarians_MASK) >> $@Q_Barbarians_SHIFT);
if (@state != 7)
- goto L_End;
+ goto L_NonQuestKill;
set @state, 8;
callsub S_Update_Mask;
message strcharinfo(0), "You defeated the Yeti.";
@@ -45,6 +45,11 @@ L_End:
set $@Yerrnk_Yetifighter_ID, 0;
end;
+L_NonQuestKill:
+ message strcharinfo(0), "The dying Yeti takes you along to the other side.";
+ percentheal -100, 0;
+ goto L_End;
+
S_Update_Mask:
set QUEST_Barbarians,
(QUEST_Barbarians & ~($@Q_Barbarians_MASK))