diff options
author | csnv <ctt@csnv.es> | 2015-07-05 20:23:54 +0200 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-09-11 17:46:19 +0200 |
commit | f9f34ba725a0819afb4471dd7f7fd0c0aaa4884b (patch) | |
tree | 8025e520e45c229ac31969e9f7f24f38bcdc5707 /src/map | |
parent | b0850ec37591b1316b1692ad9a3ed4940ad19f7c (diff) | |
download | hercules-f9f34ba725a0819afb4471dd7f7fd0c0aaa4884b.tar.gz hercules-f9f34ba725a0819afb4471dd7f7fd0c0aaa4884b.tar.bz2 hercules-f9f34ba725a0819afb4471dd7f7fd0c0aaa4884b.tar.xz hercules-f9f34ba725a0819afb4471dd7f7fd0c0aaa4884b.zip |
Fixes skills targeting characters under camouflage status
Fixes #571
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 9a76060c5..6f084e9ab 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1946,7 +1946,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, uin || (tsc->data[SC_CLOAKINGEXCEED] != NULL && is_detect) )) return 0; - if (tsc->data[SC_CAMOUFLAGE] && !(is_boss || is_detect) && (!skill_id || (flag == 0 && src && src->type != BL_PC))) + if (tsc->data[SC_CAMOUFLAGE] && !(is_boss || is_detect) && flag == 0) return 0; if (tsc->data[SC_STEALTHFIELD] && !is_boss) return 0; |