quick question about combat distance:
when i set the COMBAT_DISTANCE option in my profile to a low # (20 or less), my char still engages the mob, walks to it, and attacks at the distance of 20.
my question is: how do i get my char to totally ignore mobs outside a certian distance.
its a ranged class...
combat distances question
Re: combat distances question
<option name="MAX_TARGET_DIST" value="120" /> serches for mobs in a range of 120
Re: combat distances question
And just to clarify things COMBAT_DISTANCE is how close it moves to the monster before starting an attack.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
-
- Posts: 107
- Joined: Mon Nov 22, 2010 10:17 am
Re: combat distances question
this is exactly what i wanted thanks so much!!
one last question, is there a similar distance option to control height of mobs to engage? like a z distance trigger?
one last question, is there a similar distance option to control height of mobs to engage? like a z distance trigger?
Re: combat distances question
From what I can see there is no profile option for this purpose.nerdyone255 wrote:one last question, is there a similar distance option to control height of mobs to engage? like a z distance trigger?
In player.lua, the function evalTargetDefault has a check for difference of Y.
Code: Select all
-- Check height difference
if( math.abs(target.Y - player.Y) > 45 ) then
return false;
end
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: combat distances question
Yes, height is on the Y axis and is taken care of the way Alkaiser pointed out.
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests