mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +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())
|
if (_chargeTarget.first == hatedUnit->GetGUID())
|
||||||
{
|
{
|
||||||
// Do not count DOTs/HOTs
|
// 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;
|
_chargeTarget.second += threat;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user