Bosses now can use teleport on Land Protector

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11346 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Playtester 2007-10-03 12:50:22 +00:00
parent 92fe10a6aa
commit 0fef0f3ad9
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/10/03
* Bosses now can use teleport on Land Protector [Playtester]
2007/10/01 2007/10/01
* Fixed various trading/vending glitches [ultramage] * Fixed various trading/vending glitches [ultramage]
- fixed vending_tax not working at all (integer division in r10182) - fixed vending_tax not working at all (integer division in r10182)

View File

@ -972,7 +972,8 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
} }
//Should fail when used on top of Land Protector [Skotlex] //Should fail when used on top of Land Protector [Skotlex]
if (src && skill_num == AL_TELEPORT && map_getcell(src->m, src->x, src->y, CELL_CHKLANDPROTECTOR)) if (src && skill_num == AL_TELEPORT && map_getcell(src->m, src->x, src->y, CELL_CHKLANDPROTECTOR)
&& !(status->mode&MD_BOSS))
return 0; return 0;
if (src) sc = status_get_sc(src); if (src) sc = status_get_sc(src);