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


C++ AddEmote函数代码示例

本文整理汇总了C++中AddEmote函数的典型用法代码示例。如果您正苦于以下问题:C++ AddEmote函数的具体用法?C++ AddEmote怎么用?C++ AddEmote使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: KelidanTheBreakerAI

		KelidanTheBreakerAI(Creature* pCreature) : MoonScriptBossAI(pCreature)
		{
			//spells
			if(IsHeroic())
			{
				mShadowBoltVolley = AddSpell(KELIDAN_SHADOW_BOLT_VOLLEY_H, Target_Self, 25, 0, 6);
				mFireNova = AddSpell(KELIDAN_FIRE_NOVA_H, Target_Current, 15, 0, 12);
			}
			else
			{
				mShadowBoltVolley = AddSpell(KELIDAN_SHADOW_BOLT_VOLLEY, Target_Self, 25, 0, 6);
				mFireNova = AddSpell(KELIDAN_FIRE_NOVA, Target_Self, 15, 0, 12);
			}

			mBurningNova = AddSpell(KELIDAN_BURNING_NOVA, Target_Self, 0, 0, 0);
			mBurningNova->AddEmote("Closer! Come closer... and burn!", Text_Yell);
			mVortex = AddSpell(KELIDAN_FIRE_NOVA, Target_Self, 0, 0, 0);
			AddSpell(KELIDAN_CORRUPTION, Target_Current, 15, 0, 10);

			AddEmote(Event_OnCombatStart, "Who dares interrupt--What is this, what have you done? You'll ruin everything!", Text_Yell);
			AddEmote(Event_OnTargetDied, "Just as you deserve.", Text_Yell);
			AddEmote(Event_OnTargetDied, "Your friends will soon be joining you.", Text_Yell);
			AddEmote(Event_OnDied, "Good... luck. You'll need it.", Text_Yell);

			mBurningNovaTimer = INVALIDATE_TIMER;
			SetAIUpdateFreq(800);
		}
开发者ID:Antares84,项目名称:arcemu,代码行数:27,代码来源:Instance_BloodFurnace.cpp

示例2: Volkhan

	Volkhan(Creature* pCreature) : MoonScriptCreatureAI(pCreature)
	{
		mInstance = GetInstanceScript();

		AddSpell(SPELL_HEAT, Target_WoundedFriendly, 15, 1.5f, 15);
		mStomp = AddSpell(SPELL_SHATTERING_STOMP, Target_Self, 0, 3, 0 );

		mStomp->AddEmote("I will crush you beneath my boots!", Text_Yell, 13963);
		mStomp->AddEmote("All my work... undone!", Text_Yell, 13964);

		AddEmote(Event_OnCombatStart, "It is you who have destroyed my children? You... shall... pay!", Text_Yell, 13960);
		AddEmote(Event_OnTargetDied, "The armies of iron will conquer all!", Text_Yell, 13965);
		AddEmote(Event_OnTargetDied, "Ha, pathetic!", Text_Yell, 13966);
		AddEmote(Event_OnTargetDied, "You have cost me too much work!", Text_Yell, 13967);
		AddEmote(Event_OnDied, "The master was right... to be concerned.", Text_Yell, 13968);
		
		m_cVolkhanWP.x = 1328.666870f;       
		m_cVolkhanWP.y = -97.022758f;
		m_cVolkhanWP.z = 56.675297f;
		m_cVolkhanWP.o = 2.235341f;

		SetMoveType( Move_DontMoveWP );
		AddWaypoint( CreateWaypoint( 1, 0, Flag_Run, m_cVolkhanWP ) );
		mStompTimer = INVALIDATE_TIMER;
        mPhase = 0;
	}
开发者ID:Desch,项目名称:Edge-of-Chaos,代码行数:26,代码来源:Instance_HallsOfLightning.cpp

示例3: TelestraBossAI

		TelestraBossAI(Creature* pCreature) : MoonScriptBossAI(pCreature)
		{
			mInstance = GetInstanceScript();

			mHeroic = IsHeroic();
			if(mHeroic)
			{
				AddSpell(ICE_NOVA_HC, Target_Self, 25, 2.0, 15);
				AddSpell(FIREBOMB_HC, Target_RandomPlayer, 35, 1.5, 5);
				AddSpell(GRAVITY_WELL, Target_Self, 15, 0.5, 20);
			}
			else
			{
				AddSpell(ICE_NOVA, Target_Self, 25, 2.0, 15);
				AddSpell(FIREBOMB, Target_RandomPlayer, 35, 1.5, 5);
				AddSpell(GRAVITY_WELL, Target_Self, 15, 0.5, 20);
			};

			SetAIUpdateFreq(1000);

			mAddCount = 0;
			mPhaseRepeat = 2;

			AddEmote(Event_OnCombatStart, "You know what they say about curiosity. ", Text_Yell, 13319);
			AddEmote(Event_OnDied, "Damn the... luck.", Text_Yell, 13320);
			AddEmote(Event_OnTargetDied, "Death becomes you!", Text_Yell, 13324);
			mAddArray[0] = mAddArray[1] = mAddArray[2] = NULL;
		};
