Issue information

Issue ID
#4434
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Sep 12, 2010 14:11
Last Post
Hercules Elf Bot
Mar 5, 2012 17:51
Confirmation
N/A

Hercules Elf Bot - Sep 12, 2010 14:11

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

in oficial server, can body relocation cancel the close confine?


fix:
open map/skill.c

search and select:
CODE
    case MO_BODYRELOCATION:
        if (unit_movepos(src, x, y, 1, 1)) {
            clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);


replace:
CODE
    case MO_BODYRELOCATION:
        if( sc && sc->data[SC_CLOSECONFINE2] )
        {
            clif_skill_fail(sd,sd->menuskill_id,0,0);
            break;
        }
        if (unit_movepos(src, x, y, 1, 1)) {
            clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);


This post has been edited by karmic: Sep 12 2010, 07:46 AM

Hercules Elf Bot - Dec 25, 2011 20:44

Originally posted by [b]Xantara[/b]
According to the following sources, if you Body Relocate while in Close Confine, the status will be canceled:
- [url="http://irowiki.org/wiki/Close_Confine"]http://irowiki.org/wiki/Close_Confine[/url]
- [url="http://forums.irowiki.org/showpost.php?p=659384&postcount=1511"]http://forums.irowik...&postcount=1511[/url]

Tested on r15277 and it is [b]working as intended[/b] (ie. status is canceled when snapped out of close confine).