107 if (_phase < PHASE_HEALTH_50 && me->HealthBelowPctDamaged(50, damage))
112 if (_phase < PHASE_HEALTH_20 && me->HealthBelowPctDamaged(20, damage))
void AddSC_boss_thorngrin_the_tender()
void JustEngagedWith(Unit *who) override
virtual void MoveInLineOfSight(Unit *)
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={})
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 HasUnitState(const uint32 f) const
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void UpdateAI(uint32 diff) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void OnSpellStart(SpellInfo const *spell) override
void MoveInLineOfSight(Unit *who) override
void KilledUnit(Unit *) override
boss_thorngrin_the_tender(Creature *creature)
void OnSpellCast(SpellInfo const *spell) override
@ DATA_THORNGRIN_THE_TENDER
#define RegisterBotanicaCreatureAI(ai_name)