summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/status.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index e6ecc8df8..f5b5cdd8c 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
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.
+2007/10/03
+ * Bosses now can use teleport on Land Protector [Playtester]
2007/10/01
* Fixed various trading/vending glitches [ultramage]
- fixed vending_tax not working at all (integer division in r10182)
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);