Scripts/TotFW: removed far visible and setActive calls as the new aoi types now handle this

This commit is contained in:
Ovahlord
2020-07-13 12:09:00 +02:00
parent d46fb93657
commit fac96b99b5

View File

@@ -83,8 +83,6 @@ class instance_throne_of_the_four_winds : public InstanceMapScript
{
case BOSS_ALAKIR:
creature->setActive(true);
creature->SetFarVisible(true);
if (GetBossState(DATA_CONCLAVE_OF_WIND) != DONE)
creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
break;
@@ -118,8 +116,6 @@ class instance_throne_of_the_four_winds : public InstanceMapScript
case BOSS_ANSHAL:
case BOSS_NEZIR:
case BOSS_ROHASH:
creature->setActive(true);
creature->SetFarVisible(true);
break;
default:
break;
@@ -130,9 +126,6 @@ class instance_throne_of_the_four_winds : public InstanceMapScript
{
InstanceScript::OnGameObjectCreate(go);
go->setActive(true);
go->SetFarVisible(true);
switch (go->GetEntry())
{
case GO_SKYWALL_RAID_CENTER_PLATFORM: