fix(Scripts/TempleOfAhnQiraj): Sand Blast threat-wipe mechanic (#13577)
init Co-authored-by: Si1ker <Si1ker@users.noreply.github.com>
This commit is contained in:
parent
b4a21ff445
commit
c06f296a5f
1 changed files with 3 additions and 1 deletions
|
|
@ -190,7 +190,9 @@ struct boss_ouro : public BossAI
|
|||
void SpellHitTarget(Unit* target, SpellInfo const* spellInfo) override
|
||||
{
|
||||
if (spellInfo->Id == SPELL_SAND_BLAST && target)
|
||||
me->GetThreatMgr().ModifyThreatByPercent(target, 100);
|
||||
{
|
||||
me->GetThreatMgr().ModifyThreatByPercent(target, -100);
|
||||
}
|
||||
}
|
||||
|
||||
void Emerge()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue