![]() |
TrinityCore
|
Inheritance diagram for spell_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript:Private Member Functions | |
| bool | Load () override |
| void | CalculateStaminaAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateStrengthAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | Register () override |
Private Attributes | |
| uint32 | _tempHealth = 0 |
Definition at line 1399 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 1423 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
inlineprivate |
Definition at line 1408 of file spell_pet.cpp.
References WorldObject::GetOwner(), AuraScript::GetUnitOwner(), and STAT_STAMINA.
Referenced by Register().
|
inlineprivate |
Definition at line 1436 of file spell_pet.cpp.
References WorldObject::GetOwner(), Unit::GetStat(), AuraScript::GetUnitOwner(), and STAT_STRENGTH.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1401 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1452 of file spell_pet.cpp.
References AuraScript::AfterEffectApply, ApplyEffect(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraEffectApplyFn, AuraEffectCalcAmountFn, AuraEffectRemoveFn, CalculateStaminaAmount(), CalculateStrengthAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, AuraScript::OnEffectRemove, RemoveEffect(), and SPELL_AURA_MOD_STAT.
|
inlineprivate |
Definition at line 1430 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
private |
Definition at line 1460 of file spell_pet.cpp.
Referenced by ApplyEffect(), and RemoveEffect().