![]() |
TrinityCore
|
Inheritance diagram for spell_dru_leader_of_the_pack:Private Member Functions | |
| PrepareAuraScript (spell_dru_leader_of_the_pack) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 774 of file spell_druid.cpp.
|
inlineprivate |
Definition at line 788 of file spell_druid.cpp.
References SpellHistory::AddCooldown(), CastSpellExtraArgs::AddSpellBP0(), ASSERT, CalculatePct(), SpellEffectInfo::CalcValue(), WorldObject::CastSpell(), Unit::CountPctFromMaxHealth(), EFFECT_0, EFFECT_1, ProcEventInfo::GetActor(), AuraEffect::GetAmount(), Unit::GetAuraEffectOfRankedSpell(), AuraEffect::GetCasterGUID(), SpellInfo::GetEffect(), Object::GetGUID(), Unit::GetMaxPower(), Unit::GetSpellHistory(), AuraEffect::GetSpellInfo(), SpellHistory::HasCooldown(), POWER_MANA, AuraScript::PreventDefaultAction(), SPELL_DRUID_IMP_LEADER_OF_THE_PACK_HEAL, SPELL_DRUID_IMP_LEADER_OF_THE_PACK_MANA, and SPELL_DRUID_IMP_LEADER_OF_THE_PACK_R1.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 818 of file spell_druid.cpp.
References AuraEffectProcFn, EFFECT_1, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 778 of file spell_druid.cpp.
References SPELL_DRUID_IMP_LEADER_OF_THE_PACK_HEAL, SPELL_DRUID_IMP_LEADER_OF_THE_PACK_MANA, SPELL_DRUID_IMP_LEADER_OF_THE_PACK_R1, and _SpellScript::ValidateSpellInfo().