mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user