Issue information

Issue ID
#2950
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Apr 7, 2009 10:23
Last Post
Hercules Elf Bot
Mar 5, 2012 16:54
Confirmation
N/A

Hercules Elf Bot - Apr 7, 2009 10:23

Originally posted by [b]Koca[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2950

Hello, I was investigating why boss monsters in fiber lock can be easily beaten, why they don't teleport even if they're rude attacked (sniped). And I found this:

mob.c, function mob_ai_sub_hard
CODE
if(md->ud.walktimer != -1 && md->ud.walkpath.path_pos <= 3)
        return false;


Fiber lock status (SC_SPIDERWEB) is calling function unit_stop_walking, containing this:
CODE
    ud->walktimer = INVALID_TIMER;
    ud->state.change_walk_target = 0;


I added debug line before that if statement in mob_ai_sub_hard:
CODE
ShowDebug("walktimer: %d; path_pos: %d\n",md->ud.walktimer,md->ud.walkpath.path_pos);

and the result was:
CODE
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:54][Debug]: walktimer: -1; path_pos: 0
[07/10:07:55][Debug]: walktimer: -1; path_pos: 0


So, this means, that monster caught in spider web (= fiber lock), including MVP bosses, don't teleport, aren't using their idle skills, aren't even healing themselves! Please, this is critical and any mvp can be killed with this. Priest (for backup), professor and sniper can do it all by themselves.