mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Update boss_sapphiron_40.cpp
This commit is contained in:
@@ -117,11 +117,14 @@ public:
|
|||||||
|
|
||||||
void InitializeAI() override
|
void InitializeAI() override
|
||||||
{
|
{
|
||||||
me->SummonGameObject(GO_SAPPHIRON_BIRTH, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, 0, 0, 0, 0, 0);
|
if (pInstance->GetBossState(BOSS_SAPPHIRON) != DONE)
|
||||||
me->SetVisible(false);
|
{
|
||||||
me->SetUnitFlag(UNIT_FLAG_NON_ATTACKABLE);
|
me->SummonGameObject(GO_SAPPHIRON_BIRTH, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0, 0, 0, 0, 0, 0);
|
||||||
me->SetReactState(REACT_PASSIVE);
|
me->SetVisible(false);
|
||||||
ScriptedAI::InitializeAI();
|
me->SetUnitFlag(UNIT_FLAG_NON_ATTACKABLE);
|
||||||
|
me->SetReactState(REACT_PASSIVE);
|
||||||
|
ScriptedAI::InitializeAI();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsInRoom()
|
bool IsInRoom()
|
||||||
|
|||||||
Reference in New Issue
Block a user