![]() |
TrinityCore
|
Inheritance diagram for spell_warl_pet_scaling_01::spell_warl_pet_scaling_01_AuraScript:Private Member Functions | |
| PrepareAuraScript (spell_warl_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 | CalculateAttackPowerAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateDamageDoneAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Register () override |
Private Attributes | |
| uint32 | _tempBonus |
Definition at line 230 of file spell_pet.cpp.
|
inline |
Definition at line 235 of file spell_pet.cpp.
References _tempBonus.
|
inlineprivate |
Definition at line 260 of file spell_pet.cpp.
References _tempBonus, ENTRY_FELGUARD, ENTRY_FELHUNTER, ENTRY_IMP, ENTRY_SUCCUBUS, ENTRY_VOIDWALKER, AuraScript::GetUnitOwner(), PetLevelInfo::health, and sObjectMgr.
Referenced by Register().
|
inlineprivate |
Definition at line 302 of file spell_pet.cpp.
References AsUnderlyingType(), CalculatePct(), EFFECT_0, ENTRY_FELGUARD, Pet::GetOwner(), AuraScript::GetUnitOwner(), PLAYER_FIELD_MOD_DAMAGE_DONE_NEG, PLAYER_FIELD_MOD_DAMAGE_DONE_POS, SPELL_SCHOOL_FIRE, SPELL_SCHOOL_SHADOW, Unit::ToPet(), and UNIT_FIELD_ATTACK_POWER.
Referenced by Register().
|
inlineprivate |
Definition at line 330 of file spell_pet.cpp.
References AsUnderlyingType(), Pet::GetOwner(), AuraScript::GetUnitOwner(), PLAYER_FIELD_MOD_DAMAGE_DONE_NEG, PLAYER_FIELD_MOD_DAMAGE_DONE_POS, SPELL_SCHOOL_FIRE, SPELL_SCHOOL_SHADOW, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 248 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), STAT_STAMINA, and Unit::ToPet().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 241 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 349 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 292 of file spell_pet.cpp.
References AuraScript::GetUnitOwner(), PetLevelInfo::health, and sObjectMgr.
Referenced by Register().
|
private |
Definition at line 359 of file spell_pet.cpp.
Referenced by ApplyEffect(), and spell_warl_pet_scaling_01_AuraScript().