當前位置: 首頁>>代碼示例>>C++>>正文


C++ EnterPhase函數代碼示例

本文整理匯總了C++中EnterPhase函數的典型用法代碼示例。如果您正苦於以下問題:C++ EnterPhase函數的具體用法?C++ EnterPhase怎麽用?C++ EnterPhase使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了EnterPhase函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: EnterCombat

 void EnterCombat(Unit *who)
 {
     DoScriptText(SAY_AGGRO, me);
     DoZoneInCombat();
     EnterPhase(PHASE_FIGHT);
     instance->SetBossState(BOSS_HEIGAN, IN_PROGRESS);
 }
開發者ID:adan830,項目名稱:QuaDCore,代碼行數:7,代碼來源:boss_heigan.cpp

示例2: EnterCombat

 void EnterCombat(Unit* /*who*/)
 {
     _EnterCombat();
     DoScriptText(SAY_AGGRO, me);
     EnterPhase(PHASE_FIGHT);
     safetyDance = true;
 }
開發者ID:ALive-WoW,項目名稱:RC2,代碼行數:7,代碼來源:boss_heigan.cpp

示例3: EnterCombat

 void EnterCombat(Unit * /*who*/)
 {
     _EnterCombat();
     TeleportHeiganCheaters();
     DoScriptText(SAY_AGGRO, me);
     EnterPhase(PHASE_FIGHT);
 }
開發者ID:Jekls,項目名稱:trinity,代碼行數:7,代碼來源:boss_heigan.cpp

示例4: EnterCombat

 void EnterCombat(Unit* /*who*/) override
 {
     _EnterCombat();
     Talk(SAY_AGGRO);
     EnterPhase(PHASE_FIGHT);
     safetyDance = true;
 }
開發者ID:Rastrian,項目名稱:DeathCore_3.3.5,代碼行數:7,代碼來源:boss_heigan.cpp

示例5: Aggro

    void Aggro(Unit *who)
    {

        DoZoneInCombat();
        m_creature->CastSpell(m_creature, AURA_SUNWELL_RADIANCE, true);
        m_creature->CastSpell(m_creature, AURA_NOXIOUS_FUMES, true);
        EnterPhase(PHASE_GROUND);
    }
開發者ID:wk23,項目名稱:tst,代碼行數:8,代碼來源:boss_felmyst.cpp

示例6: EnterCombat

 void EnterCombat(Unit* /*pWho*/)
 {
     _EnterCombat();
     TeleportHeiganCheaters();
     DoScriptText(SAY_AGGRO, me);
     EnterPhase(PHASE_FIGHT);
     safetyDance = true;
 }
開發者ID:Darkelmo,項目名稱:MythCore,代碼行數:8,代碼來源:boss_heigan.cpp

示例7: EnterCombat

        void EnterCombat(Unit * /*who*/) {
            if (pInstance)
                pInstance->SetData(DATA_HALAZZIEVENT, IN_PROGRESS);

            me->MonsterYell(YELL_AGGRO, LANG_UNIVERSAL, NULL);
            DoPlaySoundToSet(me, SOUND_AGGRO);

            EnterPhase(PHASE_LYNX);
        }
開發者ID:Oracraft,項目名稱:ArkCORE-4.3.4,代碼行數:9,代碼來源:boss_halazzi.cpp

示例8: EnterCombat

    void EnterCombat(Unit *who)
    {
        if(pInstance)
            pInstance->SetData(DATA_HALAZZIEVENT, IN_PROGRESS);

        DoScriptText(YELL_AGGRO, m_creature);

        EnterPhase(PHASE_LYNX);
    }
開發者ID:ekzobam,項目名稱:HGCore,代碼行數:9,代碼來源:boss_halazzi.cpp

示例9: Aggro

    void Aggro(Unit* pWho)
    {
        DoScriptText(SAY_AGGRO, m_creature);
        m_creature->SetInCombatWithZone();

		EnterPhase(PHASE_LYNX);

		if (pInstance)
            pInstance->SetData(TYPE_HALAZZI, IN_PROGRESS);
    }
