How do monsters choose targets?

Servant of Kali

Servant of Kali

Jungle Guide

Join Date: Jan 2006

Me/

I've read it's related to health.

But can someone be more specific? Does it matter total health, or does it matter current health? As in, if party members gets hit down to 200hp by AoE even if he wasn't first target, does that mean monsters will switch to him?

Is there any other algorithm besides hp?

I'm asking because I'm curious whether it's good to have a "bait" party members, the one with intentionally lower hp but buffed in various ways.

Arkantos

Arkantos

The Greatest

Join Date: Feb 2006

W/

From wiki:

Quote:
Gaining aggro or holding aggro means increasing an ally's threat level, therefore making that ally more likely to be attacked by the AI. Known ways of creating aggro are:

* Being within a foe's danger zone.
o Holding a wand or staff as opposed to martial weapons such as a sword, bow, or scythe creates additional aggro. Only applies to allies within the foe's danger zone.
o Having lower armor and/or health than team mates. Accordingly, having higher health/armor will have the opposite effect. Only applies to allies within the foe's danger zone.
* Attacking a foe or affecting it with a skill.
* Healing or enchanting an ally which already holds aggro. 12 chars

Braxton619

Braxton619

Desert Nomad

Join Date: Jul 2008

A/W

It's usually the lowest HP or the monks. They tend to also go for the ones that are enchanting you.

Icy The Mage

Icy The Mage

Forge Runner

Join Date: Apr 2008

Canada

E/

Yep, when you're 600/smiting that's why your hero will very rarely get attacked (if they're equipped with max armor that is).

Another trick if you want aggro to focus on you rather than someone else (especially if you're using Shadow Form) is unequipping your chest piece. Whether it's the hawt digital pixels or lack of armor-level monsters are attracted to I will never know, but it seems to work fairly well.

Servant of Kali

Servant of Kali

Jungle Guide

Join Date: Jan 2006

Me/

They look at inherent armor or buffed-armor too? As in, would Dervish with Conviction get less attention than without it?

Arkantos

Arkantos

The Greatest

Join Date: Feb 2006

W/

Quote:
Originally Posted by Servant of Kali View Post
They look at inherent armor or buffed-armor too? As in, would Dervish with Conviction get less attention than without it? Correct. That's why when playing a character with SY, you're generally going to be getting attacked more because you have 100 less armor than everyone else.

Bristlebane

Bristlebane

Desert Nomad

Join Date: Jan 2008

Mo/

Yeah that should be easy enough to test out as well. Get a ranger with Barrage + Save Yourselves. Usually rangers rarely gets attacked first, I noticed a huge difference in working on a ranger survivor in comparison to other professions.. I assume that inherent +30 AL vs elemental damage plays a huge part.

Back to topic.. a Barrage/SY ranger would end up with ~70-100 armor less than rest of your team and should most likely attract a whole lot more aggro. While at it, could add in dmg conversion like Conflagration/Greater Conflagration to utilize that +30 inherent.. which is still 70 less than rest of your party.

Owik Gall

Owik Gall

Wilds Pathfinder

Join Date: Jan 2007

Guardians of the Light

W/Mo

Quote:
Originally Posted by Arkantos
View Post
Correct. That's why when playing a character with SY, you're generally going to be getting attacked more because you have 100 less armor than everyone else. I would think that the monks and others in the back line can wield martial weapons to help lose targeting aggro in addition to the SY! spamming. That guess is based on the example from the wiki you've posted earlier. So, would this be a good idea, you think?

gameshoes3003

gameshoes3003

Forge Runner

Join Date: Feb 2006

So a martial weapon helps eh?
I've always wondered why monsters would attack the other monk...
I usually have an axe with the +5 energy mod out while most of the time I see other monks with staffs.

qvtkc

Wilds Pathfinder

Join Date: Apr 2006

I read that health degen also helps to attract aggro, and that regen helps you get rid of it. One more reason to dislike Mending wammos

Chthon

Grotto Attendant

Join Date: Apr 2007

AFAIK, the monster decision-making process goes something like this:

1. Make a list of all potential targets.
2. Assign a "score" to each potential target.
3. Attack the target with the highest score.
4. Repeat.

Some details:

The list of potential targets includes:
* Anything within the monster's aggro bubble.
* Anything within the aggro bubble of something within the monster's aggro bubble.
* ANything that attacked or cast upon the monster.
* Anything within the aggro bubble of something that attacked or cast upon the monster.

The score is a weighted composite of a number of factors. Listed in what I believe is descending order of weight:
* Currently being hit by the monster
* Proximity to the monster
* Life/Armor (probably resembles BADITTKY calculation)
* Fleeing/Kiting (totally out of monster's range)
* Being the one to initially aggro the monster
* Degen/Regen

There also seems to be something that causes a "go for the monk" effect. Some people theorize this is based on weapon type, while others claim there is an inherent ordering of which classes to attack. I've never seen a well-designed experiment to determine which is correct. Whatever this factor is, it seems to have a similar weight to life/armor.

A small note on "currently being hit by the monster": Rather than being a linear variable, the AI seems to use a "satisfice" threshold formula. If the monster is doing "enough" damage to its current target, this factor gets a huge weight; if it's not, this factor gets a rather weak weight.

The decision process seems to repeat every second or so. However, the "currently being hit by the monster" factor is usually so strong that monsters only change targets when something stops them from hitting so that their current target loses its "currently being hit by the monster" status -- usually triggering monster flee or KD-ing the monster.