![]() |
TrinityCore
|
Inheritance diagram for spell_item_red_rider_air_rifle:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleScript (SpellEffIndex effIndex) |
| void | Register () override |
Definition at line 2449 of file spell_item.cpp.
|
inlineprivate |
Definition at line 2461 of file spell_item.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellScript::GetSpellInfo(), SpellScript::PreventHitDefaultEffect(), SPELL_AIR_RIFLE_HOLD_VISUAL, SPELL_AIR_RIFLE_SHOOT, SPELL_AIR_RIFLE_SHOOT_SELF, Object::ToPlayer(), and urand().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 2478 of file spell_item.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 2451 of file spell_item.cpp.
References SPELL_AIR_RIFLE_HOLD_VISUAL, SPELL_AIR_RIFLE_SHOOT, SPELL_AIR_RIFLE_SHOOT_SELF, and SpellScriptBase::ValidateSpellInfo().