refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992)
This commit is contained in:
parent
ddcf0e79b6
commit
1f472bddd3
61 changed files with 212 additions and 196 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue