What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

is there any way to make bot to ignore normal mobs?

c57lee

New Member
Joined
Apr 12, 2014
Messages
11
I'm running golem build atm and I want to be able to skip all the white mobs.
Is there any way to make the bot to run through white mobs and stop for magic and above?
 
I'm running golem build atm and I want to be able to skip all the white mobs.
Is there any way to make the bot to run through white mobs and stop for magic and above?

edit oldroutine, go into Target inclusion function, and set

if (m.Rarity == Rarity.Normal) return false;
 
edit oldroutine, go into Target inclusion function, and set


I did something similar to what toNyx suggested, but i think the line
Code:
if (m.Distance > (_currentLeashRange != -1 ? _currentLeashRange : GolemRoutineSettings.Instance.CombatRange))
would still make the bot fight everything within the LeashRange.



My end solution for myself was removing the LeashRange code and just adding in:
Code:
if (m.Rarity == Rarity.Normal && m.Distance > 20)                  
return false;
                
if (m.Rarity == Rarity.Magic && m.Distance > 20)
return false;    

if (m.Rarity == Rarity.Rare && m.Distance > 30)
return false;        

if (m.Rarity == Rarity.Unique && m.Distance > 50)    
return false;

This basically allows me to control at which range i want to engage monsters based on rarity.


I dont know what kind of side effects removing the LeashRange code has, but i have been using the above for months and never noticed anything wrong.
 
Back
Top