137 if (_phase < PHASE_HEALTH_70 && me->HealthBelowPctDamaged(70, damage))
143 if (_phase < PHASE_HEALTH_33 && me->HealthBelowPctDamaged(33, damage))
First const & RAND(First const &first, Second const &second, Rest const &... rest)
@ EVENT_CYCLONE_OF_FEATHERS
@ EVENT_PARALYZING_SCREECH
static constexpr std::array< uint32, 7 > BroodSpawnGroupsData
@ SPELL_CYCLONE_OF_FEATHERS
@ SPELL_PARALYZING_SCREECH
static constexpr std::array< uint32, 3 > HelpersSpawnGroupsData
void JustEngagedWith(Unit *who) override
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void SetReactState(ReactStates st)
void SetImmuneToAll(bool apply) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
bool SpawnGroupSpawn(uint32 groupId, bool ignoreRespawn=false, bool force=false, std::vector< WorldObject * > *spawnedObjects=nullptr)
bool SpawnGroupDespawn(uint32 groupId, bool deleteRespawnTimes=false, size_t *count=nullptr)
TaskScheduler & Schedule(duration_t time, task_handler_t task)
TaskScheduler & Update()
Update the scheduler to the current time.
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 DoCast(uint32 spellId)
MotionMaster * GetMotionMaster()
Powers GetPowerType() const
bool HasUnitState(const uint32 f) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true, bool updatePlayHoverAnim=true)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
#define RegisterSethekkHallsCreatureAI(ai_name)
ScriptedAI(Creature *creature, uint32 scriptId=0) noexcept
void UpdateAI(uint32 diff) override
void JustEngagedWith(Unit *who) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustDied(Unit *) override
void JustAppeared() override
void DoAction(int32 action) override
boss_anzu(Creature *creature)
void EnterEvadeMode(EvadeReason why) override
void JustDied(Unit *) override
void WaypointPathEnded(uint32, uint32) override
void UpdateAI(uint32 diff) override
void JustAppeared() override