fix(Scripts/AuchenaiCrypts): Fix Exarch Maladaar despawning the avata… (#16625)
This commit is contained in:
@@ -74,7 +74,10 @@ struct boss_exarch_maladaar : public BossAI
|
|||||||
_Reset();
|
_Reset();
|
||||||
ScheduleHealthCheckEvent(25, [&] {
|
ScheduleHealthCheckEvent(25, [&] {
|
||||||
Talk(SAY_SUMMON);
|
Talk(SAY_SUMMON);
|
||||||
DoCastSelf(SPELL_SUMMON_AVATAR);
|
scheduler.Schedule(100ms, [this](TaskContext)
|
||||||
|
{
|
||||||
|
DoCastSelf(SPELL_SUMMON_AVATAR);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,6 +136,11 @@ struct boss_exarch_maladaar : public BossAI
|
|||||||
_JustDied();
|
_JustDied();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void JustSummoned(Creature* /*creature*/) override
|
||||||
|
{
|
||||||
|
// Override JustSummoned() so we don't despawn the Avatar.
|
||||||
|
}
|
||||||
|
|
||||||
void UpdateAI(uint32 diff) override
|
void UpdateAI(uint32 diff) override
|
||||||
{
|
{
|
||||||
if (!UpdateVictim())
|
if (!UpdateVictim())
|
||||||
|
|||||||
Reference in New Issue
Block a user