fix(Scripts/Ulduar): Don't treat Algalon respawns as if they were the… (#17562)
* fix(Scripts/Ulduar): Don't treat Algalon respawns as if they were the first pull * Update boss_algalon_the_observer.cpp
This commit is contained in:
@@ -388,6 +388,11 @@ public:
|
|||||||
_phaseTwo = false;
|
_phaseTwo = false;
|
||||||
_heraldOfTheTitans = true;
|
_heraldOfTheTitans = true;
|
||||||
|
|
||||||
|
if (m_pInstance->GetData(TYPE_ALGALON) == FAIL)
|
||||||
|
{
|
||||||
|
_firstPull = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (m_pInstance)
|
if (m_pInstance)
|
||||||
m_pInstance->SetData(TYPE_ALGALON, NOT_STARTED);
|
m_pInstance->SetData(TYPE_ALGALON, NOT_STARTED);
|
||||||
}
|
}
|
||||||
@@ -1151,6 +1156,14 @@ public:
|
|||||||
|
|
||||||
if (GameObject* sigil = ObjectAccessor::GetGameObject(*me, instance->GetGuidData(GO_DOODAD_UL_SIGILDOOR_02)))
|
if (GameObject* sigil = ObjectAccessor::GetGameObject(*me, instance->GetGuidData(GO_DOODAD_UL_SIGILDOOR_02)))
|
||||||
sigil->SetGoState(GO_STATE_ACTIVE);
|
sigil->SetGoState(GO_STATE_ACTIVE);
|
||||||
|
|
||||||
|
if (Map* map = player->GetMap())
|
||||||
|
{
|
||||||
|
if (InstanceMap* instanceMap = map->ToInstanceMap())
|
||||||
|
{
|
||||||
|
instanceMap->PermBindAllPlayers();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user