![]() |
TrinityCore
|
Inheritance diagram for spell_dh_darkglare_boon:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | HandleEffectRemove (AuraEffect const *, AuraEffectHandleModes) const |
| void | Register () override |
Definition at line 789 of file spell_dh.cpp.
|
inlineprivate |
Definition at line 807 of file spell_dh.cpp.
References CalculatePct(), WorldObject::CastSpell(), EFFECT_0, EFFECT_1, EFFECT_2, EFFECT_3, frand(), AuraEffect::GetAmount(), Unit::GetAura(), SpellHistory::GetCooldownDurations(), Aura::GetEffect(), Unit::GetSpellHistory(), AuraScript::GetSpellInfo(), AuraScript::GetTarget(), SpellHistory::ModifyCooldown(), SPELL_DH_DARKGLARE_BOON, SPELL_DH_DARKGLARE_BOON_ENERGIZE, SPELL_DH_FEL_DEVASTATION, SPELLVALUE_BASE_POINT0, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 802 of file spell_dh.cpp.
References AuraScript::GetUnitOwner(), Unit::HasAura(), and SPELL_DH_DARKGLARE_BOON.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 831 of file spell_dh.cpp.
References AURA_EFFECT_HANDLE_REAL, AuraEffectRemoveFn, EFFECT_0, HandleEffectRemove(), AuraScript::OnEffectRemove, and SPELL_AURA_PERIODIC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 791 of file spell_dh.cpp.
References SpellEffectInfo::CalcValue(), DIFFICULTY_NONE, EFFECT_0, EFFECT_1, EFFECT_2, EFFECT_3, SpellInfo::GetEffect(), SPELL_DH_DARKGLARE_BOON, SPELL_DH_DARKGLARE_BOON_ENERGIZE, SPELL_DH_FEL_DEVASTATION, sSpellMgr, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().