From b86f7be4c6469e7cda7069d00eba41c406b38047 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Thu, 26 Jul 2018 21:57:41 +0200 Subject: [PATCH] Scripts/LCT: set Siamat and his Platform active and far visible by default --- .../instance_lost_city_of_the_tolvir.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/server/scripts/Kalimdor/LostCityOfTheTolvir/instance_lost_city_of_the_tolvir.cpp b/src/server/scripts/Kalimdor/LostCityOfTheTolvir/instance_lost_city_of_the_tolvir.cpp index 83a93a2073e..cd50a283551 100644 --- a/src/server/scripts/Kalimdor/LostCityOfTheTolvir/instance_lost_city_of_the_tolvir.cpp +++ b/src/server/scripts/Kalimdor/LostCityOfTheTolvir/instance_lost_city_of_the_tolvir.cpp @@ -110,6 +110,10 @@ class instance_lost_city_of_the_tolvir : public InstanceMapScript switch (creature->GetEntry()) { + case BOSS_SIAMAT: + creature->SetFarVisible(true); + creature->setActive(true); + break; case NPC_ADD_STALKER: addStalkerGUIDs.push_back(creature->GetGUID()); break; @@ -132,9 +136,10 @@ class instance_lost_city_of_the_tolvir : public InstanceMapScript switch (go->GetEntry()) { case GO_SIAMATS_PLATFORM: + go->setActive(true); + go->SetFarVisible(true); if (IsSiamatEnabled()) { - go->setActive(true); go->SetDestructibleState(GO_DESTRUCTIBLE_DESTROYED); go->EnableCollision(true); } @@ -172,16 +177,12 @@ class instance_lost_city_of_the_tolvir : public InstanceMapScript { if (GameObject* platform = GetGameObject(DATA_SIAMAT_PLATFORM)) { - platform->setActive(true); platform->SetDestructibleState(GO_DESTRUCTIBLE_DESTROYED); platform->EnableCollision(true); } if (Creature* siamat = GetCreature(DATA_SIAMAT)) - { - siamat->setActive(true); siamat->AI()->DoAction(ACTION_UNLEASHED); - } instance->SetZoneWeather(ZONE_ID_LOST_CITY, WEATHER_STATE_HEAVY_RAIN, 1.0f); instance->SummonCreatureGroup(SUMMON_GROUP_WIND_TUNNEL);