From 7beb9657dac26584e5aa6e6c0fda2e8218ca9ee0 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sat, 15 Dec 2018 23:07:05 +0100 Subject: [PATCH] Scripts/TotT: reset Ozumat's events properly when being defeated to avoid summoning Blight of Ozumat when the encounter is done --- .../scripts/EasternKingdoms/ThroneOfTheTides/boss_ozumat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/scripts/EasternKingdoms/ThroneOfTheTides/boss_ozumat.cpp b/src/server/scripts/EasternKingdoms/ThroneOfTheTides/boss_ozumat.cpp index c0b20a25ff7..c348cee96d9 100644 --- a/src/server/scripts/EasternKingdoms/ThroneOfTheTides/boss_ozumat.cpp +++ b/src/server/scripts/EasternKingdoms/ThroneOfTheTides/boss_ozumat.cpp @@ -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; }