![]() |
TrinityCore
|
Inheritance diagram for spell_hun_lock_and_load:Private Member Functions | |
| PrepareAuraScript (spell_hun_lock_and_load) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| bool | CheckTrapProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| bool | CheckPeriodicProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | HandleProc (ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 603 of file spell_hunter.cpp.
|
inlineprivate |
Definition at line 636 of file spell_hunter.cpp.
References AuraEffect::GetAmount(), ProcEventInfo::GetTypeMask(), PROC_FLAG_DONE_PERIODIC, and roll_chance_i().
Referenced by Register().
|
inlineprivate |
Definition at line 616 of file spell_hunter.cpp.
References ProcEventInfo::GetActor(), Unit::HasAura(), and SPELL_HUNTER_LOCK_AND_LOAD_MARKER.
Referenced by Register().
|
inlineprivate |
Definition at line 623 of file spell_hunter.cpp.
References AuraEffect::GetAmount(), SpellInfo::GetSchoolMask(), ProcEventInfo::GetSpellInfo(), ProcEventInfo::GetTypeMask(), PROC_FLAG_DONE_TRAP_ACTIVATION, roll_chance_i(), and SPELL_SCHOOL_MASK_FROST.
Referenced by Register().
|
inlineprivate |
Definition at line 644 of file spell_hunter.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActor(), AuraScript::PreventDefaultAction(), SPELL_HUNTER_LOCK_AND_LOAD_MARKER, and SPELL_HUNTER_LOCK_AND_LOAD_TRIGGER.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 653 of file spell_hunter.cpp.
References AuraCheckEffectProcFn, AuraCheckProcFn, AuraProcFn, CheckPeriodicProc(), CheckProc(), CheckTrapProc(), AuraScript::DoCheckEffectProc, AuraScript::DoCheckProc, EFFECT_0, EFFECT_1, HandleProc(), AuraScript::OnProc, SPELL_AURA_DUMMY, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 607 of file spell_hunter.cpp.
References SPELL_HUNTER_LOCK_AND_LOAD_MARKER, SPELL_HUNTER_LOCK_AND_LOAD_TRIGGER, and _SpellScript::ValidateSpellInfo().