mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
fix(Scripts/Naxxramas): Re enable Portal Hub teleport requirement (#18844)
fix naxxramas portal hub trigger
This commit is contained in:
@@ -1196,7 +1196,12 @@ public:
|
||||
{
|
||||
if (InstanceScript *instance = player->GetInstanceScript())
|
||||
{
|
||||
if (instance->CheckRequiredBosses(BOSS_SAPPHIRON))
|
||||
bool AreAllWingsCleared = instance->GetBossState(BOSS_MAEXXNA) == DONE
|
||||
&& (instance->GetBossState(BOSS_LOATHEB) == DONE)
|
||||
&& (instance->GetBossState(BOSS_THADDIUS) == DONE)
|
||||
&& (instance->GetBossState(BOSS_HORSEMAN) == DONE);
|
||||
|
||||
if (AreAllWingsCleared)
|
||||
{
|
||||
player->TeleportTo(533, sapphironEntryTP.m_positionX, sapphironEntryTP.m_positionY, sapphironEntryTP.m_positionZ, sapphironEntryTP.m_orientation);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user