mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-12 12:05:12 +00:00
refactor(Core): DespawnOrUnsummon (#23141)
This commit is contained in:
@@ -141,7 +141,7 @@ struct boss_vexallus : public BossAI
|
||||
void SummonedCreatureDies(Creature* summon, Unit* killer) override
|
||||
{
|
||||
summons.Despawn(summon);
|
||||
summon->DespawnOrUnsummon(1);
|
||||
summon->DespawnOrUnsummon(1ms);
|
||||
if (killer)
|
||||
killer->CastSpell(killer, SPELL_ENERGY_FEEDBACK, true, 0, 0, summon->GetGUID());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user