mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 03:53:48 +00:00
fix(Scripts/SethekkHalls): Prevent Ikiss from moving during the Arcane Explosion combo (#24471)
This commit is contained in:
@@ -56,17 +56,20 @@ struct boss_talon_king_ikiss : public BossAI
|
|||||||
void Reset() override
|
void Reset() override
|
||||||
{
|
{
|
||||||
_Reset();
|
_Reset();
|
||||||
_spoken = false;
|
me->SetReactState(REACT_AGGRESSIVE);
|
||||||
ScheduleHealthCheckEvent({ 80, 50, 25 }, [&] {
|
ScheduleHealthCheckEvent({ 80, 50, 25 }, [&] {
|
||||||
me->InterruptNonMeleeSpells(false);
|
me->InterruptNonMeleeSpells(false);
|
||||||
|
me->SetReactState(REACT_PASSIVE);
|
||||||
|
me->AttackStop();
|
||||||
DoCastAOE(SPELL_BLINK);
|
DoCastAOE(SPELL_BLINK);
|
||||||
DoCastSelf(SPELL_ARCANE_BUBBLE, true);
|
DoCastSelf(SPELL_ARCANE_BUBBLE, true);
|
||||||
Talk(EMOTE_ARCANE_EXP);
|
Talk(EMOTE_ARCANE_EXP);
|
||||||
scheduler.Schedule(1s, [this](TaskContext /*context*/)
|
scheduler.Schedule(1s, [this](TaskContext /*context*/)
|
||||||
{
|
{
|
||||||
DoCastAOE(SPELL_ARCANE_EXPLOSION);
|
DoCastAOE(SPELL_ARCANE_EXPLOSION);
|
||||||
}).Schedule(6500ms, [this](TaskContext /*context*/)
|
}).Schedule(7s, [this](TaskContext /*context*/)
|
||||||
{
|
{
|
||||||
|
me->SetReactState(REACT_AGGRESSIVE);
|
||||||
me->GetThreatMgr().ResetAllThreat();
|
me->GetThreatMgr().ResetAllThreat();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -160,7 +163,7 @@ class spell_talon_king_ikiss_blink : public SpellScript
|
|||||||
void HandleDummyHitTarget(SpellEffIndex effIndex)
|
void HandleDummyHitTarget(SpellEffIndex effIndex)
|
||||||
{
|
{
|
||||||
PreventHitDefaultEffect(effIndex);
|
PreventHitDefaultEffect(effIndex);
|
||||||
GetHitUnit()->CastSpell(GetCaster(), SPELL_BLINK_TELEPORT, true);
|
GetCaster()->CastSpell(GetHitUnit(), SPELL_BLINK_TELEPORT, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Register() override
|
void Register() override
|
||||||
|
|||||||
Reference in New Issue
Block a user