diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/mob.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index fe4b32a12..1d099835a 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2427,11 +2427,12 @@ int mob_summonslave(struct mob_data *md2,int *value,int amount,int skill_id) { //Scale HP
md->hp = (md->max_hp*md2->hp)/md2->max_hp;
}
- mob_spawn(md);
- clif_skill_nodamage(&md->bl,&md->bl,skill_id,amount,1);
if(skill_id == NPC_SUMMONSLAVE)
md->master_id=md2->bl.id;
+
+ mob_spawn(md);
+ clif_skill_nodamage(&md->bl,&md->bl,skill_id,amount,1);
}
return 0;
}
|