Update boss_sapphiron_40.cpp

This commit is contained in:
Grimfeather
2025-07-03 14:48:01 +02:00
committed by GitHub
parent 8567cfd6a0
commit 6e414024ef

View File

@@ -116,6 +116,8 @@ public:
ObjectGuid currentTarget; ObjectGuid currentTarget;
void InitializeAI() override void InitializeAI() override
{
if (pInstance->GetBossState(BOSS_SAPPHIRON) != DONE)
{ {
me->SummonGameObject(GO_SAPPHIRON_BIRTH, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, 0, 0, 0, 0, 0); me->SummonGameObject(GO_SAPPHIRON_BIRTH, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, 0, 0, 0, 0, 0);
me->SetVisible(false); me->SetVisible(false);
@@ -123,6 +125,7 @@ public:
me->SetReactState(REACT_PASSIVE); me->SetReactState(REACT_PASSIVE);
ScriptedAI::InitializeAI(); ScriptedAI::InitializeAI();
} }
}
bool IsInRoom() bool IsInRoom()
{ {