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

Bot priorities

Pr0fessional

New Member
Joined
Jan 10, 2015
Messages
17
Reaction score
0
Where/how do you set the bots priorities higher/lower;

e.g. Bot spams summon zombie mid combat instead of killing a boss/rogue exile
 
Tormented Spirit priority would be wonderful too.
 
Hello friends,

I don't know about bot priorities as Pr0fessional asked but related to Tormented Spirits what you can do is add this piece of code inside your ExampleRoutine.cs file. Credits to tozededao (source)
Code:
// If the monster is the source of Allies Cannot Die, we really want to kill it fast.
            if (m.HasAura("monster_aura_cannot_die")) 
                weight += 40;

// ----------------------------------------------------------------------------------------------------------------------------------------------
            // Tormented Spirits
            if (m.Name.Contains("Tormented"))
            {
                weight +=30;
            }
// ----------------------------------------------------------------------------------------------------------------------------------------------
            if (m.IsTargetingMe)
            {
                weight += 20;
            }
Just add what is inside the two //---------... The other parts is for you to find where to place the code :D
The weight 30 should be enough. You can increase it if you think is necessary.
Good luck there.
 
Hello friends,

I don't know about bot priorities as Pr0fessional asked but related to Tormented Spirits what you can do is add this piece of code inside your ExampleRoutine.cs file. Credits to tozededao (source)
Code:
// If the monster is the source of Allies Cannot Die, we really want to kill it fast.
            if (m.HasAura("monster_aura_cannot_die")) 
                weight += 40;

// ----------------------------------------------------------------------------------------------------------------------------------------------
            // Tormented Spirits
            if (m.Name.Contains("Tormented"))
            {
                weight +=30;
            }
// ----------------------------------------------------------------------------------------------------------------------------------------------
            if (m.IsTargetingMe)
            {
                weight += 20;
            }
Just add what is inside the two //---------... The other parts is for you to find where to place the code :D
The weight 30 should be enough. You can increase it if you think is necessary.
Good luck there.

Thank you very much
 
If you have a tanky char, like I do, you probably want to increase it to a really absurd number such as 1000, 30 won't be enough to keep chasing them if you are a melee, tweak around the value and find out what suits you better.
 
Back
Top