AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_warr_retaliation) | |
bool | Validate (SpellInfo const *) override |
bool | CheckProc (ProcEventInfo &eventInfo) |
void | HandleEffectProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
void | Register () override |
|
inlineprivate |
References ProcEventInfo::GetActor(), ProcEventInfo::GetProcTarget(), AuraScript::GetTarget(), Unit::HasUnitState(), WorldObject::isInFront(), and UNIT_STATE_STUNNED.
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), ProcEventInfo::GetProcTarget(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), and SPELL_WARRIOR_RETALIATION_DAMAGE.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleEffectProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_WARRIOR_RETALIATION_DAMAGE, and _SpellScript::ValidateSpellInfo().