87 if (_phase < PHASE_HEALTH_75 && me->HealthBelowPctDamaged(75, damage))
93 if (_phase < PHASE_HEALTH_60 && me->HealthBelowPctDamaged(60, damage))
99 if (_phase < PHASE_HEALTH_30 && me->HealthBelowPctDamaged(30, damage))
void AddSC_boss_amnennar_the_coldbringer()
@ SPELL_BANISH_FROST_SPECTRES
@ SPELL_SUMMON_FROST_SPECTRES
void JustEngagedWith(Unit *who) override
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
bool HasUnitState(const uint32 f) const
#define RegisterRazorfenDownsCreatureAI(ai_name)
@ DATA_AMNENNAR_THE_COLD_BRINGER
void JustDied(Unit *) override
void KilledUnit(Unit *who) override
void JustEngagedWith(Unit *who) override
void EnterEvadeMode(EvadeReason why) override
void UpdateAI(uint32 diff) override
boss_amnennar_the_coldbringer(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustSummoned(Creature *) override