|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateArmorAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateFireResistanceAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateIntellectAmount (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () OVERRIDE |
| PrepareAuraScript (spell_warl_pet_scaling_02_AuraScript) | |
| void | Register () OVERRIDE |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
Private Attributes | |
| uint32 | _tempBonus |
Definition at line 311 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 338 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 376 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 388 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), SPELL_SCHOOL_FIRE, and Unit::ToPet().
Referenced by Register().
|
inlineprivate |
Definition at line 323 of file spell_pet.cpp.
References _tempBonus, CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), STAT_INTELLECT, and Unit::ToPet().
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 315 of file spell_pet.cpp.
References _tempBonus, AuraScript::GetCaster(), AuraScript::GetOwner(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 400 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, OVERRIDE, RemoveEffect(), SPELL_AURA_MOD_RESISTANCE, and SPELL_AURA_MOD_STAT.
|
inlineprivate |
Definition at line 366 of file spell_pet.cpp.
References AuraScript::GetUnitOwner(), PetLevelInfo::mana, and sObjectMgr.
Referenced by Register().
|
private |
Definition at line 410 of file spell_pet.cpp.
Referenced by ApplyEffect(), CalculateIntellectAmount(), and Load().