![]() |
TrinityCore
|
Inheritance diagram for spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript:Private Member Functions | |
| PrepareAuraScript (spell_hun_pet_scaling_01_AuraScript) | |
| void | CalculateStaminaAmount (AuraEffect const *, int32 &amount, bool &) |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateAttackPowerAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateDamageDoneAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Register () override |
Private Attributes | |
| uint32 | _tempHealth |
Definition at line 893 of file spell_pet.cpp.
|
inline |
Definition at line 898 of file spell_pet.cpp.
References _tempHealth.
|
inlineprivate |
Definition at line 929 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
inlineprivate |
Definition at line 942 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, SpellInfo::GetEffect(), Pet::GetOwner(), Unit::GetTotalAttackPowerValue(), AuraScript::GetUnitOwner(), Pet::m_spells, RANGED_ATTACK, sSpellMgr, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 972 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, SpellInfo::GetEffect(), Pet::GetOwner(), Unit::GetTotalAttackPowerValue(), AuraScript::GetUnitOwner(), Pet::m_spells, RANGED_ATTACK, sSpellMgr, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 904 of file spell_pet.cpp.
References AddPct(), SpellEffectInfo::CalcValue(), EFFECT_0, SpellInfo::GetEffect(), Pet::GetOwner(), AuraScript::GetUnitOwner(), sSpellMgr, STAT_STAMINA, and Unit::ToPet().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1002 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, RemoveEffect(), SPELL_AURA_MOD_ATTACK_POWER, SPELL_AURA_MOD_DAMAGE_DONE, and SPELL_AURA_MOD_STAT.
|
inlineprivate |
Definition at line 936 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
private |
Definition at line 1012 of file spell_pet.cpp.
Referenced by ApplyEffect(), RemoveEffect(), and spell_hun_pet_scaling_01_AuraScript().