204 rightHead->AI()->Talk(text);
221 RightHeadTalk(SAY_AGGRO_1_1);
242 RightHeadTalk(SAY_AGGRO_2_1);
259 RightHeadTalk(SAY_AGGRO_3_1);
276 RightHeadTalk(SAY_ATTACK_1_1);
280 Talk(SAY_ATTACK_1_2);
297 RightHeadTalk(SAY_ATTACK_2_1);
314 RightHeadTalk(SAY_ATTACK_3_1);
318 Talk(SAY_ATTACK_3_2);
331 RightHeadTalk(SAY_ATTACK_4);
335 Talk(SAY_ATTACK_4_1);
339 RightHeadTalk(SAY_ATTACK_4_2);
382 rightHead->DespawnOrUnsummon(4s);
425 creature->LoadEquipment(creature->GetOriginalEquipmentId());
First const & RAND(First const &first, Second const &second, Rest const &... rest)
bool roll_chance_i(int chance)
#define RegisterSpellScript(spell_script)
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PROC_TRIGGER_SPELL
#define AuraEffectProcFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
void AddSC_boss_warbringer_omrogg()
HookList< EffectApplyHandler > OnEffectRemove
HookList< EffectProcHandler > OnEffectProc
HookList< AuraProcHandler > OnProc
HookList< EffectApplyHandler > OnEffectApply
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
Creature * GetCreature(uint32 type)
TaskContext & Repeat(std::chrono::duration< _Rep, _Period > const &duration)
TaskScheduler::repeated_t GetRepeatCounter() const
Returns the repeat counter which increases every time the task is repeated.
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
bool HasUnitState(const uint32 f) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *) override
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
void OnApply(AuraEffect const *, AuraEffectHandleModes)
void OnProc(AuraEffect const *, ProcEventInfo &)
PrepareAuraScript(spell_omrogg_burning_maul)
#define RegisterShatteredHallsCreatureAI(ai_name)
void AttackStart(Unit *) override
void ResetThreatList(Unit *who=nullptr)
boss_warbringer_omrogg(Creature *creature)
void OnSpellCast(SpellInfo const *spell) override
void JustDied(Unit *) override
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *) override
void JustEngagedWith(Unit *who) override
void RightHeadTalk(uint32 text)
void UpdateAI(uint32 diff) override
void DoAction(int32 action) override
npc_omrogg_heads(Creature *creature)
InstanceScript * _instance