mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992)
This commit is contained in:
@@ -699,7 +699,7 @@ class spell_warl_soulshatter : public SpellScript
|
||||
Unit* caster = GetCaster();
|
||||
if (Unit* target = GetHitUnit())
|
||||
{
|
||||
if (target->CanHaveThreatList() && target->GetThreatMgr().getThreat(caster) > 0.0f)
|
||||
if (target->CanHaveThreatList() && target->GetThreatMgr().GetThreat(caster) > 0.0f)
|
||||
caster->CastSpell(target, SPELL_WARLOCK_SOULSHATTER, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user