955 {
957
961 float speedXY, speedZ;
962
964 speedZ = float(
GetSpellInfo()->Effects[effIndex].MiscValue) / 10;
966 speedZ = float(
GetSpellInfo()->Effects[effIndex].MiscValueB) / 10;
967 else
968 speedZ = 10.0f;
970
972 }
float GetExactDist2d(const float x, const float y) const
Definition: Position.h:165
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
void MoveJump(Position const &pos, float speedXY, float speedZ, uint32 id=0)
Definition: MotionMaster.h:229
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
Unit * GetCaster()
Definition: SpellScript.cpp:401