Fixed Cloaking Exceed; now allows the player to hide from Insect and Demon monsters. bugreport:6261

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16439 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
cookiecrumbs 2012-07-18 03:23:21 +00:00
parent ec79a1b50d
commit 2b244e9cd8

View File

@ -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 )