![]() |
TrinityCore
|
Inheritance diagram for spell_warl_pet_scaling_02::spell_warl_pet_scaling_02_AuraScript:Private Member Functions | |
| PrepareAuraScript (spell_warl_pet_scaling_02_AuraScript) | |
| bool | Load () override |
| void | CalculateIntellectAmount (AuraEffect const *, int32 &amount, bool &) |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateArmorAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateFireResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Register () override |
Private Attributes | |
| uint32 | _tempBonus |
Definition at line 373 of file spell_pet.cpp.
|
inline |
Definition at line 378 of file spell_pet.cpp.
References _tempBonus.
|
inlineprivate |
Definition at line 406 of file spell_pet.cpp.
References _tempBonus, ENTRY_FELGUARD, ENTRY_FELHUNTER, ENTRY_IMP, ENTRY_SUCCUBUS, ENTRY_VOIDWALKER, AuraScript::GetUnitOwner(), PetLevelInfo::mana, and sObjectMgr.
Referenced by Register().
|
inlineprivate |
Definition at line 444 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 456 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_FIRE, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 391 of file spell_pet.cpp.
References _tempBonus, CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), STAT_INTELLECT, and Unit::ToPet().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 384 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 468 of file spell_pet.cpp.
References AuraScript::AfterEffectApply, ApplyEffect(), AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK, AuraEffectApplyFn, AuraEffectCalcAmountFn, AuraEffectRemoveFn, CalculateArmorAmount(), CalculateFireResistanceAmount(), CalculateIntellectAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, EFFECT_2, AuraScript::OnEffectRemove, RemoveEffect(), SPELL_AURA_MOD_RESISTANCE, and SPELL_AURA_MOD_STAT.
|
inlineprivate |
Definition at line 434 of file spell_pet.cpp.
References AuraScript::GetUnitOwner(), PetLevelInfo::mana, and sObjectMgr.
Referenced by Register().
|
private |
Definition at line 478 of file spell_pet.cpp.
Referenced by ApplyEffect(), CalculateIntellectAmount(), and spell_warl_pet_scaling_02_AuraScript().