开发者ID:Refuge89,项目名称:Edge-of-Chaos,代码行数:28,代码来源:Instance_Nexus.cpp

示例4: FelmystAI

	FelmystAI(Creature* pCreature) : ArcScriptBossAI(pCreature)
	{
		//Phase 1 spells
		AddPhaseSpell(1, AddSpell(FELMYST_CLEAVE, Target_Current, 6, 0, 10, 0, 5));
		AddPhaseSpell(1, AddSpell(FELMYST_GAS_NOVA, Target_Self, 25, 1, 18));
		AddPhaseSpell(1, AddSpell(FELMYST_ENCAPSULATE, Target_RandomPlayer, 25, 7, 30, 0, 30));
		AddPhaseSpell(1, AddSpell(FELMYST_CORROSION, Target_Current, 20, 0.75f, 35, 0, 30, false, "Choke on your final breath!"));

		//Phase 2 spells
		AddPhaseSpell(2, AddSpell(FELMYST_DEMONIC_VAPOR, Target_RandomPlayer, 10, 0, 20));

		//Phase 3 spells
		//Fog of corruption is the actual breath Felmyst does during his second phase, probably we'll have to spawn it like a creature.
		//AddSpell(FELMYST_FOG_OF_CORRUPTION, Target_RandomPlayerApplyAura, 15, 0, 20, 0, 10); Does not support by the core.

		//10min Enrage
		SetEnrageInfo(AddSpell(FELMYST_ENRAGE, Target_Self, 0, 0, 0, 0, 0, false, "No more hesitation! Your fates are written!"), 600000);

		//Emotes
		AddEmote(Event_OnCombatStart, "Glory to Kil'jaeden! Death to all who oppose!", Text_Yell);
		AddEmote(Event_OnTargetDied, "I kill for the master! ", Text_Yell);
		AddEmote(Event_OnTargetDied, "The end has come!", Text_Yell);
		AddEmote(Event_OnDied, "Kil'jaeden... will... prevail...", Text_Yell);
		AddEmote(Event_OnTaunt, "I am stronger than ever before!", Text_Yell);
	}
开发者ID:AscEmu,项目名称:AscEmu_TBC,代码行数:25,代码来源:Raid_SunwellPlateau.cpp

示例5: VishasAI

		VishasAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature)
		{
			AddSpell(SHADOW_WORD, Target_RandomPlayer, 20, 0, 8);

			AddEmote(Event_OnCombatStart, "Tell me... tell me everything!", Text_Yell, 5847);
			AddEmote(Event_OnTargetDied, "Purged by pain!", Text_Yell, 5848);

			m_uiSay = 0;
		};
开发者ID:Antares84,项目名称:arcemu,代码行数:9,代码来源:Instance_ScarletMonastery.cpp

示例6: ThalnosAI

		ThalnosAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature)
		{
			AddSpell(SHADOW_BOLT, Target_RandomPlayer, 20, 3.0f, 2);
			AddSpell(FLAME_SPIKE, Target_RandomPlayerDestination, 20, 3.0f, 14);

			AddEmote(Event_OnCombatStart, "We hunger for vengeance.", Text_Yell, 5844);
			AddEmote(Event_OnTargetDied, "More... More souls.", Text_Yell, 5845);

			m_bEmoted = false;
		};
开发者ID:Antares84,项目名称:arcemu,代码行数:10,代码来源:Instance_ScarletMonastery.cpp

示例7: AkumaiAI

    AkumaiAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature) 
	{
		AddEmote(Event_OnCombatStart, "Who dares disturb my meditation?!", Text_Yell);
		AddEmote(Event_OnTargetDied, "Dust to dust.", Text_Yell);

		// Frenzied Rage
		AddSpell(3490, Target_Self, 12, 0, 0, 0, 0);
		// Poison Cloud
		AddSpell(3815, Target_Self, 16, 0, 45);
	}