開發者ID:RareSoul,項目名稱:andeeria,代碼行數:10,代碼來源:boss_halazzi.cpp

示例10: EnterCombat

    void EnterCombat(Unit *who)
    {
        m_creature->setActive(true);
        DoZoneInCombat();
        m_creature->CastSpell(m_creature, AURA_SUNWELL_RADIANCE, true);
        m_creature->CastSpell(m_creature, AURA_NOXIOUS_FUMES, true);
        EnterPhase(PHASE_GROUND);

        if(pInstance)
            pInstance->SetData(DATA_FELMYST_EVENT, IN_PROGRESS);
    }
開發者ID:adan830,項目名稱:QuaDCore,代碼行數:11,代碼來源:boss_felmyst.cpp

示例11: EnterCombat

    void EnterCombat(Unit* /*who*/)
    {
        events.ScheduleEvent(EVENT_BERSERK, 600000);
        DoZoneInCombat();
        EnterPhase(PHASE_GROUND);
        DoCast(me, AURA_SUNWELL_RADIANCE, true);
        DoCast(me, AURA_NOXIOUS_FUMES, true);

        if (pInstance)
            pInstance->SetData(DATA_FELMYST_EVENT, IN_PROGRESS);
    }
開發者ID:Adeer,項目名稱:OregonCore,代碼行數:11,代碼來源:boss_felmyst.cpp

示例12: EnterCombat

            void EnterCombat(Unit * /*who*/)
            {
                if (pInstance)
                    pInstance->SetData(DATA_ZULJINEVENT, IN_PROGRESS);

                DoZoneInCombat();

                me->MonsterYell(YELL_INTRO,LANG_UNIVERSAL,NULL);
                DoPlaySoundToSet(me, SOUND_INTRO);
                SpawnAdds();
                EnterPhase(0);
            }
開發者ID:InkVisible,項目名稱:wow,代碼行數:12,代碼來源:boss_zuljin.cpp

示例13: JustEngagedWith

        void JustEngagedWith(Unit* /*who*/) override
        {
            events.ScheduleEvent(EVENT_BERSERK, 600000);

            me->setActive(true);
            DoZoneInCombat();
            DoCast(me, AURA_SUNWELL_RADIANCE, true);
            DoCast(me, AURA_NOXIOUS_FUMES, true);
            EnterPhase(PHASE_GROUND);

            instance->SetBossState(DATA_FELMYST, IN_PROGRESS);
        }
開發者ID:m-uu,項目名稱:ElunaTrinityWotlk,代碼行數:12,代碼來源:boss_felmyst.cpp

示例14: Reset

            void Reset() override
            {
                instance->SetData(DATA_HALAZZIEVENT, NOT_STARTED);
                summons.DespawnAll();

                Initialize();

                DoCast(me, SPELL_DUAL_WIELD, true);

                Phase = PHASE_NONE;
                EnterPhase(PHASE_LYNX);
            }
開發者ID:AwkwardDev,項目名稱:TinyCore,代碼行數:12,代碼來源:boss_halazzi.cpp

示例15: EnterCombat

        void EnterCombat(Unit* /*who*/)
        {
            me->setActive(true);
            DoZoneInCombat();
            me->CastSpell(me, AURA_SUNWELL_RADIANCE, true);
            me->CastSpell(me, AURA_NOXIOUS_FUMES, true);
            me->RemoveUnitMovementFlag(MOVEMENTFLAG_DISABLE_GRAVITY + MOVEMENTFLAG_ONTRANSPORT);
            me->HandleEmoteCommand(EMOTE_ONESHOT_LAND);
            EnterPhase(PHASE_GROUND);

            if (pInstance)
                pInstance->SetData(DATA_FELMYST_EVENT, IN_PROGRESS);
        }
開發者ID:FirstCore,項目名稱:Battle,代碼行數:13,代碼來源:boss_felmyst.cpp


注:本文中的EnterPhase函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。