Looking4Group / L4G_Core

Looking4Group Core
http://looking4group.eu
GNU General Public License v2.0
37 stars 69 forks source link

Bug: Dragonmaw Peons on Netherwing Ledge do not use their aggro table #3808

Open Russet0 opened 7 years ago

Russet0 commented 7 years ago

The Dragonmaw Peon mobs all over the surface level of Netherwing Ledge ([66,80] and surrounding area of Shadowmoon Valley) have very strange AI behavior.

Once engaged, they do not change their target (most of the time). It does not matter how much threat another target builds, the mob will not change target. If feign death is used the mobs will stop attacking any target and stand still stuck in their "mining" animation. Once the aggro drop ends they will attack the player again, even if there has been 0 new threat built.

Happens the other way too. If they aggro a pet which then does not build threat, they still will not change targets off the pet no matter how much damage is dealt to them from other sources.

I did not test the peons in the mine, but almost all of the overworld ones that I tested behaved similarly. I am still hated by the Netherwing faction.

NPC: http://db.hellfire-tbc.com/?npc=22252

Russet0 commented 7 years ago

Actually I discovered an exception to this. When feign death is used (or another aggro drop), they will change target and attack Overmine Flayers if there is one in combat next to them at the time.

They will not stop attacking the Flayer if the player returns to their aggro table though, regardless of threat.

Flayer link: http://db.hellfire-tbc.com/?npc=23264

AnonXS commented 7 years ago

Connected to a Core Script.

https://github.com/Looking4Group/L4G_Core/blob/master/src/scripts/scripts/zone/shadowmoon_valley/shadowmoon_valley.cpp#L393