fix(Scripts/TempleOfAhnQiraj): Correct Battleguard Sartura spell ids (#11597)

This commit is contained in:
Skjalf
2022-05-02 07:55:55 -03:00
committed by GitHub
parent 3a35380c1e
commit 0ffa270c94
@@ -33,8 +33,8 @@ enum Sartura
SAY_DEATH = 2, SAY_DEATH = 2,
SPELL_WHIRLWIND = 26083, SPELL_WHIRLWIND = 26083,
SPELL_ENRAGE = 28747, //Not sure if right ID. SPELL_ENRAGE = 8269,
SPELL_ENRAGEHARD = 28798, SPELL_BERSERK = 27680,
//Guard Spell //Guard Spell
SPELL_WHIRLWINDADD = 26038, SPELL_WHIRLWINDADD = 26038,
@@ -166,7 +166,7 @@ public:
{ {
if (!HealthAbovePct(20) && !me->IsNonMeleeSpellCast(false)) if (!HealthAbovePct(20) && !me->IsNonMeleeSpellCast(false))
{ {
DoCast(me, SPELL_ENRAGE); DoCast(me, SPELL_ENRAGE, true);
Enraged = true; Enraged = true;
} }
} }
@@ -176,7 +176,7 @@ public:
{ {
if (EnrageHard_Timer <= diff) if (EnrageHard_Timer <= diff)
{ {
DoCast(me, SPELL_ENRAGEHARD); DoCast(me, SPELL_BERSERK, true);
EnragedHard = true; EnragedHard = true;
} }
else EnrageHard_Timer -= diff; else EnrageHard_Timer -= diff;