Wow, sorry about that -- that'd would produce an insane amount of hate.
Here's the update:
Code:
Index: zone/attack.cpp
===================================================================
--- zone/attack.cpp (revision 1603)
+++ zone/attack.cpp (working copy)
@@ -1253,6 +1253,7 @@
other->MeleeMitigation(this, damage, min_hit);
ApplyMeleeDamageBonus(skillinuse, damage);
TryCriticalHit(other, skillinuse, damage);
+ hate += damage * (this->spellbonuses.hatemod + this->itembonuses.hatemod + this->aabonuses.hatemod)/100;
mlog(COMBAT__DAMAGE, "Final damage after all reductions: %d", damage);
}