开发者ID:miklasiak,项目名称:projekt,代码行数:10,代码来源:Instance_BlackfathomDeeps.cpp

示例8: KelrisAI

    KelrisAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature) 
	{
		AddEmote(Event_OnCombatStart, "Who dares disturb my meditation?!", Text_Yell);
		AddEmote(Event_OnTargetDied, "Dust to dust.", Text_Yell);

		// Sleep
		AddSpell(8399, Target_RandomPlayer, 12, 1.3f, 0, 0, 0, false, "Sleep...", Text_Yell);
		// Mind Blast
		AddSpell(15587, Target_Current, 16, 1.5f, 0);
	}
开发者ID:miklasiak,项目名称:projekt,代码行数:10,代码来源:Instance_BlackfathomDeeps.cpp

示例9: HerodAI

		HerodAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature)
		{
			AddSpell(WHIRLWINDSPELL, Target_Self, 12, 0, 12)->AddEmote("Blades of Light!", Text_Yell, 5832);
			AddSpell(CHARGE, Target_RandomPlayer, 6, 0, 20);

			AddEmote(Event_OnCombatStart, "Ah, I've been waiting for a real challenge!", Text_Yell, 5830);
			AddEmote(Event_OnTargetDied, "Ha, is that all?", Text_Yell, 5831);

			m_bEnraged = false;
		};
开发者ID:Antares84,项目名称:arcemu,代码行数:10,代码来源:Instance_ScarletMonastery.cpp

示例10: SathrovarrTheCorruptorAI

	SathrovarrTheCorruptorAI(Creature* pCreature) : ArcScriptBossAI(pCreature)
	{
		AddSpell(SATHROVARR_THE_CORRUPTOR_CURSE_OF_BOUNDLESS_AGONY, Target_RandomPlayer, 20, 0, 12, 0, 40); 
		AddSpell(SATHROVARR_THE_CORRUPTOR_SHADOW_BOLT_VOLLEY, Target_RandomPlayerApplyAura, 20, 1, 25, 0, 40);
		AddSpell(SATHROVARR_THE_CORRUPTOR_CORRUPTING_STRIKE, Target_Current, 30, 0, 5, 0, 10);

		//Emotes
		AddEmote(Event_OnCombatStart, "Gyahaha... There will be no reprieve. My work here is nearly finished.", Text_Yell);
		AddEmote(Event_OnTargetDied, "Pitious mortal!", Text_Yell);
		AddEmote(Event_OnTargetDied, "Haven't you heard? I always win!", Text_Yell);
		AddEmote(Event_OnDied, "I'm... never on... the losing... side...", Text_Yell);
	}
开发者ID:AscEmu,项目名称:AscEmu_TBC,代码行数:12,代码来源:Raid_SunwellPlateau.cpp

示例11: AkilzonAI

    AkilzonAI(Creature* pCreature) : MoonScriptBossAI(pCreature)
    {
		AddSpell(AKILZON_STATIC_DISRUPTION, Target_Self, 2, 0, 60);
		AddSpell(AKILZON_CALL_LIGHTING, Target_Current, 2, 0, 0);
		AddSpell(AKILZON_GUST_OF_WIND, Target_Current, 0, 0, 0);
		AddSpell(AKILZON_ELECTRICAL_STORM, Target_Self, 1, 0, 0);

		AddEmote(Event_OnCombatStart, "I be da predator! You da prey!", Text_Yell, 12013);
		AddEmote(Event_OnTargetDied, "Stop your cryin'!", Text_Yell, 12018);
		AddEmote(Event_OnTargetDied, "Ya got nothin'!", Text_Yell, 12017);
		AddEmote(Event_OnDied, "You can't... kill... me spirit!", Text_Yell, 12019);
    }
开发者ID:Desch,项目名称:Edge-of-Chaos,代码行数:12,代码来源:Raid_ZulAman.cpp

示例12: LadySacrolashAI

	LadySacrolashAI(Creature* pCreature) : ArcScriptBossAI(pCreature)
	{
		AddSpell(LADY_SACROLASH_DARK_TOUCHED, Target_RandomPlayerApplyAura, 50, 0, 10, 0, 50);
		AddSpell(LADY_SACROLASH_SHADOW_BLADES, Target_Current, 25, 1.5, 5, 0, 50);
		AddSpell(LADY_SACROLASH_SHADOW_NOVA, Target_RandomPlayer, 15, 3.5, 20, 0, 50, false, "Shadow to the aid of fire!");
		AddSpell(LADY_SACROLASH_CONFOUNDING_BLOW, Target_RandomPlayer, 10, 0, 15, 0, 50);
		SetEnrageInfo(AddSpell(LADY_SACROLASH_ENRAGE, Target_Self, 0, 0, 0, 0, 0, 0, "Time is a luxury you no longer possess!"), 360000);

		//Emotes
		AddEmote(Event_OnTargetDied, "Shadows, engulf!", Text_Yell);
		AddEmote(Event_OnDied, "I... fade.", Text_Yell);
	}
