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:
Ovahlord
2018-12-15 23:07:05 +01:00
parent e71fc57d3e
commit 7beb9657da

View File

@@ -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;
}