199 return distSq < (25.0f * 25.0f) || distSq > (100.0f * 100.0f);
#define RegisterSpellScript(spell_script)
@ TARGET_UNIT_SRC_AREA_ENEMY
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
@ SPELL_SONIC_BOOM_EFFECT
@ SPELL_SHOCKWAVE_KNOCK_BACK
@ SPELL_MURMURS_TOUCH_DUMMY
uint32 GetTickNumber() const
HookList< EffectPeriodicHandler > OnEffectPeriodic
void ResetPlayerDamageReq()
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
HookList< HitHandler > OnHit
HookList< EffectHandler > OnEffectHit
Unit * GetHitUnit() const
void SetHitDamage(int32 damage)
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
void ResetThreat(Unit *target)
bool operator()(WorldObject *obj)
WorldObject const * _source
ThunderingStormCheck(WorldObject *source)
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)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
bool IsWithinMeleeRange(Unit const *obj) const
ThreatManager & GetThreatManager()
void SetHealth(uint32 val)
bool HasUnitState(const uint32 f) const
uint32 CountPctFromMaxHealth(int32 pct) const
bool isAttackReady(WeaponAttackType type=BASE_ATTACK) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void OnPeriodic(AuraEffect const *aurEff)
bool Validate(SpellInfo const *) override
PrepareAuraScript(spell_murmur_murmurs_touch)
PrepareSpellScript(spell_murmur_sonic_boom_effect)
void HandleEffect(SpellEffIndex)
PrepareSpellScript(spell_murmur_sonic_boom)
bool Validate(SpellInfo const *) override
void FilterTarget(std::list< WorldObject * > &targets)
PrepareSpellScript(spell_murmur_thundering_storm)
#define RegisterShadowLabyrinthCreatureAI(ai_name)
float GetExactDist2dSq(const float x, const float y) const
void SetCombatMovement(bool allowMovement)
void UpdateAI(uint32 diff) override
boss_murmur(Creature *creature)