![]() |
TrinityCore
|
Inheritance diagram for spell_gen_fishing:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | HandleDummy (SpellEffIndex effIndex) |
| void | Register () override |
Definition at line 1864 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 1876 of file spell_generic.cpp.
References WorldObject::CastSpell(), EQUIPMENT_SLOT_MAINHAND, SpellScript::GetCaster(), ItemTemplate::GetClass(), Player::GetItemByPos(), ItemTemplate::GetSubClass(), Item::GetTemplate(), INVENTORY_SLOT_BAG_0, ITEM_CLASS_WEAPON, ITEM_SUBCLASS_WEAPON_FISHING_POLE, SpellScript::PreventHitDefaultEffect(), SPELL_FISHING_NO_FISHING_POLE, SPELL_FISHING_WITH_POLE, and Object::ToPlayer().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1871 of file spell_generic.cpp.
References SpellScript::GetCaster(), BaseEntity::GetTypeId(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1889 of file spell_generic.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1866 of file spell_generic.cpp.
References SPELL_FISHING_NO_FISHING_POLE, SPELL_FISHING_WITH_POLE, and SpellScriptBase::ValidateSpellInfo().