![]() |
TrinityCore
|
Inheritance diagram for spell_warr_tactician:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | Register () override |
Static Private Member Functions | |
| static bool | CheckEffectProc (AuraScript const &, AuraEffect const *aurEff, ProcEventInfo const &eventInfo) |
| static void | HandleProc (AuraScript const &, AuraEffect const *aurEff, ProcEventInfo const &eventInfo) |
Definition at line 1979 of file spell_warrior.cpp.
|
inlinestaticprivate |
Definition at line 1987 of file spell_warrior.cpp.
References SpellInfo::CalcPowerCost(), ProcEventInfo::GetActor(), AuraEffect::GetAmount(), ProcEventInfo::GetSpellInfo(), POWER_RAGE, roll_chance(), and SpellInfo::SchoolMask.
Referenced by Register().
|
inlinestaticprivate |
Definition at line 1999 of file spell_warrior.cpp.
References WorldObject::CastSpell(), SpellInfo::ChargeCategoryId, DIFFICULTY_NONE, ProcEventInfo::GetActor(), ProcEventInfo::GetProcSpell(), Unit::GetSpellHistory(), SpellHistory::RestoreCharge(), SPELL_WARRIOR_OVERPOWER, SPELL_WARRIOR_TACTICIAN_ACTION_BUTTON_GLOW, sSpellMgr, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 2011 of file spell_warrior.cpp.
References AuraCheckEffectProcFn, AuraEffectProcFn, CheckEffectProc(), AuraScript::DoCheckEffectProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1981 of file spell_warrior.cpp.
References DIFFICULTY_NONE, SPELL_WARRIOR_OVERPOWER, SPELL_WARRIOR_TACTICIAN_ACTION_BUTTON_GLOW, sSpellMgr, and SpellScriptBase::ValidateSpellInfo().