44 Unit* attacker = damageInfo->GetAttacker();
45 if (!attacker || !damageInfo->GetDamage())
59 target->
CastSpell(target, spellId, aurEff);
#define RegisterSpellScript(spell_script)
@ SPELL_AURA_PROC_TRIGGER_SPELL
#define AuraEffectProcFn(F, I, N)
#define AuraCheckProcFn(F)
void PreventDefaultAction()
HookList< CheckProcHandler > DoCheckProc
HookList< EffectProcHandler > OnEffectProc
DamageInfo * GetDamageInfo() const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
uint32 GetCreatureType() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void HandleProc(AuraEffect *aurEff, ProcEventInfo &)
bool Validate(SpellInfo const *) override
bool CheckProc(ProcEventInfo &eventInfo)
void AddSC_utgarde_pinnacle()
@ SPELL_BEAST_MARK_DAMAGE_H
@ SPELL_BEAST_MARK_NORMAL
@ SPELL_BEAST_MARK_DAMAGE_N