![]() |
TrinityCore
|
Inheritance diagram for spell_warr_sweeping_strikes:Private Member Functions | |
| PrepareAuraScript (spell_warr_sweeping_strikes) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Private Attributes | |
| Unit * | _procTarget = nullptr |
Definition at line 728 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 737 of file spell_warrior.cpp.
References _procTarget, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), and Unit::SelectNearbyTarget().
Referenced by Register().
|
inlineprivate |
Definition at line 743 of file spell_warrior.cpp.
References _procTarget, CastSpellExtraArgs::AddSpellBP0(), AURA_STATE_HEALTHLESS_20_PERCENT, WorldObject::CastSpell(), ProcEventInfo::GetDamageInfo(), AuraScript::GetTarget(), Unit::HasAuraState(), SpellInfo::Id, AuraScript::PreventDefaultAction(), SPELL_WARRIOR_BLADESTORM_PERIODIC_WHIRLWIND, SPELL_WARRIOR_EXECUTE, SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_1, and SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_2.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 763 of file spell_warrior.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 732 of file spell_warrior.cpp.
References SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_1, SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_2, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 769 of file spell_warrior.cpp.
Referenced by CheckProc(), and HandleProc().