1637 {
1639 {
1640 float angle = dest->GetAngle(
GetCaster());
1641 Position offset = {6.0f * cos(angle), 6.0f * std::sin(angle), 10.0f, 0.0f};
1644 }
1645 }
void UpdateAllowedPositionZ(float x, float y, float &z, float *groundZ=nullptr) const
Definition: Object.cpp:1554
Definition: Position.h:28
void RelocateOffset(const Position &offset)
Definition: Position.cpp:58
Definition: Position.h:251
WorldLocation const * GetExplTargetDest()
Definition: SpellScript.cpp:416
Unit * GetCaster()
Definition: SpellScript.cpp:401