summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 9e734926a..1daeda3b0 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2324,7 +2324,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
case BL_MER: sd = ((TBL_MER*)src)->master; break;
}
- if( sd && sd->md && src && src->type != BL_HOM )
+ if( sd && sd->md && src && src->type != BL_HOM && mob_db(md->class_)->lv > sd->status.base_level/2 )
mercenary_kills(sd->md);
if( md->npc_event[0] && !md->state.npc_killmonster )