88 if ((_hopelessnessCount < 1 && me->HealthBelowPctDamaged(66, damage))
89 || (_hopelessnessCount < 2 && me->HealthBelowPctDamaged(33, damage))
90 || (_hopelessnessCount < 3 && me->HealthBelowPctDamaged(10, damage)))
151 return GetHallsOfReflectionAI<boss_falricAI>(creature);
@ SPELL_IMPENDING_DESPAIR
uint32 const HopelessnessHelper[3]
@ EVENT_IMPENDING_DESPAIR
InstanceScript *const instance
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
virtual bool SetBossState(uint32 id, EncounterState state)
SpellCastResult DoCastVictim(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)
void RemoveOwnedAura(AuraMap::iterator &i, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
CreatureAI * GetAI(Creature *creature) const override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void KilledUnit(Unit *who) override
void JustDied(Unit *) override
void UpdateAI(uint32 diff) override
boss_falricAI(Creature *creature)
void JustEngagedWith(Unit *) override