diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-31 16:04:04 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-31 16:04:04 +0000 |
commit | 09f8a1dfa523f9574aa7f4003fb32cb39f18f29c (patch) | |
tree | 36294621024db5370b36081fc7045f255764f632 /src/map/status.c | |
parent | 0f4fad15c74141d817cc8505b4c5d95c74e96bf2 (diff) | |
download | hercules-09f8a1dfa523f9574aa7f4003fb32cb39f18f29c.tar.gz hercules-09f8a1dfa523f9574aa7f4003fb32cb39f18f29c.tar.bz2 hercules-09f8a1dfa523f9574aa7f4003fb32cb39f18f29c.tar.xz hercules-09f8a1dfa523f9574aa7f4003fb32cb39f18f29c.zip |
Fixed bugreport:5867 clones with cloaking skill are no longer "invincible"
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16182 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-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 c52ead56d..970029302 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6906,7 +6906,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val //val4&1 signals the presence of a wall. //val4&2 makes cloak not end on normal attacks [Skotlex] //val4&4 makes cloak not end on using skills - if (bl->type == BL_PC) //Standard cloaking. + if (bl->type == BL_PC || (bl->type == BL_MOB && ((TBL_MOB*)bl)->special_state.clone) ) //Standard cloaking. val4 |= battle_config.pc_cloak_check_type&7; else val4 |= battle_config.monster_cloak_check_type&7; |