mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992)
This commit is contained in:
@@ -101,7 +101,7 @@ struct npc_pet_mage_mirror_image : CasterAI
|
||||
while (ref)
|
||||
{
|
||||
if (Unit* unit = ref->GetSource()->GetOwner())
|
||||
unit->AddThreat(me, ref->getThreat() - ref->getTempThreatModifier());
|
||||
unit->AddThreat(me, ref->GetThreat() - ref->getTempThreatModifier());
|
||||
ref = ref->next();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user