![]() |
TrinityCore
|
Inheritance diagram for spell_dk_pet_scaling_01::spell_dk_pet_scaling_01_AuraScript:Private Member Functions | |
| PrepareAuraScript (spell_dk_pet_scaling_01_AuraScript) | |
| bool | Load () override |
| void | CalculateStaminaAmount (AuraEffect const *, int32 &amount, bool &) |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateStrengthAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Register () override |
Private Attributes | |
| uint32 | _tempHealth = 0 |
Definition at line 1495 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 1531 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
inlineprivate |
Definition at line 1506 of file spell_pet.cpp.
References EFFECT_1, WorldObject::GetOwner(), AuraScript::GetUnitOwner(), SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELL_DEATH_KNIGHT_GLYPH_OF_GHOUL, SPELLFAMILY_DEATHKNIGHT, and STAT_STAMINA.
Referenced by Register().
|
inlineprivate |
Definition at line 1544 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, AuraEffect::GetAmount(), Unit::GetAuraEffect(), SpellInfo::GetEffect(), WorldObject::GetOwner(), AuraEffect::GetSpellInfo(), Unit::GetStat(), AuraScript::GetUnitOwner(), SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DEATHKNIGHT, and STAT_STRENGTH.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1499 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1574 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 1538 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
private |
Definition at line 1582 of file spell_pet.cpp.
Referenced by ApplyEffect(), and RemoveEffect().