![]() |
TrinityCore
|
Inheritance diagram for spell_xt002_heart_overload_periodic:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| Creature * | GetRandomToyPile () |
| void | HandleScript (SpellEffIndex) |
| void | Register () override |
Definition at line 764 of file boss_xt002.cpp.
|
inlineprivate |
Definition at line 775 of file boss_xt002.cpp.
References SpellScript::GetCaster(), WorldObject::GetCreatureListWithEntryInGrid(), WorldObject::GetDistance2d(), NPC_XT_TOY_PILE, and Trinity::Containers::SelectRandomContainerElement().
Referenced by HandleScript().
|
inlineprivate |
Definition at line 791 of file boss_xt002.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), GetRandomToyPile(), SPELL_ENERGY_ORB, and SPELL_HEART_LIGHTNING_TETHER.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 801 of file boss_xt002.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHit, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 766 of file boss_xt002.cpp.
References SPELL_ENERGY_ORB, SPELL_HEART_LIGHTNING_TETHER, and SpellScriptBase::ValidateSpellInfo().