AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_warr_vigilance) | |
bool | Validate (SpellInfo const *) override |
bool | Load () override |
void | HandleApply (AuraEffect const *, AuraEffectHandleModes) |
void | HandleAfterApply (AuraEffect const *, AuraEffectHandleModes) |
void | HandleRemove (AuraEffect const *, AuraEffectHandleModes) |
bool | CheckProc (ProcEventInfo &) |
void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &) |
void | Register () override |
Private Attributes | |
Unit * | _procTarget |
|
inlineprivate |
|
inlineprivate |
WORKAROUND this glyph is a proc
References EFFECT_0, AuraScript::GetCaster(), AuraScript::GetTarget(), Unit::ModifyRedirectThreat(), and SPELL_WARRIOR_GLYPH_OF_VIGILANCE.
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), AuraScript::GetCaster(), AuraScript::GetTarget(), SPELL_GEN_DAMAGE_REDUCTION_AURA, and SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT.
Referenced by Register().
|
inlineprivate |
References _procTarget, Unit::CastSpell(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), and SPELL_WARRIOR_VIGILANCE_PROC.
Referenced by Register().
|
inlineprivate |
References AuraScript::GetTarget(), Unit::HasAura(), Unit::RemoveAurasDueToSpell(), Unit::ResetRedirectThreat(), SPELL_GEN_DAMAGE_REDUCTION_AURA, SPELL_PALADIN_BLESSING_OF_SANCTUARY, SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY, and SPELL_PRIEST_RENEWED_HOPE.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References _procTarget.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraScript::AfterEffectApply, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, AuraCheckProcFn, AuraEffectApplyFn, AuraEffectProcFn, AuraEffectRemoveFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleAfterApply(), HandleApply(), HandleProc(), HandleRemove(), AuraScript::OnEffectApply, AuraScript::OnEffectProc, AuraScript::OnEffectRemove, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_GEN_DAMAGE_REDUCTION_AURA, SPELL_PALADIN_BLESSING_OF_SANCTUARY, SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY, SPELL_PRIEST_RENEWED_HOPE, SPELL_WARRIOR_GLYPH_OF_VIGILANCE, SPELL_WARRIOR_VIGILANCE_PROC, SPELL_WARRIOR_VIGILANCE_REDIRECT_THREAT, and _SpellScript::ValidateSpellInfo().
|
private |
Referenced by CheckProc(), HandleProc(), and Load().