![]() |
TrinityCore
|
Inheritance diagram for spell_warr_deep_wounds_aura:Private Member Functions | |
| PrepareAuraScript (spell_warr_deep_wounds_aura) | |
| bool | Validate (SpellInfo const *spellInfo) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | OnProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 254 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 263 of file spell_warrior.cpp.
References ProcEventInfo::GetActor(), ProcEventInfo::GetDamageInfo(), Object::GetTypeId(), and TYPEID_PLAYER.
Referenced by Register().
|
inlineprivate |
Definition at line 272 of file spell_warrior.cpp.
References CastSpellExtraArgs::AddSpellBP0(), WorldObject::CastSpell(), EFFECT_0, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), DamageInfo::GetAttackType(), ProcEventInfo::GetDamageInfo(), AuraScript::GetEffectInfo(), Object::GetFloatValue(), OFF_ATTACK, AuraScript::PreventDefaultAction(), UNIT_FIELD_MAXDAMAGE, UNIT_FIELD_MAXOFFHANDDAMAGE, UNIT_FIELD_MINDAMAGE, and UNIT_FIELD_MINOFFHANDDAMAGE.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 289 of file spell_warrior.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, AuraScript::OnEffectProc, AuraScript::OnProc, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 258 of file spell_warrior.cpp.
References EFFECT_0, SpellInfo::GetEffect(), and _SpellScript::ValidateSpellInfo().