![]() |
TrinityCore
|
Inheritance diagram for spell_xt002_energy_orb:Private Member Functions | |
| PrepareSpellScript (spell_xt002_energy_orb) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleSummons (SpellEffIndex) |
| void | Register () override |
Definition at line 805 of file boss_xt002.cpp.
|
inlineprivate |
Definition at line 819 of file boss_xt002.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), Object::GetEntry(), SpellScript::GetHitUnit(), Unit::GetVehicleCreatureBase(), NPC_XT_TOY_PILE, roll_chance_i(), SAY_SUMMON, SPELL_RECHARGE_BOOMBOT, SPELL_RECHARGE_PUMMELER, SPELL_RECHARGE_SCRAPBOT, and urand().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 837 of file boss_xt002.cpp.
References EFFECT_2, HandleSummons(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 809 of file boss_xt002.cpp.
References SPELL_RECHARGE_BOOMBOT, SPELL_RECHARGE_PUMMELER, SPELL_RECHARGE_SCRAPBOT, and _SpellScript::ValidateSpellInfo().