summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-11-09 21:45:20 +0100
committerMichieru <Michieru@users.noreply.github.com>2014-11-09 21:45:20 +0100
commitc1e1099c701de325a076172bcadf544e5b3000c9 (patch)
treeff668a7eab5fe25f97a428c997f1c379613483dd
parent3742a813233edca6a59cc027209b8cd6bfd6b70b (diff)
downloadhercules-c1e1099c701de325a076172bcadf544e5b3000c9.tar.gz
hercules-c1e1099c701de325a076172bcadf544e5b3000c9.tar.bz2
hercules-c1e1099c701de325a076172bcadf544e5b3000c9.tar.xz
hercules-c1e1099c701de325a076172bcadf544e5b3000c9.zip
Follow git rev: cf18e5578f85bc6c368a2ad4d7c746af8687c7f0
This fix bug: 8430 Sorry for this I forgot this in my revert... Thanks to Playtester
-rw-r--r--src/map/mob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index e2cf765ee..466124928 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1616,6 +1616,7 @@ bool mob_ai_sub_hard(struct mob_data *md, int64 tick) {
{ //Only attack if no more attack delay left
if(tbl->type == BL_PC)
mob->log_damage(md, tbl, 0); //Log interaction (counts as 'attacker' for the exp bonus)
+ unit->attack(&md->bl,tbl->id,1);
}
return true;
}