![]() |
TrinityCore
|
Inheritance diagram for spell_hun_scrappy:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleEffectProc (AuraEffect const *aurEff, ProcEventInfo const &) const |
| void | Register () override |
Static Private Attributes | |
| static constexpr std::array< uint32, 3 > | AffectedSpellIds = { SPELL_HUNTER_BINDING_SHOT, SPELL_HUNTER_INTIMIDATION, SPELL_HUNTER_INTIMIDATION_MARKSMANSHIP } |
Definition at line 1440 of file spell_hunter.cpp.
|
inlineprivate |
Definition at line 1449 of file spell_hunter.cpp.
References AffectedSpellIds, AuraEffect::GetAmountAsInt(), Unit::GetSpellHistory(), AuraScript::GetTarget(), and SpellHistory::ModifyCooldown().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1455 of file spell_hunter.cpp.
References AuraEffectProcFn, EFFECT_0, HandleEffectProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1444 of file spell_hunter.cpp.
References AffectedSpellIds, and SpellScriptBase::ValidateSpellInfo().
|
staticconstexprprivate |
Definition at line 1442 of file spell_hunter.cpp.
Referenced by HandleEffectProc(), and Validate().