mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Scripts/TotT: keep Ozumat's big vehicle as active to make sure the grid remains loaded for the cutscene
This commit is contained in:
@@ -43,6 +43,7 @@ struct npc_tott_ozumat_vehicle_big : public ScriptedAI
|
||||
|
||||
void JustAppeared() override
|
||||
{
|
||||
me->setActive(true); // ugly but the only safe way for now to keep the grid loaded...
|
||||
if (_instance->GetData(DATA_CURRENT_EVENT_PROGRESS) < EVENT_INDEX_DEFENSE_SYSTEM_ACTIVATED)
|
||||
if (Creature* ozumat = DoSummon(NPC_OZUMAT, me->GetPosition()))
|
||||
me->HandleSpellClick(ozumat, SEAT_TENTACLE_BLOCK);
|
||||
|
||||
Reference in New Issue
Block a user