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

Changing Enemy Priority possible?

Dimensionday

New Member
Joined
Dec 13, 2011
Messages
54
Reaction score
1
Hey Guys :)

I am playing an Shadow on Reave...
There is a big problem.
Every time i am in the Crypt just as example.
The Bot goes on the stongest Enemys first.
Or on the Necromancer. This means he has to
walk through countless mass of Enemys to get to
these higher priority enemys. And the Point is that
i die always. I am pure Life Leech, High DMG and Low Life.
Makes Sense now?
Cause i got Reave it qould be no problem killing first
the little Minions with Reave (AOE) and after that going on
the Necromancer or what else.
The Bot has to attack firectly the first Enemy standing in front
of the him to survive.

Can i change this priority?
 
yes, edit the following code from your exampleroutine
currently the necromancers get 30 increased priority, while the minions have -15 reduced priority

you could make the necromancers less of a priority and/or make the minions more of a priority
this can potentially cause issues with the bot only killing minions that are constantly resurrected by the necromancer ;) but that may not be an issue with your aoe build

the lines to edit are the ones saying 'weight' +=30 for the necromancer. you could for example change that line to 'weight += 10;' to only give them 10 increased priority
or the line 'weight -= 15;' for summoned skeleton, you could say change that to 'weight += 15;' to instead increase the priority for them by 15


Code:
            // Necros
            if (m.ExplicitAffixes.Any(a => a.InternalName.Contains("RaisesUndead")) ||
                m.ImplicitAffixes.Any(a => a.InternalName.Contains("RaisesUndead")))
            {
                weight += 30;
            }

Code:
            // Minions that get in the way.
            switch (m.Name)
            {
                case "Summoned Skeleton":
                    weight -= 15;
                    break;

                case "Raised Zombie":
                    weight -= 15;
                    break;
            }
 
Last edited:
Gonna try that.

But now its just for the Necros and Skeletons...
The other Problem is that the Bot rushes first to the Yellow Enemies.
The stronger ones...

EDIT:

How can i say the bot to not open the Monster Pack Chests...
The Problem there is that the Bot is in the Middle of all them and gets attacked
if they are Range and my Blood rage is not active..
It takes time activating Blood Rage + Summoning Assassins Mark (removed it already).
In this preparation time my char dies definitely...
 
Last edited:
How can i say the bot to not open the Monster Pack Chests...
The Problem there is that the Bot is in the Middle of all them and gets attacked
if they are Range and my Blood rage is not active..
It takes time activating Blood Rage + Summoning Assassins Mark (removed it already).
In this preparation time my char dies definitely...

settings - basicgrindbot - globalcheststoignore
tick the ones you don't want the bot to open, so anything ending in 'strongbox'
 
Back
Top