开发者ID:AscEmu,项目名称:AscEmu_TBC,代码行数:12,代码来源:Raid_SunwellPlateau.cpp

示例13: GrandWarlockAlythessAI

	GrandWarlockAlythessAI(Creature* pCreature) : ArcScriptBossAI(pCreature)
	{
		AddSpell(GRAND_WARLOCK_ALYTHESS_PYROGENICS, Target_Self, 100, 0, 10, 0, 50);
		AddSpell(GRAND_WARLOCK_ALYTHESS_FLAME_TOUCHED, Target_RandomPlayerApplyAura, 10, 0, 30, 0, 50);
		AddSpell(GRAND_WARLOCK_ALYTHESS_CONFLAGRATION, Target_RandomPlayer, 15, 3.5, 25, 0, 50, false, "Fire to the aid of shadow!");
		AddSpell(GRAND_WARLOCK_ALYTHESS_BLAZE, Target_RandomPlayer, 30, 2.5, 0, 0, 50);
		AddSpell(GRAND_WARLOCK_ALYTHESS_FLAME_SEAR, Target_RandomPlayer, 20, 0, 0, 0, 50);
		SetEnrageInfo(AddSpell(GRAND_WARLOCK_ALYTHESS_ENRAGE, Target_Self, 0, 0, 0, 0, 0, false, "Your luck has run its course!"), 360000);

		//Emotes
		AddEmote(Event_OnTargetDied, "Fire, consume!", Text_Yell);
		AddEmote(Event_OnDied, "I... fade.", Text_Yell);
	}
开发者ID:AscEmu,项目名称:AscEmu_TBC,代码行数:13,代码来源:Raid_SunwellPlateau.cpp

示例14: IonarAI

	IonarAI(Creature* pCreature) : MoonScriptBossAI(pCreature)
	{
		mInstance = GetInstanceScript();
		
		AddSpell( BALL_LIGHTNING, Target_RandomPlayerNotCurrent, 20, 1.5f, 5 );
		AddSpell( STATIC_OVERLOAD, Target_RandomPlayerNotCurrent, 15, 0, 12 );
		
		AddEmote( Event_OnCombatStart, "You wish to confront the master? You must weather the storm!", Text_Yell, 14453 );
		AddEmote( Event_OnTargetDied, "Shocking, I know", Text_Yell, 14456 );
		AddEmote( Event_OnTargetDied, "You attempt the impossible", Text_Yell, 14457 );
		AddEmote( Event_OnTargetDied, "Your spark of life is..extinguished!", Text_Yell, 14458 );
		AddEmote( Event_OnDied, "Master... you have guests.", Text_Yell, 14459 );
	};
开发者ID:Desch,项目名称:Edge-of-Chaos,代码行数:13,代码来源:Instance_HallsOfLightning.cpp

示例15: KalecgosAI

	KalecgosAI(Creature* pCreature) : ArcScriptBossAI(pCreature)
	{
		AddSpell(KALECGOS_FROST_BREATH, Target_Current, 10, 1, 12, 0, 30);
		AddSpellFunc(SpellFunc_Kalecgos_WildMagic, Target_RandomPlayer, 15, 0, 10, 0, 100);
		AddSpell(KALECGOS_SPECTRAL_BLAST, Target_Self, 25, 0, 25, 0, 50);
		AddSpell(KALECGOS_ARCANE_BUFFET, Target_Self, 100, 0, 8);

		//Emotes
		AddEmote(Event_OnCombatStart, "I need... your help... Cannot... resist him... much longer...", Text_Yell);
		AddEmote(Event_OnTargetDied, "In the name of Kil'jaeden!", Text_Yell);
		AddEmote(Event_OnTargetDied, "You were warned! ", Text_Yell);
		AddEmote(Event_OnDied, "I am forever in your debt. Once we have triumphed over Kil'jaeden, this entire world will be in your debt as well.", Text_Yell, 11135);
	}
开发者ID:AscEmu,项目名称:AscEmu_TBC,代码行数:13,代码来源:Raid_SunwellPlateau.cpp


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