From 0069c32c14625f9770f8fa8961a48b7dc60d5c03 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Fri, 18 May 2012 13:02:36 +0200 Subject: Fix a bug in Hasan that can cause him to be blocked infinitely. This was caused because the player could log out after the blocking variables were set, but before the timer was started that would free the NPC after a timeout. --- world/map/npc/042-1/hasan.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/world/map/npc/042-1/hasan.txt b/world/map/npc/042-1/hasan.txt index ebd5c867..3ac2aa0f 100644 --- a/world/map/npc/042-1/hasan.txt +++ b/world/map/npc/042-1/hasan.txt @@ -92,11 +92,11 @@ L_Trick: if ($@ScorpionFighter) goto L_Wait; mes "While you're scratching your head, you see Kaan coming nearer to the cliff above you."; + // close2 blocks + close2; set $@ScorpionTimer, 0; set $@ScorpionFighter, getcharid(3); set $@ScorpDeath, PC_DIE_COUNTER; - // close2 blocks - close2; monster "042-1.gat",110,70,"Scorpion",1003,1, "Hasan::onScorpionDeath"; initnpctimer; end; -- cgit v1.2.3-70-g09d2