Logging Mob::TryCriticalHit [skip ci]

This commit is contained in:
Akkadius committed 2019-10-06 02:12:15 -05:00
1 parent c684709712
commit 28c8af96e3
2 files changed
+16 -1

No files matched your search

+8
View File
@@ -3989,6 +3989,14 @@ void Mob::TryCriticalHit(Mob *defender, uint16 skill, int32 &damage, ExtraAttack
critChance += opts->crit_flat;
}
Log.Out(
Logs::General,
Logs::Combat,
"[%s] [Mob::TryCriticalHit] CritChance [%i]",
GetCleanName(),
critChance
);
if(critChance > 0) {
critChance /= 100;