196 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 Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void ResetPlayerDamageReq()
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
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)
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
void SetHealth(uint64 val)
ThreatManager & GetThreatManager()
uint64 CountPctFromMaxHealth(int32 pct) const
bool HasUnitState(const uint32 f) const
bool isAttackReady(WeaponAttackType type=BASE_ATTACK) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void OnPeriodic(AuraEffect const *aurEff)
bool Validate(SpellInfo const *) override
void HandleEffect(SpellEffIndex)
bool Validate(SpellInfo const *) override
void FilterTarget(std::list< WorldObject * > &targets)
#define RegisterShadowLabyrinthCreatureAI(ai_name)
constexpr float GetExactDist2dSq(const float x, const float y) const
void SetCombatMovement(bool allowMovement)
void UpdateAI(uint32 diff) override
boss_murmur(Creature *creature)