|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | CalculateAmountCritMelee (AuraEffect const *, int32 &amount, bool &) |
| void | CalculateAmountCritSpell (AuraEffect const *, int32 &amount, bool &) |
| bool | Load () OVERRIDE |
| PrepareAuraScript (spell_warl_pet_passive_AuraScript) | |
| void | Register () OVERRIDE |
Definition at line 605 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 638 of file spell_pet.cpp.
References CalculatePct(), CR_CRIT_MELEE, EFFECT_0, AuraScript::GetCaster(), AuraScript::GetOwner(), SPELL_AURA_MOD_CRIT_PCT, and SPELL_AURA_MOD_WEAPON_CRIT_PERCENT.
Referenced by Register().
|
inlineprivate |
Definition at line 616 of file spell_pet.cpp.
References CalculatePct(), CR_CRIT_SPELL, EFFECT_0, AuraScript::GetCaster(), AuraScript::GetOwner(), SPELL_AURA_MOD_CRIT_PCT, and SPELL_AURA_MOD_SPELL_CRIT_CHANCE.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 609 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 660 of file spell_pet.cpp.
References AuraEffectCalcAmountFn, CalculateAmountCritMelee(), CalculateAmountCritSpell(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, OVERRIDE, SPELL_AURA_MOD_SPELL_CRIT_CHANCE, and SPELL_AURA_MOD_WEAPON_CRIT_PERCENT.