From 09f8a1dfa523f9574aa7f4003fb32cb39f18f29c Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 31 May 2012 16:04:04 +0000 Subject: 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 --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.c') 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; -- cgit v1.2.3-60-g2f50