WhereIsMyMind
Member
- Joined
- Oct 12, 2013
- Messages
- 848
- Reaction score
- 5
Edit the combat routine you use! Find the following line, in bold, in the Class1.cs:
And set the > 50 distance (50 being about the distance of visible screen), with your preferred maximum engage distance.
So for me with my primary attack being Freezing Pulse, I set that to 23. Now my bot charges up to the archers and freezing pulses them rather than sitting back using default attack or ice spear.
WIMM
Code:
private Composite CreateMoveToLos2()
{
return new Decorator(ret => [B]TargetList.First().Distance > 50[/B],
CommonBehaviors.MoveTo(ret => TargetList.First().Position, "CreateMoveToLos2"));
}
And set the > 50 distance (50 being about the distance of visible screen), with your preferred maximum engage distance.
So for me with my primary attack being Freezing Pulse, I set that to 23. Now my bot charges up to the archers and freezing pulses them rather than sitting back using default attack or ice spear.
Code:
private Composite CreateMoveToLos2()
{
return new Decorator(ret => TargetList.First().Distance > 23,
CommonBehaviors.MoveTo(ret => TargetList.First().Position, "CreateMoveToLos2"));
}
WIMM