mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +00:00
fix(Scripts/Ulduar): Adjust Living Constellation's Arcane Barrage (#26681)
Co-authored-by: sogladev <sogladev@gmail.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
--
|
||||||
|
UPDATE `creature_template` SET `CreatureImmunitiesId` = -280 WHERE (`entry` IN (33052, 33116));
|
||||||
@@ -949,7 +949,7 @@ struct npc_living_constellation : public ScriptedAI
|
|||||||
void Reset() override
|
void Reset() override
|
||||||
{
|
{
|
||||||
events.Reset();
|
events.Reset();
|
||||||
events.ScheduleEvent(EVENT_ARCANE_BARRAGE, 2500ms);
|
events.ScheduleEvent(EVENT_ARCANE_BARRAGE, 5s);
|
||||||
_isActive = false;
|
_isActive = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1007,8 +1007,8 @@ struct npc_living_constellation : public ScriptedAI
|
|||||||
switch (events.ExecuteEvent())
|
switch (events.ExecuteEvent())
|
||||||
{
|
{
|
||||||
case EVENT_ARCANE_BARRAGE:
|
case EVENT_ARCANE_BARRAGE:
|
||||||
me->CastCustomSpell(SPELL_ARCANE_BARRAGE, SPELLVALUE_MAX_TARGETS, 1, (Unit*)nullptr, true);
|
me->CastCustomSpell(SPELL_ARCANE_BARRAGE, SPELLVALUE_MAX_TARGETS, 1, (Unit*)nullptr, false);
|
||||||
events.Repeat(2500ms);
|
events.Repeat(5s);
|
||||||
break;
|
break;
|
||||||
case EVENT_RESUME_UPDATING:
|
case EVENT_RESUME_UPDATING:
|
||||||
events.SetPhase(0);
|
events.SetPhase(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user