mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
fix(Scripts/TempleOfAhnQiraj): Sand Blast threat-wipe mechanic (#13577)
init Co-authored-by: Si1ker <Si1ker@users.noreply.github.com>
This commit is contained in:
@@ -190,7 +190,9 @@ struct boss_ouro : public BossAI
|
|||||||
void SpellHitTarget(Unit* target, SpellInfo const* spellInfo) override
|
void SpellHitTarget(Unit* target, SpellInfo const* spellInfo) override
|
||||||
{
|
{
|
||||||
if (spellInfo->Id == SPELL_SAND_BLAST && target)
|
if (spellInfo->Id == SPELL_SAND_BLAST && target)
|
||||||
me->GetThreatMgr().ModifyThreatByPercent(target, 100);
|
{
|
||||||
|
me->GetThreatMgr().ModifyThreatByPercent(target, -100);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Emerge()
|
void Emerge()
|
||||||
|
|||||||
Reference in New Issue
Block a user