2120 {
2122 if (!caster)
2123 return;
2124
2130 }
@ POINT_LAND
Definition: icecrown_citadel.cpp:282
Definition: Creature.h:43
Creature * ToCreature()
Definition: Object.h:205
uint32 GetPhaseMask() const
Definition: Object.h:451
Map * GetMap() const
Definition: Object.h:536
Position GetNearPosition(float dist, float angle, bool disableWarning=false)
Definition: Object.cpp:2739
Definition: Position.h:27
float m_positionZ
Definition: Position.h:57
float GetPositionZ() const
Definition: Position.h:118
float GetPositionX() const
Definition: Position.h:116
float GetPositionY() const
Definition: Position.h:117
MotionMaster * GetMotionMaster()
Definition: Unit.h:1620
Unit * GetVictim() const
Definition: Unit.h:853
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:3077
float GetHeight(float x, float y, float z, bool checkVMap=true, float maxSearchDist=DEFAULT_HEIGHT_SEARCH) const
Definition: Map.cpp:2043
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