mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-10 20:22:41 +00:00
Update some of the logging [skip ci]
This commit is contained in:
parent
c131eca57f
commit
55c61ddc78
@ -223,11 +223,11 @@ function CheckHitChance(e)
|
|||||||
local tohit_roll = Random.Real(0, 100);
|
local tohit_roll = Random.Real(0, 100);
|
||||||
|
|
||||||
eq.debug(
|
eq.debug(
|
||||||
string.format("[%s] [Mob::CheckHitChance] Chance [%i] ToHitRoll [%i] Hit? [%t]",
|
string.format("[%s] [Mob::CheckHitChance] Chance [%i] ToHitRoll [%i] Hit? [%s]",
|
||||||
e.self:GetCleanName(),
|
e.self:GetCleanName(),
|
||||||
chancetohit,
|
chancetohit,
|
||||||
tohit_roll,
|
tohit_roll,
|
||||||
(tohit_roll <= chancetohit)
|
(tohit_roll <= chancetohit) and "true" or "false"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -626,12 +626,11 @@ function DoMeleeMitigation(defender, attacker, hit, opts)
|
|||||||
end
|
end
|
||||||
|
|
||||||
eq.debug(
|
eq.debug(
|
||||||
string.format("[%s] [Mob::MeleeMitigation] Attack Rating [%02f] Mitigation Rating [%02f] Damage [%i] MinDmg [%i]",
|
string.format("[%s] [Mob::MeleeMitigation] Attack Rating [%02f] Mitigation Rating [%02f] Damage [%i]",
|
||||||
defender:GetCleanName(),
|
defender:GetCleanName(),
|
||||||
mitigation_rating,
|
|
||||||
attack_rating,
|
attack_rating,
|
||||||
hit_damage_done,
|
mitigation_rating,
|
||||||
hit.min_damage
|
hit.damage_done
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -763,7 +762,7 @@ function MobGetMeleeMitDmg(defender, attacker, damage, min_damage, mitigation_ra
|
|||||||
|
|
||||||
eq.debug(
|
eq.debug(
|
||||||
string.format("[%s] [Mob::GetMeleeMitDmg] Damage [%02f] Post Interval",
|
string.format("[%s] [Mob::GetMeleeMitDmg] Damage [%02f] Post Interval",
|
||||||
e.self:GetCleanName(),
|
defender:GetCleanName(),
|
||||||
damage
|
damage
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user