mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
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:
@@ -0,0 +1,2 @@
|
|||||||
|
--
|
||||||
|
UPDATE `creature_template` SET `unit_flags2` = 0 WHERE (`entry` = 15691);
|
||||||
@@ -54,8 +54,9 @@ struct boss_curator : public BossAI
|
|||||||
me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_POWER_BURN, true);
|
me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_POWER_BURN, true);
|
||||||
me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_POWER_BURN, true);
|
me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_POWER_BURN, true);
|
||||||
ScheduleHealthCheckEvent(15, [&] {
|
ScheduleHealthCheckEvent(15, [&] {
|
||||||
DoCastSelf(SPELL_ARCANE_INFUSION, true);
|
me->InterruptNonMeleeSpells(true);
|
||||||
Talk(SAY_ENRAGE);
|
DoCastSelf(SPELL_ARCANE_INFUSION, true);
|
||||||
|
Talk(SAY_ENRAGE);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,7 +86,7 @@ struct boss_curator : public BossAI
|
|||||||
DoCastSelf(SPELL_ASTRAL_DECONSTRUCTION, true);
|
DoCastSelf(SPELL_ASTRAL_DECONSTRUCTION, true);
|
||||||
}).Schedule(10s, [this](TaskContext context)
|
}).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);
|
DoCast(target, SPELL_HATEFUL_BOLT);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user