![]() |
TrinityCore
|
Inheritance diagram for spell_warr_rend:Private Member Functions | |
| PrepareAuraScript (spell_warr_rend) | |
| void | CalculateAmount (AuraEffect const *aurEff, int32 &amount, bool &canBeRecalculated) |
| void | Register () override |
Definition at line 573 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 577 of file spell_warrior.cpp.
References AddPct(), AURA_STATE_HEALTH_ABOVE_75_PERCENT, BASE_ATTACK, EFFECT_2, AuraScript::GetCaster(), AuraScript::GetEffectInfo(), AuraEffect::GetEffIndex(), AuraScript::GetSpellInfo(), AuraScript::GetUnitOwner(), MAX_ITEM_PROTO_DAMAGES, MAXDAMAGE, and MINDAMAGE.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 607 of file spell_warrior.cpp.
References AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, and SPELL_AURA_PERIODIC_DAMAGE.