summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-03 12:50:22 +0000
committerPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-03 12:50:22 +0000
commit87b8959a622f960225abea168894cb28a7a342de (patch)
treee92a9418650d806aac80d0b41c9812f270f21c82 /src/map/status.c
parentbf4ad11ce9d96da1523d94a3a804c0037f7d2954 (diff)
downloadhercules-87b8959a622f960225abea168894cb28a7a342de.tar.gz
hercules-87b8959a622f960225abea168894cb28a7a342de.tar.bz2
hercules-87b8959a622f960225abea168894cb28a7a342de.tar.xz
hercules-87b8959a622f960225abea168894cb28a7a342de.zip
Bosses now can use teleport on Land Protector
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11346 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 8931bed98..5d07ea59b 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -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]
- 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;
if (src) sc = status_get_sc(src);