46 Unit* attacker = damageInfo->GetAttacker();
47 if (!attacker || !damageInfo->GetDamage())
61 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
uint32 GetCreatureType() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
PrepareAuraScript(spell_utgarde_pinnacle_beast_mark)
bool Validate(SpellInfo const *) override
void HandleProc(AuraEffect const *aurEff, ProcEventInfo &)
bool CheckProc(ProcEventInfo &eventInfo)
void AddSC_utgarde_pinnacle()
@ SPELL_BEAST_MARK_DAMAGE_H
@ SPELL_BEAST_MARK_NORMAL
@ SPELL_BEAST_MARK_DAMAGE_N