|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | CalculateArcaneResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateArmorAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateShadowResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () OVERRIDE |
| PrepareAuraScript (spell_hun_pet_scaling_03_AuraScript) | |
| void | Register () OVERRIDE |
Definition at line 1001 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 1031 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_ARCANE, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 1050 of file spell_pet.cpp.
References CalculatePct(), Unit::GetArmor(), Pet::GetOwner(), AuraScript::GetUnitOwner(), and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 1012 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), Unit::GetResistance(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_SHADOW, and Unit::ToPet().
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1005 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 1069 of file spell_pet.cpp.
References AuraEffectCalcAmountFn, CalculateArcaneResistanceAmount(), CalculateArmorAmount(), CalculateShadowResistanceAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, EFFECT_2, OVERRIDE, and SPELL_AURA_MOD_RESISTANCE.