#define RegisterSpellScript(spell_script)
#define SpellEffectFn(F, I, N)
void AddSC_boss_cyanigosa()
@ SPELL_UNCONTROLLABLE_ENERGY
void JustEngagedWith(Unit *who) override
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
TaskContext & Repeat(std::chrono::duration< _Rep, _Period > const &duration)
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
void DoMeleeAttackIfReady()
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)
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
virtual uint32 GetData(uint32) const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool OnCheck(Player *, Unit *target) override
achievement_defenseless()
PrepareSpellScript(spell_cyanigosa_arcane_vacuum)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
void KilledUnit(Unit *victim) override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void MoveInLineOfSight(Unit *) override
boss_cyanigosa(Creature *creature)
void ScheduleTasks() override
#define RegisterVioletHoldCreatureAI(ai_name)