![]() |
TrinityCore
|
Inheritance diagram for spell_hun_pet_scaling_01::spell_hun_pet_scaling_01_AuraScript:Private Member Functions | |
| void | CalculateStaminaAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateAttackPowerAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | CalculateDamageDoneAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | Register () override |
Private Attributes | |
| uint32 | _tempHealth |
Definition at line 855 of file spell_pet.cpp.
|
inline |
Definition at line 858 of file spell_pet.cpp.
References _tempHealth.
|
inlineprivate |
Definition at line 887 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
inlineprivate |
Definition at line 900 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, AuraScript::GetCastDifficulty(), SpellInfo::GetEffect(), Pet::GetOwner(), Unit::GetTotalAttackPowerValue(), AuraScript::GetUnitOwner(), Pet::m_spells, RANGED_ATTACK, sSpellMgr, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 930 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, AuraScript::GetCastDifficulty(), SpellInfo::GetEffect(), Pet::GetOwner(), Unit::GetTotalAttackPowerValue(), AuraScript::GetUnitOwner(), Pet::m_spells, RANGED_ATTACK, sSpellMgr, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 864 of file spell_pet.cpp.
References AddPct(), SpellEffectInfo::CalcValue(), EFFECT_0, AuraScript::GetCastDifficulty(), SpellInfo::GetEffect(), Pet::GetOwner(), AuraScript::GetUnitOwner(), sSpellMgr, STAT_STAMINA, and Unit::ToPet().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 960 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 894 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
private |
Definition at line 970 of file spell_pet.cpp.
Referenced by ApplyEffect(), RemoveEffect(), and spell_hun_pet_scaling_01_AuraScript().