void OnCombatStart(UnitPointer mTarget)
    {
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
		_unit->GetAIInterface()->skip_reset_hp=true;
    }
    void OnCombatStart(UnitPointer mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
    }
	void OnCombatStart(Unit* mTarget)
    {
        RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
    }
	MusicDoodad(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(1000); 			// Get that music playing right away!
	}
	SetupCarnies_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(120000); 			// Start initial update after: 2mins
	}
	Flik_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(180000); 			// Start initial update after: 3mins
	}
	Lhara_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(90000); 			// Start initial update after: 1.5mins
	}
		void OnCombatStart(Unit* mTarget)
		{
			TeleportTimer = 20;
			CastTime();
			RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
		}
		void OnCombatStart(Unit* mTarget)
		{
			RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
			_unit->CastSpell(_unit, spells[0].info, spells[0].instant);
		}
Exemple #10
0
		void OnLoad()
		{
			RegisterAIUpdateEvent(200);
		}
	void OnCombatStart(Unit* mTarget)
	{
	_unit->SendChatMessage(CHAT_MSG_MONSTER_YELL, LANG_UNIVERSAL, "Ah, I've been waiting for a real challenge!");
	_unit->PlaySoundToSet(5830);
	RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
	}
    void OnCombatStart(UnitPointer mTarget)
    {
        RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));

		HasSummoned = false;
    }
Exemple #13
0
	void OnCombatStart(Unit* mTarget)
	{
		RegisterAIUpdateEvent(1000);
        _unit->SendChatMessage(CHAT_MSG_MONSTER_YELL, LANG_UNIVERSAL, "In Nagrand, food hunt ogre!");   
	}
Exemple #14
0
	MorjaTalk(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		// Speaks 4:25
		RegisterAIUpdateEvent(265000);
	}
Exemple #15
0
	BazzalanAI(Creature *pCreature) : CreatureAIScript(pCreature)
	{
		RegisterAIUpdateEvent(1000);
	}
Exemple #16
0
	//constructor
    Announcer(Creature* pCreature) : CreatureAIScript(pCreature) 
	{
		RegisterAIUpdateEvent( ANNOUNCE_INTERVAL );
		_unit->SetUInt32Value( UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NOT_ATTACKABLE_2 );
	}
 void OnCombatStart(Unit* mTarget)
 {
     CastTime();
     _unit->SendScriptTextChatMessage(SAY_AENUS_01);
     RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
 }
Exemple #18
0
void MoonScriptCreatureAI::OnCombatStart(Unit* pTarget)
{
	RandomEmote(mOnCombatStartEmotes);
	SetBehavior(Behavior_Melee);
    RegisterAIUpdateEvent(mAIUpdateFrequency);
}
	GevasGrimegate_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(60000); 			// Start initial update after: 1mins
	}
Exemple #20
0
		FragmentedMagic(Creature* pCreature) : CreatureAIScript(pCreature)
		{
			RegisterAIUpdateEvent(5000);
		}
	Morja_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(240000); 			// Start initial update after: 4mins
	}
		void OnCombatStart(Unit* mTarget)
		{
			RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
		}
	ProfessorThaddeusPaleo_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(210000); 			// Start initial update after: 3.5mins
	}
Exemple #24
0
	void OnSpawn()
	{
		RegisterAIUpdateEvent( 500 );
	}
	Sayge_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(135000); 			// Start initial update after: 2.25mins
	}
Exemple #26
0
	JergoshAI(Creature *pCreature) : CreatureAIScript(pCreature)
	{
		RegisterAIUpdateEvent(1000);
	}
Exemple #27
0
	WarbringerRazuunAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature)
	{
		RegisterAIUpdateEvent(1000);
		mRazuunTimer = AddTimer(800);
		mRazuunPhase = 0;
	}
Exemple #28
0
	OggleflintAI(Creature *pCreature) : CreatureAIScript(pCreature)
	{
		RegisterAIUpdateEvent(1000);
	}
	void OnCombatStart(Unit* mTarget)
    {
        RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
		_unit->CastSpell(_unit, spells[1].info, spells[1].instant);
    }
Exemple #30
0
 void OnCombatStart(Unit* mTarget)
 {
     RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
     _unit->GetAIInterface()->skip_reset_hp = true;
 }