![]() |
TrinityCore
|
Inheritance diagram for spell_item_gnomish_death_ray:Private Member Functions | |
| PrepareSpellScript (spell_item_gnomish_death_ray) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Definition at line 1176 of file spell_item.cpp.
|
inlineprivate |
Definition at line 1185 of file spell_item.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SPELL_GNOMISH_DEATH_RAY_SELF, SPELL_GNOMISH_DEATH_RAY_TARGET, and urand().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1197 of file spell_item.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1180 of file spell_item.cpp.
References SPELL_GNOMISH_DEATH_RAY_SELF, SPELL_GNOMISH_DEATH_RAY_TARGET, and _SpellScript::ValidateSpellInfo().