![]() |
TrinityCore
|
Inheritance diagram for spell_hun_lock_and_load:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | Register () override |
Static Private Member Functions | |
| static bool | CheckProc (AuraScript const &, AuraEffect const *aurEff, ProcEventInfo const &) |
| static void | HandleProc (AuraScript const &, AuraEffect const *, ProcEventInfo const &eventInfo) |
Definition at line 879 of file spell_hunter.cpp.
|
inlinestaticprivate |
Definition at line 886 of file spell_hunter.cpp.
References AuraEffect::GetAmount(), and roll_chance().
Referenced by Register().
|
inlinestaticprivate |
Definition at line 891 of file spell_hunter.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActor(), SPELL_HUNTER_LOCK_AND_LOAD, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 899 of file spell_hunter.cpp.
References AuraCheckEffectProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckEffectProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 881 of file spell_hunter.cpp.
References SPELL_HUNTER_LOCK_AND_LOAD, and SpellScriptBase::ValidateSpellInfo().