![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
| PrepareAuraScript (spell_pal_item_t6_trinket) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Private Attributes | |
| uint32 | _triggeredSpellId = 0 |
|
inlineprivate |
References _triggeredSpellId, ProcEventInfo::GetSpellInfo(), roll_chance_i(), SPELL_PALADIN_ENDURING_JUDGEMENT, SPELL_PALADIN_ENDURING_LIGHT, and SpellInfo::SpellFamilyFlags.
Referenced by Register().
|
inlineprivate |
References _triggeredSpellId, Unit::CastSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), and AuraScript::PreventDefaultAction().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_PALADIN_ENDURING_JUDGEMENT, SPELL_PALADIN_ENDURING_LIGHT, and _SpellScript::ValidateSpellInfo().
|
private |
Referenced by CheckProc(), and HandleProc().