122 if (_phase < PHASE_HEALTH_80 && me->HealthBelowPctDamaged(80, damage))
128 if (_phase < PHASE_HEALTH_50 && me->HealthBelowPctDamaged(50, damage))
134 if (_phase < PHASE_HEALTH_25 && me->HealthBelowPctDamaged(25, damage))
140 if (_phase < PHASE_HEALTH_15 && me->HealthBelowPctDamaged(15, damage))
#define RegisterSpellScript(spell_script)
@ TARGET_UNIT_SRC_AREA_ENEMY
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
void AddSC_boss_talon_king_ikiss()
void JustEngagedWith(Unit *who) override
virtual void MoveInLineOfSight(Unit *)
void SetReactState(ReactStates st)
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
static ObjectGuid GetGUID(Object const *o)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
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)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *) override
void FilterTargets(std::list< WorldObject * > &targets)
ObjectGuid _selectedTargetGuid
PrepareSpellScript(spell_talon_king_ikiss_blink)
void HandleDummy(SpellEffIndex)
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
#define RegisterSethekkHallsCreatureAI(ai_name)
void ResetThreatList(Unit *who=nullptr)
void JustEngagedWith(Unit *who) override
void OnSpellCast(SpellInfo const *spellInfo) override
void ExecuteEvent(uint32 eventId) override
void MoveInLineOfSight(Unit *who) override
boss_talon_king_ikiss(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustDied(Unit *) override
void KilledUnit(Unit *) override