Exemplo n.º 1
0
    void OnCombatStart(Unit* mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
    }
Exemplo n.º 2
0
    void OnDied(Unit * mKiller)
    {
		TeleportTimer = 20;
		CastTime();
       RemoveAIUpdateEvent();
    }
Exemplo n.º 3
0
    void OnDied(Unit * mKiller)
    {
		CastTime();
       RemoveAIUpdateEvent();
    }
Exemplo n.º 4
0
    void OnCombatStart(Unit* mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
    }
 void OnCombatStart(Unit* mTarget)
 {
     CastTime();
     RegisterAIUpdateEvent(1000);
 }
Exemplo n.º 6
0
    void OnCombatStart(Unit* mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
		_unit->CastSpell(_unit, spells[0].info, spells[0].instant);
    }
Exemplo n.º 7
0
    void OnDied(Unit * mKiller)
    {
		CastTime();
       RemoveAIUpdateEvent();
	   ENRAGE_LIMITER = 0;
    }
Exemplo n.º 8
0
 void OnDied(Unit* mKiller)
 {
     CastTime();
     _unit->SendScriptTextChatMessage(SAY_AENUS_04);
     RemoveAIUpdateEvent();
 }
Exemplo n.º 9
0
 void OnCombatStart(Unit* mTarget)
 {
     CastTime();
     _unit->SendScriptTextChatMessage(SAY_AENUS_01);
     RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
 }
    void OnCombatStart(Unit* mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
		_unit->CastSpell(_unit, spells[0].info, spells[0].instant);
    }