mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
Scripts/TotT: reset Ozumat's events properly when being defeated to avoid summoning Blight of Ozumat when the encounter is done
This commit is contained in:
@@ -267,6 +267,7 @@ struct boss_ozumat : public BossAI
|
||||
if (GameObject* cache = me->SummonGameObject(IsHeroic() ? GO_NEPTULONS_CACHE_HEROIC : GO_NEPTULONS_CACHE_NORMAL, NeptulonsCachePos, NeptulonsCacheRot, WEEK, GO_SUMMON_TIMED_DESPAWN))
|
||||
cache->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
|
||||
|
||||
events.Reset();
|
||||
events.ScheduleEvent(EVENT_CHANGE_SEAT, 3s + 500ms);
|
||||
_dead = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user