mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +00:00
Damage Table logging [skip ci]
This commit is contained in:
@@ -1168,6 +1168,16 @@ bool Client::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, b
|
||||
return (true);
|
||||
|
||||
int min_hit = 1;
|
||||
|
||||
Log.Out(
|
||||
Logs::General,
|
||||
Logs::Combat,
|
||||
"[%s] [Client::Attack] Damage Table [%u] WeaponDMG [%i]",
|
||||
GetCleanName(),
|
||||
GetDamageTable(skillinuse),
|
||||
weapon_damage
|
||||
);
|
||||
|
||||
int max_hit = (2*weapon_damage*GetDamageTable(skillinuse)) / 100;
|
||||
|
||||
if(GetLevel() < 10 && max_hit > RuleI(Combat, HitCapPre10))
|
||||
|
||||
Reference in New Issue
Block a user