void ProcessCentralDoor() { if (IsCentralDoorClosed()) { m_pInstance->SetData(TYPE_GOTHIK, SPECIAL); DoScriptText(EMOTE_GATE, m_creature); } }
void JustSummoned(Creature* pSummoned) override { m_lSummonedAddGuids.push_back(pSummoned->GetObjectGuid()); if (!IsCentralDoorClosed()) { pSummoned->SetInCombatWithZone(); } }
void JustSummoned(Creature* pSummoned) { m_lSummonedAddGuids.push_back(pSummoned->GetObjectGuid()); if (!IsCentralDoorClosed()) pSummoned->SetInCombatWithZone(); // No respawns pSummoned->SetRespawnEnabled(false); }