mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Scripts/SunwellPlateau): Fix Entropius wrong spell ID and timers (#21970)
This commit is contained in:
@@ -45,7 +45,7 @@ enum Spells
|
|||||||
SPELL_ENTROPIUS_COSMETIC_SPAWN = 46223,
|
SPELL_ENTROPIUS_COSMETIC_SPAWN = 46223,
|
||||||
SPELL_NEGATIVE_ENERGY_PERIODIC = 46284,
|
SPELL_NEGATIVE_ENERGY_PERIODIC = 46284,
|
||||||
SPELL_BLACK_HOLE = 46282,
|
SPELL_BLACK_HOLE = 46282,
|
||||||
SPELL_DARKNESS = 46268,
|
SPELL_DARKNESS = 46269,
|
||||||
SPELL_SUMMON_DARK_FIEND_ENTROPIUS = 46263,
|
SPELL_SUMMON_DARK_FIEND_ENTROPIUS = 46263,
|
||||||
|
|
||||||
//Black Hole Spells
|
//Black Hole Spells
|
||||||
@@ -168,13 +168,13 @@ struct boss_entropius : public ScriptedAI
|
|||||||
|
|
||||||
void JustEngagedWith(Unit* /*who*/) override
|
void JustEngagedWith(Unit* /*who*/) override
|
||||||
{
|
{
|
||||||
ScheduleTimedEvent(10s, [&] {
|
ScheduleTimedEvent(8s, 29s, [this]() {
|
||||||
DoCastRandomTarget(SPELL_DARKNESS, 0, 50.0f, true, true);
|
DoCastRandomTarget(SPELL_DARKNESS, 0, 50.0f, true, true);
|
||||||
}, 15s);
|
}, 8s, 29s);
|
||||||
|
|
||||||
ScheduleTimedEvent(15s, [&] {
|
ScheduleTimedEvent(14s, 29s, [this]() {
|
||||||
DoCastRandomTarget(SPELL_BLACK_HOLE, 0, 50.0f, true, true);
|
DoCastRandomTarget(SPELL_BLACK_HOLE, 0, 50.0f, false, true);
|
||||||
}, 15s);
|
}, 14s, 29s);
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustDied(Unit* /*killer*/) override
|
void JustDied(Unit* /*killer*/) override
|
||||||
@@ -329,7 +329,7 @@ struct npc_singularity : public NullCreatureAI
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// No valid target found, check again soon
|
// No valid target found, check again soon
|
||||||
context.Repeat(1s);
|
context.Repeat();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user