![]() |
TrinityCore
|
Inheritance diagram for spell_warl_pet_passive::spell_warl_pet_passive_AuraScript:Private Member Functions | |
| bool | Load () override |
| void | CalculateAmountCritSpell (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | CalculateAmountCritMelee (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | Register () override |
Definition at line 647 of file spell_pet.cpp.
|
inlineprivate |
Definition at line 676 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 656 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().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 649 of file spell_pet.cpp.
References AuraScript::GetCaster(), AuraScript::GetOwner(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 696 of file spell_pet.cpp.
References AuraEffectCalcAmountFn, CalculateAmountCritMelee(), CalculateAmountCritSpell(), AuraScript::DoEffectCalcAmount, EFFECT_0, EFFECT_1, SPELL_AURA_MOD_SPELL_CRIT_CHANCE, and SPELL_AURA_MOD_WEAPON_CRIT_PERCENT.