|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | HandleScript (SpellEffIndex effIndex) |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_item_scroll_of_recall_SpellScript) | |
| void | Register () OVERRIDE |
Definition at line 831 of file spell_item.cpp.
|
inlineprivate |
Definition at line 840 of file spell_item.cpp.
References Unit::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, and SPELL_SCROLL_OF_RECALL_III.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 835 of file spell_item.cpp.
References SpellScript::GetCaster(), Object::GetTypeId(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 874 of file spell_item.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_TELEPORT_UNITS, and SpellEffectFn.