summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/mob.c4
-rw-r--r--src/map/skill.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 8318d492f..cf2e8ed6e 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1397,8 +1397,8 @@ static bool mob_ai_sub_hard(struct mob_data *md, unsigned int tick)
return false;
// Abnormalities
- if(( md->sc.opt1 > 0 && md->sc.opt1 != OPT1_STONEWAIT && md->sc.opt1 != OPT1_BURNING ) || md->sc.data[SC_BLADESTOP])
- { //Should reset targets.
+ if(( md->sc.opt1 > 0 && md->sc.opt1 != OPT1_STONEWAIT && md->sc.opt1 != OPT1_BURNING )
+ || md->sc.data[SC_BLADESTOP] || md->sc.data[SC__MANHOLE] || md->sc.data[SC_CURSEDCIRCLE_TARGET]) {//Should reset targets.
md->target_id = md->attacked_id = 0;
return false;
}
diff --git a/src/map/skill.c b/src/map/skill.c
index 6250b85a3..2e028b129 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8043,6 +8043,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
if( flag&1 ) {
if( is_boss(bl) ) break;
if( sc_start2(bl, type, 100, skilllv, src->id, skill_get_time(skillid, skilllv))) {
+ if( bl->type == BL_MOB )
+ mob_unlocktarget((TBL_MOB*)bl,gettick());
unit_stop_attack(bl);
clif_bladestop(src, bl->id, 1);
map_freeblock_unlock();