![]() |
TrinityCore
|
Inheritance diagram for spell_hun_pet_scaling_02::spell_hun_pet_scaling_02_AuraScript:Private Member Functions | |
| PrepareAuraScript (spell_hun_pet_scaling_02_AuraScript) | |
| bool | Load () override |
| void | CalculateFrostResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateFireResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateNatureResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Register () override |
Definition at line 1026 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 1056 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_FIRE, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 1037 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_FROST, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 1075 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_NATURE, and Unit::ToPet().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1030 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1094 of file spell_pet.cpp.
References AuraEffectCalcAmountFn, CalculateFireResistanceAmount(), CalculateFrostResistanceAmount(), CalculateNatureResistanceAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, EFFECT_2, and SPELL_AURA_MOD_RESISTANCE.