![]() |
TrinityCore
|
Inheritance diagram for spell_hun_pet_scaling_03::spell_hun_pet_scaling_03_AuraScript:Private Member Functions | |
| bool | Load () override |
| void | CalculateShadowResistanceAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | CalculateArcaneResistanceAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | CalculateArmorAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | Register () override |
Definition at line 1060 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 1085 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_MASK_ARCANE, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 1101 of file spell_pet.cpp.
References CalculatePct(), Unit::GetArmor(), Pet::GetOwner(), AuraScript::GetUnitOwner(), and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 1069 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_MASK_SHADOW, and Unit::ToPet().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1062 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1117 of file spell_pet.cpp.
References AuraEffectCalcAmountFn, CalculateArcaneResistanceAmount(), CalculateArmorAmount(), CalculateShadowResistanceAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, EFFECT_2, and SPELL_AURA_MOD_RESISTANCE.