2119 {
2121 if (!caster)
2122 return;
2123
2129 }
@ POINT_LAND
Definition: icecrown_citadel.cpp:281
Definition: Creature.h:46
Creature * ToCreature()
Definition: Object.h:202
uint32 GetPhaseMask() const
Definition: Object.h:446
Map * GetMap() const
Definition: Object.h:531
Position GetNearPosition(float dist, float angle)
Definition: Object.cpp:2728
Definition: Position.h:28
float m_positionZ
Definition: Position.h:58
float GetPositionZ() const
Definition: Position.h:119
float GetPositionX() const
Definition: Position.h:117
float GetPositionY() const
Definition: Position.h:118
MotionMaster * GetMotionMaster()
Definition: Unit.h:1601
Unit * GetVictim() const
Definition: Unit.h:789
void SendMeleeAttackStop(Unit *victim=nullptr)
Send to the client SMSG_ATTACKSTOP but doesn't clear UNIT_STATE_MELEE_ATTACKING on server side or int...
Definition: Unit.cpp:3061
float GetHeight(float x, float y, float z, bool checkVMap=true, float maxSearchDist=DEFAULT_HEIGHT_SEARCH) const
Definition: Map.cpp:2040
void MoveLand(uint32 id, Position const &pos, float speed=0.0f)
Use to move the unit from the air to the ground. Doesn't work with UNIT_FLAG_DISABLE_MOVE.
Definition: MotionMaster.cpp:488
Unit * GetCaster()
Definition: SpellScript.cpp:401