fix(Scripts/Karazhan): Curator fixes (#17270)

* stop channeling on enrage

* Create rev_1694861198470600600.sql

* Update boss_curator.cpp

* Update src/server/scripts/EasternKingdoms/Karazhan/boss_curator.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

---------

Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
Tereneckla
2023-09-17 13:26:26 +00:00
committed by GitHub
parent 764611eaf6
commit 1eb573be1c
2 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `creature_template` SET `unit_flags2` = 0 WHERE (`entry` = 15691);

View File

@@ -54,8 +54,9 @@ struct boss_curator : public BossAI
me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_POWER_BURN, true);
me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_POWER_BURN, true);
ScheduleHealthCheckEvent(15, [&] {
DoCastSelf(SPELL_ARCANE_INFUSION, true);
Talk(SAY_ENRAGE);
me->InterruptNonMeleeSpells(true);
DoCastSelf(SPELL_ARCANE_INFUSION, true);
Talk(SAY_ENRAGE);
});
}
@@ -85,7 +86,7 @@ struct boss_curator : public BossAI
DoCastSelf(SPELL_ASTRAL_DECONSTRUCTION, true);
}).Schedule(10s, [this](TaskContext context)
{
if (Unit* target = SelectTarget(SelectTargetMethod::MaxThreat, 0, 45.0f, true, false))
if (Unit* target = SelectTarget(SelectTargetMethod::MaxThreat, 1, 45.0f, true, false))
{
DoCast(target, SPELL_HATEFUL_BOLT);
}