DBCStorage< SoundEntriesEntry > sSoundEntriesStore(SoundEntriesfmt)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_SCHOOL_DAMAGE
@ SPELL_DAMAGE_CLASS_MELEE
@ SPELL_AURA_PROC_TRIGGER_DAMAGE
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraCheckEffectProcFn(F, I, N)
@ SPELL_SHADOW_SICKLE_TRIGGERED
HookList< CheckEffectProcHandler > DoCheckEffectProc
HookList< EffectPeriodicHandler > OnEffectPeriodic
Unit * GetUnitOwner() const
SpellInfo const * GetSpellInfo() const
int32 CalcValue(WorldObject const *caster=nullptr, int32 const *basePoints=nullptr) const
SpellEffectInfo const & GetEffect(SpellEffIndex index) const
Player * GetHitPlayer() const
Unit * GetHitUnit() const
int32 GetEffectValue() const
SpellEffectInfo const & GetEffectInfo() const
HookList< EffectHandler > OnEffectHitTarget
void SetHitDamage(int32 damage)
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
uint32 GetMaxHealth() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool CheckProc(AuraEffect const *, ProcEventInfo &eventInfo)
PrepareAuraScript(spell_ahnkahet_combined_toxins)
void HandleDamageCalc(SpellEffIndex)
PrepareSpellScript(spell_ahnkahet_shadow_blast)
void HandlePeriodic(AuraEffect const *aurEff)
PrepareAuraScript(spell_ahnkahet_shadow_sickle)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *spellInfo) override
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_ahnkahet_yogg_saron_whisper)