![]() |
TrinityCore
|
Inheritance diagram for spell_hun_wilderness_medicine:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | OnPeriodic (AuraEffect const *aurEff) const |
| void | Register () override |
Private Attributes | |
| SpellEffectValue | _dispelChance = 0 |
Definition at line 1860 of file spell_hunter.cpp.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1867 of file spell_hunter.cpp.
References _dispelChance, EFFECT_1, AuraEffect::GetAmount(), Unit::GetAuraEffect(), AuraScript::GetCaster(), and SPELL_HUNTER_WILDERNESS_MEDICINE_TALENT.
|
inlineprivate |
Definition at line 1881 of file spell_hunter.cpp.
References _dispelChance, AuraScript::GetCaster(), AuraScript::GetTarget(), roll_chance(), SPELL_HUNTER_WILDERNESS_MEDICINE_DISPEL, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1891 of file spell_hunter.cpp.
References AuraEffectPeriodicFn, EFFECT_0, AuraScript::OnEffectPeriodic, OnPeriodic(), and SPELL_AURA_OBS_MOD_HEALTH.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1862 of file spell_hunter.cpp.
References SPELL_HUNTER_WILDERNESS_MEDICINE_DISPEL, SPELL_HUNTER_WILDERNESS_MEDICINE_TALENT, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 1896 of file spell_hunter.cpp.
Referenced by Load(), and OnPeriodic().