![]() |
TrinityCore
|
Inheritance diagram for spell_hun_surging_shots:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | Register () override |
Static Private Member Functions | |
| static bool | RollProc (AuraScript const &, AuraEffect const *aurEff, ProcEventInfo const &) |
| static void | HandleProc (AuraScript const &, AuraEffect const *, ProcEventInfo const &eventInfo) |
Definition at line 1543 of file spell_hunter.cpp.
|
inlinestaticprivate |
Definition at line 1555 of file spell_hunter.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActor(), Unit::GetSpellHistory(), SpellHistory::ResetCooldown(), SPELL_HUNTER_RAPID_FIRE, SPELL_HUNTER_SURGING_SHOTS_ACTION_BAR_GLOW, TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1562 of file spell_hunter.cpp.
References AuraCheckEffectProcFn, AuraEffectProcFn, AuraScript::DoCheckEffectProc, EFFECT_2, HandleProc(), AuraScript::OnEffectProc, RollProc(), and SPELL_AURA_DUMMY.
|
inlinestaticprivate |
Definition at line 1550 of file spell_hunter.cpp.
References AuraEffect::GetAmount(), and roll_chance().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1545 of file spell_hunter.cpp.
References SPELL_HUNTER_RAPID_FIRE, SPELL_HUNTER_SURGING_SHOTS_ACTION_BAR_GLOW, and SpellScriptBase::ValidateSpellInfo().