![]() |
TrinityCore
|
Inheritance diagram for spell_item_aura_of_madness:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 340 of file spell_item.cpp.
|
inlineprivate |
Definition at line 358 of file spell_item.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActor(), Unit::GetClass(), MAX_CLASSES, AuraScript::PreventDefaultAction(), roll_chance(), SAY_MADNESS, Trinity::Containers::SelectRandomContainerElement(), SPELL_DELUSIONAL, SPELL_DEMENTIA, SPELL_KLEPTOMANIA, SPELL_MANIC, SPELL_MARTYR_COMPLEX, SPELL_MEGALOMANIA, SPELL_NARCISSISM, SPELL_PARANOIA, and SPELL_SOCIOPATH.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 397 of file spell_item.cpp.
References AuraEffectProcFn, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 342 of file spell_item.cpp.
References SAY_MADNESS, sBroadcastTextStore, SPELL_DELUSIONAL, SPELL_DEMENTIA, SPELL_KLEPTOMANIA, SPELL_MANIC, SPELL_MARTYR_COMPLEX, SPELL_MEGALOMANIA, SPELL_NARCISSISM, SPELL_PARANOIA, SPELL_SOCIOPATH, and SpellScriptBase::ValidateSpellInfo().