fix(Scripts/VaultOfArchavon): despawn Emalon's Tempest Minions on hard reset (#27432)

Co-authored-by: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Øyvind
2026-09-02 10:30:11 -03:00
committed by GitHub
co-authored by Claude Fable 5.1
parent 90097aba84
commit 9eab2c5ec1
@@ -124,6 +124,13 @@ public:
events.ScheduleEvent(EVENT_SUMMON_NEXT_MINION, 4s);
}
// Called by Creature::DespawnOnEvade (CREATURE_FLAG_EXTRA_HARD_RESET) after Reset() already
// summoned a fresh set of minions; without this they outlive the boss and stack up per wipe.
void SummonedCreatureDespawnAll() override
{
summons.DespawnAll();
}
void SpellHitTarget(Unit* target, SpellInfo const* spellInfo) override
{
// restore minions health