![]() |
TrinityCore
|
Inheritance diagram for spell_item_anger_capacitor< StackAmount >::spell_item_anger_capacitor_AuraScript< Stacks >:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect *aurEff, ProcEventInfo &eventInfo) |
| void | OnRemove (AuraEffect const *, AuraEffectHandleModes) |
| void | Register () override |
Definition at line 254 of file spell_item.cpp.
|
inlineprivate |
Definition at line 266 of file spell_item.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), Unit::GetAura(), Aura::GetStackAmount(), OFF_ATTACK, AuraScript::PreventDefaultAction(), Unit::RemoveAurasDueToSpell(), roll_chance(), SPELL_MANIFEST_ANGER_MAIN_HAND, SPELL_MANIFEST_ANGER_OFF_HAND, SPELL_MOTE_OF_ANGER, and Object::ToPlayer().
Referenced by spell_item_anger_capacitor< StackAmount >::spell_item_anger_capacitor_AuraScript< Stacks >::Register().
|
inlineprivate |
Definition at line 286 of file spell_item.cpp.
References AuraScript::GetTarget(), Unit::RemoveAurasDueToSpell(), and SPELL_MOTE_OF_ANGER.
Referenced by spell_item_anger_capacitor< StackAmount >::spell_item_anger_capacitor_AuraScript< Stacks >::Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 291 of file spell_item.cpp.
References AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectProcFn, AuraEffectRemoveFn, EFFECT_0, spell_item_anger_capacitor< StackAmount >::spell_item_anger_capacitor_AuraScript< Stacks >::HandleProc(), AuraScript::OnEffectProc, spell_item_anger_capacitor< StackAmount >::spell_item_anger_capacitor_AuraScript< Stacks >::OnRemove(), and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 256 of file spell_item.cpp.
References SPELL_MANIFEST_ANGER_MAIN_HAND, SPELL_MANIFEST_ANGER_OFF_HAND, SPELL_MOTE_OF_ANGER, and SpellScriptBase::ValidateSpellInfo().