ModernUO/Projects/UOContent/Mobiles/AI
Kamron Batman 28c06c1cc0
fix: Changes Map.Sector.Mobiles to link list & Fixes various related crash bugs (#1553)
### Summary

Eliminates `IPooledEnumerable<T>` and `eable.Free()` from `Map` for mobiles. This drastically simplifies code that iterates in range, for example:

```cs
foreach (var m in m.GetMobilesInRange(5))
{
}
```
The code above no longer requires an eable and calling `Free()`.

- [X] Fixed several locations where an NPC that was damaged would cause a server crash.
- [X] Removed an unnecessary allocation in guard fake calls (NPCs calling guards on you)
- [X] Fixes damage precision loss in Poison Strike Spell
- [X] BogThing no longer attempts to "search" for boglings to eat when it is at full health
2023-10-29 22:42:46 -07:00
..
AIControlMobileTarget.cs fix: Cleans up AI code (#1084) 2022-06-20 19:32:16 -07:00
AnimalAI.cs feat: Adds monster abilities to combat actions (#1266) 2022-11-22 20:05:19 -08:00
ArcherAI.cs feat: Adds monster abilities to combat actions (#1266) 2022-11-22 20:05:19 -08:00
BaseAI.cs fix: Changes Map.Sector.Mobiles to link list & Fixes various related crash bugs (#1553) 2023-10-29 22:42:46 -07:00
BerserkAI.cs feat: Adds monster abilities to combat actions (#1266) 2022-11-22 20:05:19 -08:00
HealerAI.cs fix: Changes Map.Sector.Mobiles to link list & Fixes various related crash bugs (#1553) 2023-10-29 22:42:46 -07:00
MageAI.cs feat: Adds monster abilities to combat actions (#1266) 2022-11-22 20:05:19 -08:00
MeleeAI.cs feat: Adds monster abilities to combat actions (#1266) 2022-11-22 20:05:19 -08:00
OppositionGroup.cs C# 9 Cleanup (#325) 2020-11-27 00:29:21 -08:00
PredatorAI.cs feat: Adds monster abilities to combat actions (#1266) 2022-11-22 20:05:19 -08:00
ThiefAI.cs feat: Adds monster abilities to combat actions (#1266) 2022-11-22 20:05:19 -08:00
VendorAI.cs fix: Cleans up AI code (#1084) 2022-06-20 19:32:16 -07:00