当前位置: 首页>>代码示例>>C++>>正文


C++ SummonList::DoZoneInCombat方法代码示例

本文整理汇总了C++中SummonList::DoZoneInCombat方法的典型用法代码示例。如果您正苦于以下问题:C++ SummonList::DoZoneInCombat方法的具体用法?C++ SummonList::DoZoneInCombat怎么用?C++ SummonList::DoZoneInCombat使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SummonList的用法示例。


在下文中一共展示了SummonList::DoZoneInCombat方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: EnterCombat

        void EnterCombat(Unit* /*who*/)
        {
            Talk(SAY_AGGRO);

            DoZoneInCombat();
            summons.DoZoneInCombat();
        }
开发者ID:PavelDev,项目名称:wodnetcore,代码行数:7,代码来源:boss_nexusprince_shaffar.cpp

示例2: JustSummoned

			void JustSummoned(Creature* summon)
			{
				if (summon->GetEntry() == NPC_BROOD_OF_ANZU)
				{
					Summons.Summon(summon);
					Summons.DoZoneInCombat();
				}
			}
开发者ID:boom8866,项目名称:new,代码行数:8,代码来源:boss_anzu.cpp

示例3: EnterCombat

			void EnterCombat(Unit*)
			{
				Talk(SAY_AGGRO);

				me->SetInCombatWithZone();
				summons.DoZoneInCombat();

				events.ScheduleEvent(EVENT_SPELL_BEACON, 10000);
				events.ScheduleEvent(EVENT_SPELL_FR_FI, 4000);
				events.ScheduleEvent(EVENT_SPELL_FROST_NOVA, 15000);
			}
开发者ID:DSlayerMan,项目名称:Sunwell,代码行数:11,代码来源:boss_nexusprince_shaffar.cpp

示例4: EnterCombat

		//When entering combat:
        void EnterCombat(Unit* who)
		{
		    me->MonsterYell("My powers are renewed!", LANG_UNIVERSAL, me->GetGUID());
            DoPlaySoundToSet(me, SOUND_ONAGGRO);
            me->MonsterTextEmote(EMOTE_ONAGGRO, 0, true);

            me->InterruptSpell(CURRENT_CHANNELED_SPELL);
            me->RemoveAllAuras(); 
            DoZoneInCombat();
            summons.DoZoneInCombat();
        }
开发者ID:AwkwardDev,项目名称:255,代码行数:12,代码来源:BossMaximus.cpp

示例5: StartEvent

        void StartEvent()
        {
            if (pInstance)
            {
                if (pInstance->GetData(DATA_MAGTHERIDON_EVENT) != NOT_STARTED)
                    return;

                pInstance->SetData(DATA_MAGTHERIDON_EVENT, IN_PROGRESS);
            }

            me->MonsterTextEmote(EMOTE_BONDS_WEAKEN, 0);
            me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
            me->SetInCombatWithZone();
            Summons.DoZoneInCombat();
        }
开发者ID:Firearm,项目名称:TrinityCore,代码行数:15,代码来源:boss_magtheridon.cpp

示例6: EnterCombat

            void EnterCombat(Unit* who)
            {
				events.Reset();
				if (summons.size() < 4)
					ResetSummons();

                summons.DoZoneInCombat();

                events.ScheduleEvent(EVENT_CHAIN_LIGHTNING, 5000);
                events.ScheduleEvent(EVENT_LIGHTNING_NOVA, 40000);
                events.ScheduleEvent(EVENT_BERSERK, 360000);
                events.ScheduleEvent(EVENT_OVERCHARGE, 47000);

				if (pInstance)
					pInstance->SetData(EVENT_EMALON, IN_PROGRESS);
            }
开发者ID:AlexHjelm,项目名称:sunwell,代码行数:16,代码来源:boss_emalon.cpp

示例7: EnterCombat

		void EnterCombat(Unit* who)
		{
			if (m_pInstance)
				m_pInstance->SetData(TYPE_AURIAYA, IN_PROGRESS);

			events.ScheduleEvent(EVENT_TERRIFYING_SCREECH, 35000);
			events.ScheduleEvent(EVENT_SONIC_SCREECH, 45000);
			events.ScheduleEvent(EVENT_GUARDIAN_SWARM, 70000);
			events.ScheduleEvent(EVENT_SUMMON_FERAL_DEFENDER, 60000);
			events.ScheduleEvent(EVENT_SENTINEL_BLAST, 36000);
			events.ScheduleEvent(EVENT_ENRAGE, 600000);

			summons.DoZoneInCombat(NPC_SANCTUM_SENTRY);

			me->MonsterYell("Some things are better left alone!", LANG_UNIVERSAL, 0);
			me->PlayDirectSound(SOUND_AGGRO);
			me->setActive(true);
		}
开发者ID:AlexHjelm,项目名称:sunwell,代码行数:18,代码来源:boss_auriaya.cpp


注:本文中的SummonList::DoZoneInCombat方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。