Fixed wings not working when used on top of Magnetic Earth.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13896 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
144103199a
commit
6ee6b810e0
@ -1045,7 +1045,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))
|
&& !(status->mode&MD_BOSS)
|
||||||
|
&& (src->type != BL_PC || ((TBL_PC*)src)->skillitem != skill_num))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (src) sc = status_get_sc(src);
|
if (src) sc = status_get_sc(src);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user