100 targets.remove_if([
this, maxRadius](
WorldObject* target) ->
bool
121 if (damageInfo && damageInfo->
GetDamage())
#define RegisterCreatureAI(ai_name)
#define RegisterSpellScript(spell_script)
@ TARGET_UNIT_SRC_AREA_ENEMY
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraCheckProcFn(F)
HookList< CheckProcHandler > DoCheckProc
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
float GetObjectScale() const
Unit * GetActionTarget() const
DamageInfo * GetDamageInfo() const
void FilterTargets(std::list< WorldObject * > &targets)
bool CheckProc(ProcEventInfo &eventInfo)
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
bool HealthBelowPct(float pct) const
bool HasUnitState(const uint32 f) const
void JustEngagedWith(Unit *) override
WorldBossAI(Creature *creature) noexcept
static constexpr uint32 EventDarkWhisper
static constexpr uint32 EventMassiveShockwave
static constexpr uint32 EventBlackBreath
static constexpr uint32 SpellMassiveShockwave
static constexpr uint32 SpellBlackBreath
static constexpr uint32 SpellDarkWhisper
float GetExactDist(float x, float y, float z) const
void UpdateAI(uint32 diff) override
void JustEngagedWith(Unit *who) override
void AddSC_worldboss_julak_doom()