![]() |
TrinityCore
|
Inheritance diagram for spell_warl_shard_instability:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| template<bool IsDrainSoul> | |
| bool | CheckProc (AuraEffect const *aurEff, 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 1422 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 1430 of file spell_warlock.cpp.
References _rng, AuraEffect::GetAmount(), ProcEventInfo::GetSpellInfo(), SpellInfo::IsAffected(), roll_chance(), and SPELLFAMILY_WARLOCK.
|
inlinestaticprivate |
Definition at line 1438 of file spell_warlock.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActor(), SPELL_WARLOCK_SHARD_INSTABILITY, TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1443 of file spell_warlock.cpp.
References AuraCheckEffectProcFn, AuraEffectProcFn, AuraScript::DoCheckEffectProc, EFFECT_0, EFFECT_1, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1424 of file spell_warlock.cpp.
References SPELL_WARLOCK_SHARD_INSTABILITY, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 1451 of file spell_warlock.cpp.
Referenced by CheckProc().