![]() |
TrinityCore
|
Inheritance diagram for spell_warr_sweeping_strikes:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Private Attributes | |
| Unit * | _procTarget = nullptr |
Definition at line 1936 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 1943 of file spell_warrior.cpp.
References _procTarget, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), and Unit::SelectNearbyTarget().
Referenced by Register().
|
inlineprivate |
Definition at line 1949 of file spell_warrior.cpp.
References _procTarget, CastSpellExtraArgs::AddSpellMod(), AURA_STATE_WOUNDED_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, SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_2, and SPELLVALUE_BASE_POINT0.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1969 of file spell_warrior.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1938 of file spell_warrior.cpp.
References SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_1, SPELL_WARRIOR_SWEEPING_STRIKES_EXTRA_ATTACK_2, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 1975 of file spell_warrior.cpp.
Referenced by CheckProc(), and HandleProc().