mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
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();
|
||||
ScheduleHealthCheckEvent(25, [&] {
|
||||
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();
|
||||
}
|
||||
|
||||
void JustSummoned(Creature* /*creature*/) override
|
||||
{
|
||||
// Override JustSummoned() so we don't despawn the Avatar.
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
|
||||
Reference in New Issue
Block a user