hazard
Well-Known Member
- Joined
- Sep 16, 2010
- Messages
- 1,854
- Reaction score
- 55
I am trying to add a command to my CC to make the druid move closer to a target when they go slightly out of range. I have been looking at other CC's and been trying for a while now but yet again I am stuck :/
So anything target between 40 and 60 fett I am trying to get the druid to move within 30 yards of the targets range.
Idea:
So anything target between 40 and 60 fett I am trying to get the druid to move within 30 yards of the targets range.
Idea:
Code:
else if (Battlegrounds.IsInsideBattleground && u.Distance > 40 && u.Distance < 60)
{
WoWPoint moveTo = WoWMathHelper.CalculatePointFrom(Me.Location, u.Location, 30f);
WoWMovement.MoveTo(u.Location, 30f);
return false;
}






