Ejemplo n.º 1
0
    void Aggro(Unit* /*pWho*/) override
    {
        DoScriptText(SAY_AGGRO, m_creature);

        if (m_pInstance)
            m_pInstance->SetData(TYPE_BROGGOK_EVENT, IN_PROGRESS);
    }
    void JustDied(Unit* /*pKiller*/) override
    {
        DoScriptText(SAY_DIE, m_creature);

        if (m_pInstance)
            m_pInstance->SetData(TYPE_KELIDAN_EVENT, DONE);
    }
    void JustReachedHome() override
    {
        if (m_pInstance)
            m_pInstance->SetData(TYPE_KELIDAN_EVENT, FAIL);

        DoCastSpellIfCan(m_creature, SPELL_EVOCATION);
        m_uiSetupAddsTimer = 2000;
    }
Ejemplo n.º 4
0
 void JustDied(Unit* /*pWho*/) override
 {
     if (m_pInstance)
         m_pInstance->SetData(TYPE_BROGGOK_EVENT, DONE);
 }