|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateAttackPowerAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateDamageDoneAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateStaminaAmount (AuraEffect const *, int32 &amount, bool &) |
| PrepareAuraScript (spell_hun_pet_scaling_01_AuraScript) | |
| void | Register () OVERRIDE |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
Private Attributes | |
| uint32 | _tempHealth |
Definition at line 788 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 817 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
inlineprivate |
Definition at line 830 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, SpellInfo::Effects, Pet::GetOwner(), Unit::GetTotalAttackPowerValue(), AuraScript::GetUnitOwner(), Pet::m_spells, RANGED_ATTACK, sSpellMgr, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 860 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, SpellInfo::Effects, Pet::GetOwner(), Unit::GetTotalAttackPowerValue(), AuraScript::GetUnitOwner(), Pet::m_spells, RANGED_ATTACK, sSpellMgr, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 792 of file spell_pet.cpp.
References AddPct(), SpellEffectInfo::CalcValue(), EFFECT_0, SpellInfo::Effects, Pet::GetOwner(), AuraScript::GetUnitOwner(), sSpellMgr, STAT_STAMINA, and Unit::ToPet().
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 890 of file spell_pet.cpp.
References AuraScript::AfterEffectApply, ApplyEffect(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraEffectApplyFn, AuraEffectCalcAmountFn, AuraEffectRemoveFn, CalculateAttackPowerAmount(), CalculateDamageDoneAmount(), CalculateStaminaAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, EFFECT_2, AuraScript::OnEffectRemove, OVERRIDE, RemoveEffect(), SPELL_AURA_MOD_ATTACK_POWER, SPELL_AURA_MOD_DAMAGE_DONE, and SPELL_AURA_MOD_STAT.
|
inlineprivate |
Definition at line 824 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
private |
Definition at line 900 of file spell_pet.cpp.
Referenced by ApplyEffect(), and RemoveEffect().