mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(Scripts/ZulGurub): Threat caused by SPELL_AURA_DAMAGE_SHIELD au… (#12398)
...ras should not count to Threating Gaze Charge mechanic. Fixes #12379
This commit is contained in:
@@ -286,7 +286,7 @@ public:
|
||||
if (_chargeTarget.first == hatedUnit->GetGUID())
|
||||
{
|
||||
// Do not count DOTs/HOTs
|
||||
if (!threatSpell || !threatSpell->HasAttribute(SPELL_ATTR0_CU_NO_INITIAL_THREAT))
|
||||
if (!(threatSpell && (threatSpell->HasAura(SPELL_AURA_DAMAGE_SHIELD) || threatSpell->HasAttribute(SPELL_ATTR0_CU_NO_INITIAL_THREAT))))
|
||||
{
|
||||
_chargeTarget.second += threat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user