![]() |
TrinityCore
|
Inheritance diagram for spell_item_death_choice:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 3358 of file spell_item.cpp.
|
inlineprivate |
Definition at line 3371 of file spell_item.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActor(), AuraEffect::GetId(), Unit::GetStat(), AuraScript::PreventDefaultAction(), SPELL_DEATH_CHOICE_HEROIC_AGILITY, SPELL_DEATH_CHOICE_HEROIC_AURA, SPELL_DEATH_CHOICE_HEROIC_STRENGTH, SPELL_DEATH_CHOICE_NORMAL_AGILITY, SPELL_DEATH_CHOICE_NORMAL_AURA, SPELL_DEATH_CHOICE_NORMAL_STRENGTH, STAT_AGILITY, and STAT_STRENGTH.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 3402 of file spell_item.cpp.
References AuraEffectProcFn, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 3360 of file spell_item.cpp.
References SPELL_DEATH_CHOICE_HEROIC_AGILITY, SPELL_DEATH_CHOICE_HEROIC_STRENGTH, SPELL_DEATH_CHOICE_NORMAL_AGILITY, SPELL_DEATH_CHOICE_NORMAL_STRENGTH, and SpellScriptBase::ValidateSpellInfo().