コード例 #1
0
    void OnCombatStart(UnitPointer mTarget)
    {
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
		_unit->GetAIInterface()->skip_reset_hp=true;
    }
コード例 #2
0
    void OnCombatStart(UnitPointer mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
    }
コード例 #3
0
	void OnCombatStart(Unit* mTarget)
    {
        RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
    }
コード例 #4
0
	MusicDoodad(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(1000); 			// Get that music playing right away!
	}
コード例 #5
0
	SetupCarnies_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(120000); 			// Start initial update after: 2mins
	}
コード例 #6
0
	Flik_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(180000); 			// Start initial update after: 3mins
	}
コード例 #7
0
	Lhara_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(90000); 			// Start initial update after: 1.5mins
	}
コード例 #8
0
		void OnCombatStart(Unit* mTarget)
		{
			TeleportTimer = 20;
			CastTime();
			RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
		}
コード例 #9
0
		void OnCombatStart(Unit* mTarget)
		{
			RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
			_unit->CastSpell(_unit, spells[0].info, spells[0].instant);
		}
コード例 #10
0
ファイル: DeathKnightSpells.cpp プロジェクト: Selenah/ArcEmu
		void OnLoad()
		{
			RegisterAIUpdateEvent(200);
		}
コード例 #11
0
	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));
	}
コード例 #12
0
    void OnCombatStart(UnitPointer mTarget)
    {
        RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));

		HasSummoned = false;
    }
コード例 #13
0
ファイル: Nagrand.cpp プロジェクト: miklasiak/projekt
	void OnCombatStart(Unit* mTarget)
	{
		RegisterAIUpdateEvent(1000);
        _unit->SendChatMessage(CHAT_MSG_MONSTER_YELL, LANG_UNIVERSAL, "In Nagrand, food hunt ogre!");   
	}
コード例 #14
0
ファイル: Morja.cpp プロジェクト: AtVirus/Descent-Scripts
	MorjaTalk(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		// Speaks 4:25
		RegisterAIUpdateEvent(265000);
	}
コード例 #15
0
	BazzalanAI(Creature *pCreature) : CreatureAIScript(pCreature)
	{
		RegisterAIUpdateEvent(1000);
	}
コード例 #16
0
ファイル: announcer.cpp プロジェクト: Chero/abcwow
	//constructor
    Announcer(Creature* pCreature) : CreatureAIScript(pCreature) 
	{
		RegisterAIUpdateEvent( ANNOUNCE_INTERVAL );
		_unit->SetUInt32Value( UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NOT_ATTACKABLE_2 );
	}
コード例 #17
0
 void OnCombatStart(Unit* mTarget)
 {
     CastTime();
     _unit->SendScriptTextChatMessage(SAY_AENUS_01);
     RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
 }
コード例 #18
0
ファイル: Base.cpp プロジェクト: Tulba/wowtbc
void MoonScriptCreatureAI::OnCombatStart(Unit* pTarget)
{
	RandomEmote(mOnCombatStartEmotes);
	SetBehavior(Behavior_Melee);
    RegisterAIUpdateEvent(mAIUpdateFrequency);
}
コード例 #19
0
	GevasGrimegate_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(60000); 			// Start initial update after: 1mins
	}
コード例 #20
0
ファイル: Quest_Mage.cpp プロジェクト: Refuge89/Edge-of-Chaos
		FragmentedMagic(Creature* pCreature) : CreatureAIScript(pCreature)
		{
			RegisterAIUpdateEvent(5000);
		}
コード例 #21
0
	Morja_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(240000); 			// Start initial update after: 4mins
	}
コード例 #22
0
		void OnCombatStart(Unit* mTarget)
		{
			RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
		}
コード例 #23
0
	ProfessorThaddeusPaleo_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(210000); 			// Start initial update after: 3.5mins
	}
コード例 #24
0
ファイル: GameObjects.cpp プロジェクト: Desch/Edge-of-Chaos
	void OnSpawn()
	{
		RegisterAIUpdateEvent( 500 );
	}
コード例 #25
0
	Sayge_Bark(Creature* pCreature) : CreatureAIScript(pCreature)
    {
		RegisterAIUpdateEvent(135000); 			// Start initial update after: 2.25mins
	}
コード例 #26
0
	JergoshAI(Creature *pCreature) : CreatureAIScript(pCreature)
	{
		RegisterAIUpdateEvent(1000);
	}
コード例 #27
0
ファイル: Shadowmoon.cpp プロジェクト: Refuge89/Arc_Mind
	WarbringerRazuunAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature)
	{
		RegisterAIUpdateEvent(1000);
		mRazuunTimer = AddTimer(800);
		mRazuunPhase = 0;
	}
コード例 #28
0
	OggleflintAI(Creature *pCreature) : CreatureAIScript(pCreature)
	{
		RegisterAIUpdateEvent(1000);
	}
コード例 #29
0
	void OnCombatStart(Unit* mTarget)
    {
        RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
		_unit->CastSpell(_unit, spells[1].info, spells[1].instant);
    }
コード例 #30
0
ファイル: Raid_MoltenCore.cpp プロジェクト: lev1976g/AscEmu
 void OnCombatStart(Unit* mTarget)
 {
     RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
     _unit->GetAIInterface()->skip_reset_hp = true;
 }