126 if (_phase < PHASE_HEALTH_90 && me->HealthBelowPctDamaged(90, damage))
132 if (_phase < PHASE_HEALTH_55 && me->HealthBelowPctDamaged(55, damage))
138 if (_phase < PHASE_HEALTH_10 && me->HealthBelowPctDamaged(10, damage))
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
#define SpellEffectFn(F, I, N)
void AddSC_boss_darkweaver_syth()
@ SPELL_SUMMON_SYTH_ARCANE
@ SPELL_SUMMON_SYTH_FROST
@ SPELL_SUMMON_SYTH_SHADOW
@ SPELL_SUMMON_ELEMENTALS
@ SPELL_CHAIN_LIGHTNING_H
void JustEngagedWith(Unit *who) override
void AttackStart(Unit *victim) override
== Triggered Actions Requested ==================
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
HookList< EffectHandler > OnEffectHit
void Summon(Creature const *summon)
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
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 CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
#define RegisterSethekkHallsCreatureAI(ai_name)
T const & DUNGEON_MODE(T const &normal5, T const &heroic10) const
void JustSummoned(Creature *summoned) override
boss_darkweaver_syth(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustEngagedWith(Unit *who) override
void ExecuteEvent(uint32 eventId) override
void JustDied(Unit *) override
void OnSpellCast(SpellInfo const *spellInfo) override
void KilledUnit(Unit *) override