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); }
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; }
void OnCombatStart(Unit* mTarget) { RegisterAIUpdateEvent(1000); _unit->SendChatMessage(CHAT_MSG_MONSTER_YELL, LANG_UNIVERSAL, "In Nagrand, food hunt ogre!"); }
MorjaTalk(Creature* pCreature) : CreatureAIScript(pCreature) { // Speaks 4:25 RegisterAIUpdateEvent(265000); }
BazzalanAI(Creature *pCreature) : CreatureAIScript(pCreature) { RegisterAIUpdateEvent(1000); }
//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)); }
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 }
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 }
void OnSpawn() { RegisterAIUpdateEvent( 500 ); }
Sayge_Bark(Creature* pCreature) : CreatureAIScript(pCreature) { RegisterAIUpdateEvent(135000); // Start initial update after: 2.25mins }
JergoshAI(Creature *pCreature) : CreatureAIScript(pCreature) { RegisterAIUpdateEvent(1000); }
WarbringerRazuunAI(Creature* pCreature) : MoonScriptCreatureAI(pCreature) { RegisterAIUpdateEvent(1000); mRazuunTimer = AddTimer(800); mRazuunPhase = 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); }
void OnCombatStart(Unit* mTarget) { RegisterAIUpdateEvent(_unit->GetBaseAttackTime(MELEE)); _unit->GetAIInterface()->skip_reset_hp = true; }