![]() |
TrinityCore
|
Inheritance diagram for spell_warl_pet_scaling_03::spell_warl_pet_scaling_03_AuraScript:Private Member Functions | |
| bool | Load () override |
| void | CalculateFrostResistanceAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | CalculateArcaneResistanceAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | CalculateNatureResistanceAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | Register () override |
Definition at line 476 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 496 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_MASK_ARCANE, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 485 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_MASK_FROST, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 507 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_MASK_NATURE, and Unit::ToPet().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 478 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 518 of file spell_pet.cpp.
References AuraEffectCalcAmountFn, CalculateArcaneResistanceAmount(), CalculateFrostResistanceAmount(), CalculateNatureResistanceAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, EFFECT_2, and SPELL_AURA_MOD_RESISTANCE.