![]() |
TrinityCore
|
Inheritance diagram for spell_warr_vigilance:Private Member Functions | |
| PrepareAuraScript (spell_warr_vigilance) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleApply (AuraEffect const *, AuraEffectHandleModes) |
| void | HandleRemove (AuraEffect const *, AuraEffectHandleModes) |
| bool | CheckProc (ProcEventInfo &) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &) |
| void | Register () override |
Private Attributes | |
| Unit * | _procTarget = nullptr |
Definition at line 818 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 856 of file spell_warrior.cpp.
References _procTarget, and AuraScript::GetCaster().
Referenced by Register().
|
inlineprivate |
Definition at line 833 of file spell_warrior.cpp.
References WorldObject::CastSpell(), AuraScript::GetCaster(), AuraScript::GetTarget(), SPELL_GEN_DAMAGE_REDUCTION_AURA, and SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT.
Referenced by Register().
|
inlineprivate |
Definition at line 862 of file spell_warrior.cpp.
References _procTarget, WorldObject::CastSpell(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), and SPELL_WARRIOR_VIGILANCE_PROC.
Referenced by Register().
|
inlineprivate |
Definition at line 842 of file spell_warrior.cpp.
References AuraScript::GetCasterGUID(), AuraScript::GetTarget(), Unit::GetThreatManager(), Unit::HasAura(), Unit::RemoveAurasDueToSpell(), SPELL_GEN_DAMAGE_REDUCTION_AURA, SPELL_PALADIN_BLESSING_OF_SANCTUARY, SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY, SPELL_PRIEST_RENEWED_HOPE, SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT, and ThreatManager::UnregisterRedirectThreat().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 868 of file spell_warrior.cpp.
References AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, AuraCheckProcFn, AuraEffectApplyFn, AuraEffectProcFn, AuraEffectRemoveFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleApply(), HandleProc(), HandleRemove(), AuraScript::OnEffectApply, AuraScript::OnEffectProc, AuraScript::OnEffectRemove, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 822 of file spell_warrior.cpp.
References SPELL_GEN_DAMAGE_REDUCTION_AURA, SPELL_WARRIOR_GLYPH_OF_VIGILANCE, SPELL_WARRIOR_VIGILANCE_PROC, SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 876 of file spell_warrior.cpp.
Referenced by CheckProc(), and HandleProc().