1638 {
1640 {
1641 float angle = dest->GetAngle(
GetCaster());
1642 Position offset = {6.0f * cos(angle), 6.0f * std::sin(angle), 10.0f, 0.0f};
1645 }
1646 }
void UpdateAllowedPositionZ(float x, float y, float &z, float *groundZ=nullptr) const
Definition: Object.cpp:1565
Definition: Position.h:27
void RelocateOffset(const Position &offset)
Definition: Position.cpp:59
Definition: Position.h:250
WorldLocation const * GetExplTargetDest()
Definition: SpellScript.cpp:416
Unit * GetCaster()
Definition: SpellScript.cpp:401