void ContinueEvent() { if (!m_pInstance || m_pInstance->GetData(TYPE_TRIBUNAL) != IN_PROGRESS) return; // Set the achiev in progress m_pInstance->SetBrannSpankin(true); m_creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP); SetRun(true); SetEscortPaused(false); m_bHasContinued = true; }
void DamageTaken(Unit* /*pDealer*/, uint32& uiDamage) override { // If Brann takes damage, mark the achiev as failed if (uiDamage && m_pInstance) m_pInstance->SetBrannSpankin(false); }