예제 #1
0
    void JustReachedHome()
    {
        if (m_pInstance)
        {
            m_pInstance->SetData(TYPE_SINDRAGOSA, FAIL);
            RemoveAurasFromAllPlayers();
        }

        SetCombatMovement(true);
    }
예제 #2
0
    void JustDied(Unit *pKiller)
    {
        if (m_pInstance)
        {
            m_pInstance->SetData(TYPE_SINDRAGOSA, DONE);
            RemoveAurasFromAllPlayers();
        }

        DoScriptText(SAY_DEATH, m_creature);
    }
예제 #3
0
    void JustReachedHome()
    {
        if (m_pInstance)
        {
            m_pInstance->SetData(TYPE_SINDRAGOSA, FAIL);
            RemoveAurasFromAllPlayers();
        }

        SetCombatMovement(true);

        m_creature->GetMotionMaster()->MovePoint(SINDRAGOSA_POINT_AIR_EAST, SindragosaPosition[8][0], SindragosaPosition[8][1], SindragosaPosition[8][2], false);
    }