Thread: Bot positioning
View Single Post
  #26  
Old 10-13-2015, 02:42 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Anything is possible


Giving value to the coordinate declarations won't work in that case due to this: https://github.com/EQEmu/Server/blob.../mob.cpp#L2580

Any 'preset' values are overridden with the new ones.


But, you could probably add some additional checks..maybe something like:
Code:
if(!IsMoving() && GetClass() != ROGUE && BehindMob(GetTarget(), GetX(), GetY()))
..though, I'm not sure if there is code to move 'around front' of the mob.

The current procedure call in the ROGUE check is for moving 'around back' of a mob.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote