Example #1
0
    void OnCombatStart(Unit* mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
    }
    void OnDied(Unit * mKiller)
    {
		TeleportTimer = 20;
		CastTime();
       RemoveAIUpdateEvent();
    }
Example #3
0
    void OnDied(Unit * mKiller)
    {
		CastTime();
       RemoveAIUpdateEvent();
    }
Example #4
0
    void OnCombatStart(Unit* mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE));
    }
 void OnCombatStart(Unit* mTarget)
 {
     CastTime();
     RegisterAIUpdateEvent(1000);
 }
    void OnCombatStart(Unit* mTarget)
    {
		CastTime();
		RegisterAIUpdateEvent(_unit->GetUInt32Value(UNIT_FIELD_BASEATTACKTIME));
		_unit->CastSpell(_unit, spells[0].info, spells[0].instant);
    }
    void OnDied(Unit * mKiller)
    {
		CastTime();
       RemoveAIUpdateEvent();
	   ENRAGE_LIMITER = 0;
    }
Example #8
0
 void OnDied(Unit* mKiller)
 {
     CastTime();
     _unit->SendScriptTextChatMessage(SAY_AENUS_04);
     RemoveAIUpdateEvent();
 }
Example #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);
    }