36#define SPELL_RAY_OF_PAIN DUNGEON_MODE(54438,59523)
37#define SPELL_RAY_OF_SUFFERING DUNGEON_MODE(54442,59524)
std::chrono::seconds Seconds
Seconds shorthand typedef.
#define RegisterSpellScript(spell_script)
@ SPELL_AURA_PERIODIC_DAMAGE
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectUpdatePeriodicFn(F, I, N)
@ SPELL_OPTIC_LINK_LEVEL_3
@ SPELL_OPTIC_LINK_LEVEL_1
@ SPELL_OPTIC_LINK_LEVEL_2
#define SPELL_RAY_OF_SUFFERING
#define SPELL_RAY_OF_PAIN
uint32 GetTickNumber() const
SpellEffectInfo const & GetSpellEffectInfo() const
void SetAmount(int32 amount)
void PreventDefaultAction()
HookList< EffectPeriodicHandler > OnEffectPeriodic
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustReachedHome() override
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
TaskScheduler & Schedule(std::chrono::duration< Rep, Period > time, task_handler_t task)
TaskScheduler & Async(std::function< void()> callable)
TaskScheduler & Update(success_t const &callback=nullptr)
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 DoCast(uint32 spellId)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
virtual void SetData(uint32, uint32)
bool Validate(SpellInfo const *) override
void OnUpdate(AuraEffect *aurEff)
void OnPeriodic(AuraEffect const *aurEff)
void OnPeriodic(AuraEffect const *aurEff)
void JustEngagedWith(Unit *who) override
boss_moragg(Creature *creature)
void JustReachedHome() override
void UpdateAI(uint32 diff) override
void ScheduleTasks() override
#define RegisterVioletHoldCreatureAI(ai_name)