![]() |
TrinityCore
|
Inheritance diagram for spell_warl_pet_scaling_01::spell_warl_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 | CalculateAttackPowerAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | CalculateDamageDoneAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | Register () override |
Private Attributes | |
| uint32 | _tempBonus |
Definition at line 222 of file spell_pet.cpp.
|
inline |
Definition at line 225 of file spell_pet.cpp.
References _tempBonus.
|
inlineprivate |
Definition at line 250 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 292 of file spell_pet.cpp.
References CalculatePct(), EFFECT_0, ENTRY_FELGUARD, Pet::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_FIRE, SPELL_SCHOOL_SHADOW, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 320 of file spell_pet.cpp.
References Pet::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_FIRE, SPELL_SCHOOL_SHADOW, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 238 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), STAT_STAMINA, and Unit::ToPet().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 231 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 339 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 282 of file spell_pet.cpp.
References AuraScript::GetUnitOwner(), PetLevelInfo::health, and sObjectMgr.
Referenced by Register().
|
private |
Definition at line 349 of file spell_pet.cpp.
Referenced by ApplyEffect(), and spell_warl_pet_scaling_01_AuraScript().