|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | CalculateFireResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateFrostResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateNatureResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () OVERRIDE |
| PrepareAuraScript (spell_hun_pet_scaling_02_AuraScript) | |
| void | Register () OVERRIDE |
Definition at line 914 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 944 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 925 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 963 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_NATURE, and Unit::ToPet().
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 918 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 982 of file spell_pet.cpp.
References AuraEffectCalcAmountFn, CalculateFireResistanceAmount(), CalculateFrostResistanceAmount(), CalculateNatureResistanceAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, EFFECT_2, OVERRIDE, and SPELL_AURA_MOD_RESISTANCE.