More scanning changes around AE cast

This commit is contained in:
Akkadius
2019-12-28 23:58:18 -06:00
parent b11528fbcc
commit 9481e9eb2d
7 changed files with 91 additions and 41 deletions
+3 -4
View File
@@ -850,11 +850,12 @@ int Mob::ACSum()
auto over_cap = ac - softcap;
ac = softcap + (over_cap * returns);
}
LogCombat("ACSum ac [{}] softcap [{}] returns [{}]", ac, softcap, returns);
LogCombatDetail("ACSum ac [{}] softcap [{}] returns [{}]", ac, softcap, returns);
}
else {
LogCombat("ACSum ac [{}]", ac);
LogCombatDetail("ACSum ac [{}]", ac);
}
return ac;
}
@@ -2153,8 +2154,6 @@ bool NPC::Death(Mob* killer_mob, int32 damage, uint16 spell, EQEmu::skills::Skil
LogCombat("Fatal blow dealt by [{}] with [{}] damage, spell [{}], skill [{}]",
((killer_mob) ? (killer_mob->GetName()) : ("[nullptr]")), damage, spell, attack_skill);
entity_list.RemoveMobFromCloseLists(CastToMob());
Mob *oos = nullptr;
if (killer_mob) {
oos = killer_mob->GetOwnerOrSelf();