◆ PrepareSpellScript()
◆ Register()
void spell_item_recall::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ SetDest()
3648 {
3650 if (!player)
3651 {
3652 return;
3653 }
3654
3657 {
3659 {
3660 Position pos =
Position(recallSpellTarget->target_X, recallSpellTarget->target_Y, recallSpellTarget->target_Z, recallSpellTarget->target_Orientation);
3662 }
3663 }
3664 }
TeamId
Definition SharedDefines.h:759
@ TEAM_HORDE
Definition SharedDefines.h:761
#define sSpellMgr
Definition SpellMgr.h:825
Player * ToPlayer()
Definition Object.h:202
TeamId GetTeamId(bool original=false) const
Definition Player.h:2118
TeamId GetBgTeamId() const
Definition Player.h:2288
Unit * GetCaster()
Definition SpellScript.cpp:401
@ SPELL_RECALL_HORDE
Definition spell_item.cpp:3639
@ SPELL_RECALL_ALLIANCE
Definition spell_item.cpp:3640
void Relocate(Position const &pos)
Definition Spell.cpp:93
Definition SpellMgr.h:396
References EFFECT_0, Player::GetBgTeamId(), SpellScript::GetCaster(), Player::GetTeamId(), SpellDestination::Relocate(), SPELL_RECALL_ALLIANCE, SPELL_RECALL_HORDE, sSpellMgr, TEAM_HORDE, and Object::ToPlayer().
Referenced by Register().
The documentation for this class was generated from the following file: