|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateStaminaAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateStrengthAmount (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () OVERRIDE |
| PrepareAuraScript (spell_dk_pet_scaling_01_AuraScript) | |
| void | Register () OVERRIDE |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
Private Attributes | |
| uint32 | _tempHealth |
Definition at line 1280 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 1315 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
inlineprivate |
Definition at line 1292 of file spell_pet.cpp.
References EFFECT_1, Unit::GetOwner(), AuraScript::GetUnitOwner(), SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DEATHKNIGHT, and STAT_STAMINA.
Referenced by Register().
|
inlineprivate |
Definition at line 1328 of file spell_pet.cpp.
References CalculatePct(), SpellEffectInfo::CalcValue(), EFFECT_1, SpellInfo::Effects, Unit::GetAuraEffect(), Unit::GetOwner(), AuraEffect::GetSpellInfo(), Unit::GetStat(), AuraScript::GetUnitOwner(), SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DEATHKNIGHT, and STAT_STRENGTH.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1284 of file spell_pet.cpp.
References _tempHealth, AuraScript::GetCaster(), AuraScript::GetOwner(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 1354 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, OVERRIDE, RemoveEffect(), and SPELL_AURA_MOD_STAT.
|
inlineprivate |
Definition at line 1322 of file spell_pet.cpp.
References _tempHealth, and AuraScript::GetUnitOwner().
Referenced by Register().
|
private |
Definition at line 1363 of file spell_pet.cpp.
Referenced by ApplyEffect(), Load(), and RemoveEffect().