diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index bf1fbeaa9..49da4ae9f 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1727,6 +1727,7 @@ int status_check_visibility(struct block_list *src, struct block_list *target) { //Check for chase-walk/hiding/cloaking opponents. case BL_PC: if ( tsc->data[SC_CLOAKINGEXCEED] && !(status->mode&MD_BOSS) ) + return 0; if( (tsc->option&(OPTION_HIDE|OPTION_CLOAK|OPTION_CHASEWALK) || tsc->data[SC__INVISIBILITY] || tsc->data[SC_CAMOUFLAGE]) && !(status->mode&MD_BOSS) && ( ((TBL_PC*)target)->special_state.perfect_hiding || !(status->mode&MD_DETECTOR) ) ) return 0; @@ -9224,6 +9225,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data) if(sc->opt1 == OPT1_STONEWAIT && sce->val3) { sce->val4 = 0; unit_stop_walking(bl,1); + unit_stop_attack(bl); sc->opt1 = OPT1_STONE; clif_changeoption(bl); sc_timer_next(1000+tick,status_change_timer, bl->id, data ); |