本文整理匯總了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);
}
示例2: EnterCombat
void EnterCombat(Unit* /*who*/)
{
_EnterCombat();
DoScriptText(SAY_AGGRO, me);
EnterPhase(PHASE_FIGHT);
safetyDance = true;
}
示例3: EnterCombat
void EnterCombat(Unit * /*who*/)
{
_EnterCombat();
TeleportHeiganCheaters();
DoScriptText(SAY_AGGRO, me);
EnterPhase(PHASE_FIGHT);
}
示例4: EnterCombat
void EnterCombat(Unit* /*who*/) override
{
_EnterCombat();
Talk(SAY_AGGRO);
EnterPhase(PHASE_FIGHT);
safetyDance = true;
}
示例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);
}
示例6: EnterCombat
void EnterCombat(Unit* /*pWho*/)
{
_EnterCombat();
TeleportHeiganCheaters();
DoScriptText(SAY_AGGRO, me);
EnterPhase(PHASE_FIGHT);
safetyDance = true;
}
示例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);
}
示例8: EnterCombat
void EnterCombat(Unit *who)
{
if(pInstance)
pInstance->SetData(DATA_HALAZZIEVENT, IN_PROGRESS);
DoScriptText(YELL_AGGRO, m_creature);
EnterPhase(PHASE_LYNX);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}