![]() |
TrinityCore
|
Inheritance diagram for spell_thorim_stormhammer::spell_thorim_stormhammer_SpellScript:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | FilterTargets (std::list< WorldObject * > &targets) |
| void | HandleScript (SpellEffIndex) |
| void | LoseHammer () |
| void | Register () override |
Definition at line 1859 of file boss_thorim.cpp.
|
inlineprivate |
Definition at line 1866 of file boss_thorim.cpp.
References SpellScript::FinishCast(), Trinity::Containers::SelectRandomContainerElement(), and SPELL_FAILED_NO_VALID_TARGETS.
Referenced by Register().
|
inlineprivate |
Definition at line 1881 of file boss_thorim.cpp.
References SpellScript::GetCaster(), SpellScript::GetHitUnit(), SPELL_DEAFENING_THUNDER, and SPELL_STORMHAMMER_BOOMERANG.
Referenced by Register().
|
inlineprivate |
Definition at line 1890 of file boss_thorim.cpp.
References SpellScript::GetCaster(), and Unit::SetVirtualItem().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1895 of file boss_thorim.cpp.
References SpellScript::AfterCast, EFFECT_2, EFFECT_ALL, FilterTargets(), HandleScript(), LoseHammer(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, SPELL_EFFECT_SCRIPT_EFFECT, SpellCastFn, SpellEffectFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ENEMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1861 of file boss_thorim.cpp.
References SPELL_DEAFENING_THUNDER, SPELL_STORMHAMMER_BOOMERANG, and SpellScriptBase::ValidateSpellInfo().