aquietone / aqobot

EverQuest class automation Lua scripts for MacroQuest.
https://aquietone.github.io/docs/aqobot/
MIT License
13 stars 6 forks source link

Pull ZLow, Pull ZHigh, Pull With: Ranged #28

Open Kausaliax opened 1 month ago

Kausaliax commented 1 month ago

I've found a few issues in the Pull tab.

First is the Z axis adjustments that can be made. I assume the high and low range is in relation to my Z axis where i set camp. With that assumption No matter how high the number is for ZHigh, my puller will not pull anything higher than 25 units. Right now i'm in PoFire at tables. Puller pulls everything on ground level and nothing on any upper floors or walkway around the wall of the castle area where it meets the field.

Second is the Pull With: ranged selection. My monk is set to pull with Shuriken of Eternity. The issue is he does fire the ranged attack but still runs up to the mob to face pull. It expends a shuriken and sometimes gets too close and will get the 'too close' spam.

Great work overall and thanks for any assistance you can provide.

aquietone commented 1 month ago

I tried out the Z stuff, i'm not sure whether its broken. The issue may be that the spawn search is done first based on your pull radius, and then the results of that are checked for whether they are within your Z high/low. So if your pull radius is only 100 and your Z high is 300 and you're trying to pull something 250 above you, then it won't find it in the spawn search. I think the only way around that would be to make the spawn search the max of radius or zhigh/low, and then also have to check every spawn that it is within the radius, not just within zhigh/low. I'll think about it.

Pushed a change for pull with ranged to stop and wait a bit for you to appear on the mobs target.

Kausaliax commented 1 month ago

Ranged works, however if there is just a ranged item in ranged and not in ammo, it sees as no ranged is equipped.