![]() |
TrinityCore
|
Inheritance diagram for spell_item_death_choice:Private Member Functions | |
| PrepareAuraScript (spell_item_death_choice) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 3520 of file spell_item.cpp.
|
inlineprivate |
Definition at line 3535 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().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 3566 of file spell_item.cpp.
References AuraEffectProcFn, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 3524 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 _SpellScript::ValidateSpellInfo().