![]() |
TrinityCore
|
Inheritance diagram for spell_warr_improved_whirlwind:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| bool | Load () override |
| void | HandleHit (SpellEffIndex) const |
| void | Register () override |
Definition at line 1167 of file spell_warrior.cpp.
|
inlineprivate |
Definition at line 1180 of file spell_warrior.cpp.
References ApplyWhirlwindCleaveAura(), SpellEffectInfo::CalcValueAsInt(), WorldObject::CastSpell(), EFFECT_0, EFFECT_2, SpellScript::GetCastDifficulty(), SpellScript::GetCaster(), SpellScript::GetEffectInfo(), SpellScript::GetEffectValueAsInt(), SpellScript::GetSpell(), SpellScript::GetUnitTargetCountForEffect(), SPELL_WARRIOR_WHIRLWIND_ENERGIZE, SPELLVALUE_BASE_POINT0, Object::ToPlayer(), TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1175 of file spell_warrior.cpp.
References SpellScript::GetCaster(), Unit::HasAura(), and SPELL_WARRIOR_IMPROVED_WHIRLWIND.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1204 of file spell_warrior.cpp.
References EFFECT_1, HandleHit(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1169 of file spell_warrior.cpp.
References EFFECT_0, EFFECT_2, SpellInfo::Id, SPELL_WARRIOR_IMPROVED_WHIRLWIND, SPELL_WARRIOR_WHIRLWIND_CLEAVE_AURA, SPELL_WARRIOR_WHIRLWIND_ENERGIZE, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().