![]() |
TrinityCore
|
Inheritance diagram for spell_warl_cunning_cruelty:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (AuraEffect const *, ProcEventInfo const &eventInfo) |
| void | Register () override |
Static Private Member Functions | |
| static void | HandleProc (AuraScript const &, AuraEffect const *, ProcEventInfo const &eventInfo) |
Private Attributes | |
| PseudoRandomDistributionState | _rng |
Definition at line 552 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 559 of file spell_warlock.cpp.
References _rng, ProcEventInfo::GetSpellInfo(), SpellInfo::IsAffected(), roll_chance(), and SPELLFAMILY_WARLOCK.
Referenced by Register().
|
inlinestaticprivate |
Definition at line 570 of file spell_warlock.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), Position::GetPosition(), SPELL_WARLOCK_SHADOWBOLT_VOLLEY_AREA, TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 575 of file spell_warlock.cpp.
References AuraCheckEffectProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckEffectProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 554 of file spell_warlock.cpp.
References SPELL_WARLOCK_SHADOWBOLT_VOLLEY_AREA, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 581 of file spell_warlock.cpp.
Referenced by CheckProc().