298 .TriggeringAura = aurEff
477 .TriggeringAura = aurEff
@ ENCOUNTER_FRAME_DISENGAGE
#define RegisterSpellAndAuraScriptPair(script_1, script_2)
#define RegisterAreaTriggerAI(ai_name)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCHOOL_DAMAGE
@ SPELL_EFFECT_APPLY_AURA
@ AURA_EFFECT_HANDLE_REAL
@ AURA_REMOVE_BY_ENEMY_SPELL
@ SPELL_AURA_SCHOOL_ABSORB
@ SPELL_AURA_PERIODIC_DUMMY
@ TRIGGERED_FULL_MASK
Used when doing CastSpell with triggered == true.
@ TRIGGERED_IGNORE_CAST_IN_PROGRESS
Will not check if a current cast is in progress.
@ TRIGGERED_DONT_REPORT_CAST_ERROR
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectRemoveFn(F, I, N, M)
void AddSC_boss_skarmorak()
@ EVENT_CRYSTALLINE_SMASH
@ SPELL_FORTIFIED_SHELL_INDICATOR
@ SPELL_UNSTABLE_FRAGMENT_MOD_DAMAGE
@ SPELL_FORTIFIED_SHELL_VISUAL
@ SPELL_FORTIFIED_SHELL_PERIODIC_ABSORB_STACK
@ SPELL_UNSTABLE_ENERGY_AREA
@ SPELL_FORTIFIED_SHELL_CRYSTAL_VISUAL
@ SPELL_UNSTABLE_FRAGMENTS
@ SPELL_CRYSTALLINE_SMASH_DAMAGE
@ SPELL_VOID_DISCHARGE_STACKS
@ SPELL_FORTIFIED_SHELL_SELECTOR
@ SPELL_ENERGY_CONTROLLER
@ SPELL_UNSTABLE_CRASH_FRAGMENT_SELECTOR
@ SPELL_FORTIFIED_SHELL_ENERGIZE
@ SPELL_CRYSTAL_SHARDS_DUMMY
@ SPELL_UNSTABLE_FRAGMENT_DAMAGE
@ SPELL_CRYSTALLINE_ERUPTION
@ SPELL_FORTIFIED_SHELL_ABSORB
AreaTriggerAI(AreaTrigger *a, uint32 scriptId={}) noexcept
uint32 GetTickNumber() const
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
bool _EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void CancelEvent(uint32 eventId)
Creature * GetCreature(uint32 type)
void SendEncounterUnit(EncounterFrameType type, Unit const *unit, Optional< int32 > param1={}, Optional< int32 > param2={})
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
HookList< CastHandler > AfterCast
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
virtual void DoAction(int32 param)
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
int32 ModifyPower(Powers power, int32 val, bool withPowerUpdate=true)
int32 GetPower(Powers power) const
bool HasUnitState(const uint32 f) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void HandleShard2(SpellEffIndex) const
void HandleShard1(SpellEffIndex) const
bool Validate(SpellInfo const *) override
void HandleShard3(SpellEffIndex) const
bool Validate(SpellInfo const *) override
void HandleHitTarget(SpellEffIndex) const
void AfterRemove(AuraEffect const *, AuraEffectHandleModes) const
void PeriodicTick(AuraEffect const *aurEff) const
static constexpr std::array< uint8, 3 > SkarmorakEnergizeCycle
void HandlePeriodic(AuraEffect const *aurEff) const
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void HandleDummyVisual(SpellEffIndex) const
void HandleCrystalVisual(SpellEffIndex) const
bool Validate(SpellInfo const *) override
void HandleHitTarget(SpellEffIndex) const
void HandleAfterCast() const
bool Validate(SpellInfo const *) override
void HandleHitTarget(SpellEffIndex) const
bool Validate(SpellInfo const *) override
void HandlePeriodic(AuraEffect const *aurEff) const
bool Validate(SpellInfo const *) override
void HandleHitTarget(SpellEffIndex) const
bool Validate(SpellInfo const *) override
void OnUnitEnter(Unit *unit) override
void HandleFortifiedShellEnded()
void DoAction(int32 action) override
void EnterEvadeMode(EvadeReason) override
void JustDied(Unit *) override
boss_skarmorak(Creature *creature)
void KilledUnit(Unit *victim) override
void OnChannelFinished(SpellInfo const *spell) override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
#define RegisterTheStonevaultCreatureAI(ai_name)