Issue information

Issue ID
#1048
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 25, 2008 2:24
Last Post
Hercules Elf Bot
Feb 25, 2008 2:24
Confirmation
N/A

Hercules Elf Bot - Feb 25, 2008 2:24

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

After revision 12227 of .../trunk/npc/warps/dungeons/lhz_dun.txt

If you enter the portal (touch the npc) from lhz_dun02 to lhz_dun03,
you land on top of the portal and get warped back to level 2.

current code (bug):
CODE
lhz_dun02,150,149,4    script    lhz_dun5-1    45,2,2,{
OnTouch:
    if ((Upper != 1 && BaseLevel<95) || (Upper == 1 && BaseLevel<90)) end;
    warp "lhz_dun03",140,137;
    end;
}
lhz_dun03,139,137,0    warp    lhz_dun5-2    1,1,lhz_dun02,149,142



here's a FIX with warp locations based on the previous revision:
CODE
lhz_dun02,150,149,4    script    lhz_dun5-1    45,2,2,{
OnTouch:
    if ((Upper != 1 && BaseLevel<95) || (Upper == 1 && BaseLevel<90)) end;
    warp "lhz_dun03",140,137;
    end;
}
lhz_dun03,140,139,0    warp    lhz_dun5-2    1,1,lhz_dun02,150,145


This post has been edited by brianlew: Feb 24 2008, 06:40 PM