summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorcookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-18 03:23:21 +0000
committercookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-18 03:23:21 +0000
commitd8811530437c97cdb20517b6c40f9bb5fb17ccde (patch)
treeed6fe253647bb61045294e22993f2b7e409cf681 /src/map
parent56b77ef4a32ef58991dccb3a3ec76d3463c862db (diff)
downloadhercules-d8811530437c97cdb20517b6c40f9bb5fb17ccde.tar.gz
hercules-d8811530437c97cdb20517b6c40f9bb5fb17ccde.tar.bz2
hercules-d8811530437c97cdb20517b6c40f9bb5fb17ccde.tar.xz
hercules-d8811530437c97cdb20517b6c40f9bb5fb17ccde.zip
Fixed Cloaking Exceed; now allows the player to hide from Insect and Demon monsters. bugreport:6261
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16439 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index b637ae265..a37a80ab2 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1681,6 +1681,8 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
if (tsc->option&hide_flag && !is_boss &&
(sd->special_state.perfect_hiding || !is_detect) )
return 0;
+ if( tsc->data[SC_CLOAKINGEXCEED] && !(is_boss) && (status->mode&(RC_INSECT|RC_DEMON)) ) // Cloaking Exceed => undetected from insect & demon except bosses [Cookie]
+ return 0;
if( tsc->data[SC_CAMOUFLAGE] && !(is_boss || is_detect) && !skill_num )
return 0;
if( tsc->data[SC_STEALTHFIELD] && !is_boss )