I also recall the 4 mob limit in classic, when they were attacking the same player. Mobs outside the 4 would kind of pace back and forth just outside melee range. In order to code this in, in an independant way where it affects the hate list of all NPC's (therefor it affects NPC's attacking players as well as other NPC's, like pets attacking a mob), there's tons of considerations and lots of ways it could go wrong and be exploited. It is definitely not as simple as whoever posted that other code in this thread, that is laughable. The mobs would have to be treated as if they have the entity on their hate list but don't engage because there's 4 other npc's in melee range already.
I'd like to see about putting this in but I definitely can't promise anything. This would not only take a bit to code, but it would take a lot of testing as well. There's still a lot of stuff to get done before a week from now.
|