diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 1305a9eb7..809ce3f77 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2380,6 +2380,8 @@ void mob_revive(struct mob_data *md, unsigned int hp) md->next_walktime = tick+rand()%50+5000; md->last_linktime = tick; md->last_pcneartime = 0; + memset(md->dmglog, 0, sizeof(md->dmglog)); // Reset the damage done on the rebirthed monster, otherwise will grant full exp + damage done. [Valaris] + md->tdmg = 0; if (!md->bl.prev) map_addblock(&md->bl); clif_spawn(&md->bl); |