BOT prefers red mob. how to change this?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
lobotomy
Posts: 2
Joined: Sat May 03, 2014 8:50 am

BOT prefers red mob. how to change this?

#1 Post by lobotomy » Sat May 03, 2014 8:54 am

hi all!
sometimes when i farm a zone for xp/tp, i see that even though a perfectly fine yellow mob is within 50 units from the bot, it still goes far away and attacks the red ones first, and when they are gone, it attacks the yellow ones also.
how can i prevent this, and make the bot treat all mobs equally, and always attack the closest one?

thanks

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: BOT prefers red mob. how to change this?

#2 Post by rock5 » Sat May 03, 2014 9:26 am

The bot gives a score to mobs based on distance, mob health, whether they are attacking you and,yes, also if they are red. There is no user option to change this but you can edit the player.lua file to change the score it gives to red mobs.

On line 547 of player.lua you will see

Code: Select all

	local SCORE_AGGRESSIVE = 80;    -- aggressive = score
If you change that to 0 it will give no preference to red mobs. Although it might be a good idea to give red mobs a little preference so when a yellow and red are close it will attack the red first.
  • 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

lobotomy
Posts: 2
Joined: Sat May 03, 2014 8:50 am

Re: BOT prefers red mob. how to change this?

#3 Post by lobotomy » Sat May 03, 2014 12:33 pm

thank you, this worked :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest