![]() |
TrinityCore
|
Inheritance diagram for spell_hun_ascpect_of_the_viper:Private Member Functions | |
| PrepareAuraScript (spell_hun_ascpect_of_the_viper) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &) |
| void | OnApply (AuraEffect const *aurEff, AuraEffectHandleModes) |
| void | OnRemove (AuraEffect const *, AuraEffectHandleModes) |
| void | Register () override |
Definition at line 153 of file spell_hunter.cpp.
|
inlineprivate |
Definition at line 168 of file spell_hunter.cpp.
References AddPct(), CastSpellExtraArgs::AddSpellBP0(), CalculatePct(), WorldObject::CastSpell(), EFFECT_0, Unit::GetMaxPower(), AuraScript::GetTarget(), POWER_MANA, AuraScript::PreventDefaultAction(), RANGED_ATTACK, SPELL_HUNTER_ASPECT_OF_THE_VIPER_ENERGIZE, and SPELL_HUNTER_GLYPH_OF_ASPECT_OF_THE_VIPER.
Referenced by Register().
|
inlineprivate |
Definition at line 183 of file spell_hunter.cpp.
References WorldObject::CastSpell(), AuraScript::GetTarget(), SPELL_HUNTER_VICIOUS_VIPER, and SPELL_HUNTER_VIPER_ATTACK_SPEED.
Referenced by Register().
|
inlineprivate |
Definition at line 190 of file spell_hunter.cpp.
References AuraScript::GetTarget(), Unit::RemoveAurasDueToSpell(), SPELL_HUNTER_VICIOUS_VIPER, and SPELL_HUNTER_VIPER_ATTACK_SPEED.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 197 of file spell_hunter.cpp.
References AuraScript::AfterEffectApply, AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectProcFn, AuraEffectRemoveFn, EFFECT_0, HandleProc(), OnApply(), AuraScript::OnEffectProc, OnRemove(), and SPELL_AURA_OBS_MOD_POWER.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 157 of file spell_hunter.cpp.
References SPELL_HUNTER_ASPECT_OF_THE_VIPER_ENERGIZE, SPELL_HUNTER_GLYPH_OF_ASPECT_OF_THE_VIPER, SPELL_HUNTER_VICIOUS_VIPER, SPELL_HUNTER_VIPER_ATTACK_SPEED, and _SpellScript::ValidateSpellInfo().