![]() |
TrinityCore
|
Inheritance diagram for spell_item_scroll_of_recall:Private Member Functions | |
| bool | Load () override |
| void | HandleScript (SpellEffIndex effIndex) |
| void | Register () override |
Definition at line 1831 of file spell_item.cpp.
|
inlineprivate |
Definition at line 1838 of file spell_item.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), Unit::GetLevel(), SpellScript::GetSpellInfo(), HORDE, SpellScript::PreventHitDefaultEffect(), SPELL_LOST, SPELL_SCROLL_OF_RECALL_FAIL_ALLIANCE_1, SPELL_SCROLL_OF_RECALL_FAIL_HORDE_1, SPELL_SCROLL_OF_RECALL_I, SPELL_SCROLL_OF_RECALL_II, SPELL_SCROLL_OF_RECALL_III, and urand().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1833 of file spell_item.cpp.
References SpellScript::GetCaster(), BaseEntity::GetTypeId(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1872 of file spell_item.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_TELEPORT_UNITS, and SpellEffectFn.