Logging to Mob::ApplyMeleeDamageBonus [skip ci]

This commit is contained in:
Akkadius
2019-10-06 01:57:48 -05:00
parent 0b790342e7
commit 225b3fffbd
2 changed files with 17 additions and 0 deletions
+8
View File
@@ -889,6 +889,14 @@ function ApplyMeleeDamageBonus(e)
dmgbonusmod = dmgbonusmod + e.opts.melee_damage_bonus_flat;
end
eq.debug(
string.format("[%s] [Mob::ApplyMeleeDamageBonus] DmgBonusMod [%i] Dmg [%i]",
e.self:GetCleanName(),
dmgbonusmod,
e.hit.damage_done
)
);
e.hit.damage_done = e.hit.damage_done + (e.hit.damage_done * dmgbonusmod / 100);
return e;
end