◆ PrepareSpellScript()
◆ Register()
void spell_item_recall::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ SetDest()
3692 {
3694 if (!player)
3695 {
3696 return;
3697 }
3698
3701 {
3703 {
3704 Position pos =
Position(recallSpellTarget->target_X, recallSpellTarget->target_Y, recallSpellTarget->target_Z, recallSpellTarget->target_Orientation);
3706 }
3707 }
3708 }
TeamId
Definition SharedDefines.h:770
@ TEAM_HORDE
Definition SharedDefines.h:772
#define sSpellMgr
Definition SpellMgr.h:825
Player * ToPlayer()
Definition Object.h:202
TeamId GetTeamId(bool original=false) const
Definition Player.h:2115
TeamId GetBgTeamId() const
Definition Player.h:2289
Unit * GetCaster()
Definition SpellScript.cpp:401
@ SPELL_RECALL_HORDE
Definition spell_item.cpp:3683
@ SPELL_RECALL_ALLIANCE
Definition spell_item.cpp:3684
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: