|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateAttackPowerAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateDamageDoneAmount (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateStaminaAmount (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () OVERRIDE |
| PrepareAuraScript (spell_warl_pet_scaling_01_AuraScript) | |
| void | Register () OVERRIDE |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
Private Attributes | |
| uint32 | _tempBonus |
Definition at line 174 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 198 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 240 of file spell_pet.cpp.
References BASE_PCT, BASE_VALUE, 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_MOD_ATTACK_POWER.
Referenced by Register().
|
inlineprivate |
Definition at line 268 of file spell_pet.cpp.
References 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 186 of file spell_pet.cpp.
References CalculatePct(), Pet::GetOwner(), AuraScript::GetUnitOwner(), STAT_STAMINA, and Unit::ToPet().
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 178 of file spell_pet.cpp.
References _tempBonus, AuraScript::GetCaster(), AuraScript::GetOwner(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 287 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, OVERRIDE, RemoveEffect(), SPELL_AURA_MOD_ATTACK_POWER, SPELL_AURA_MOD_DAMAGE_DONE, and SPELL_AURA_MOD_STAT.
|
inlineprivate |
Definition at line 230 of file spell_pet.cpp.
References AuraScript::GetUnitOwner(), PetLevelInfo::health, and sObjectMgr.
Referenced by Register().
|
private |
Definition at line 297 of file spell_pet.cpp.
Referenced by ApplyEffect(), and Load().