So many ways to do this. You could read the moblist using ReadProcessMemory to scan for the target, you could hook the jump function to get the coordinates from anyone that jumps, you could also hook the receive packet function (which I believe is the best one) to get the coordinates of the desired target.
You could then either inject code and execute it directly in Conquer to call the UseXYSkill function (the one that is called when casting Toxic Fog/ScentSword/FastBlade, and Scatter, I think which takes the skill ID, x coordinate, and y coordinate as parameters and insert the target's coordinates into that.
Or you could just hook the UseXYSkill function and change the parameters directly inside the function
|