◆ PrepareSpellScript()
◆ Register()
void spell_item_recall::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ SetDest()
3647 {
3649 if (!player)
3650 {
3651 return;
3652 }
3653
3656 {
3658 {
3659 Position pos =
Position(recallSpellTarget->target_X, recallSpellTarget->target_Y, recallSpellTarget->target_Z, recallSpellTarget->target_Orientation);
3661 }
3662 }
3663 }
TeamId
Definition SharedDefines.h:759
@ TEAM_HORDE
Definition SharedDefines.h:761
#define sSpellMgr
Definition SpellMgr.h:825
Player * ToPlayer()
Definition Object.h:201
TeamId GetTeamId(bool original=false) const
Definition Player.h:2116
TeamId GetBgTeamId() const
Definition Player.h:2286
Unit * GetCaster()
Definition SpellScript.cpp:401
@ SPELL_RECALL_HORDE
Definition spell_item.cpp:3638
@ SPELL_RECALL_ALLIANCE
Definition spell_item.cpp:3639
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: