mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 16:28:28 +00:00
Damage Table logging [skip ci]
This commit is contained in:
@@ -68,8 +68,18 @@ function MeleeMitigation(e)
|
||||
return e;
|
||||
end
|
||||
|
||||
eq.debug(
|
||||
string.format("[%s] ClientAttack] Damage Table [%i] WeaponDMG [%i]",
|
||||
e.self:GetCleanName(),
|
||||
GetDamageTable(e.other, e.hit.skill),
|
||||
e.hit.base_damage
|
||||
)
|
||||
);
|
||||
|
||||
-- Shouldn't this be using the client e.self instead of e.other ?
|
||||
e.hit.damage_done = 2 * e.hit.base_damage * GetDamageTable(e.other, e.hit.skill) / 100;
|
||||
e.hit = DoMeleeMitigation(e.self, e.other, e.hit, e.opts);
|
||||
|
||||
return e;
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user