本文整理汇总了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();
}
示例2: JustSummoned
void JustSummoned(Creature* summon)
{
if (summon->GetEntry() == NPC_BROOD_OF_ANZU)
{
Summons.Summon(summon);
Summons.DoZoneInCombat();
}
}
示例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);
}
示例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();
}
示例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();
}
示例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);
}
示例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);
}