modernuo/Projects/UOContent/Items/Traps
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
..
BaseTrap.cs fix: Codegens traps (#1472) 2023-08-25 20:44:37 -07:00
FireColumnTrap.cs fix: Codegens traps (#1472) 2023-08-25 20:44:37 -07:00
FlameSpurtTrap.cs fix: Changes Map.Sector.Mobiles to link list & Fixes various related crash bugs (#1553) 2023-10-29 22:42:46 -07:00
GasTrap.cs fix: Codegens traps (#1472) 2023-08-25 20:44:37 -07:00
GiantSpikeTrap.cs fix: Codegens traps (#1472) 2023-08-25 20:44:37 -07:00
MushroomTrap.cs fix: Codegens traps (#1472) 2023-08-25 20:44:37 -07:00
SawTrap.cs fix: Codegens traps (#1472) 2023-08-25 20:44:37 -07:00
SpikeTrap.cs fix: Changes Map.Sector.Mobiles to link list & Fixes various related crash bugs (#1553) 2023-10-29 22:42:46 -07:00
StoneFaceTrap.cs fix: Changes Map.Sector.Mobiles to link list & Fixes various related crash bugs (#1553) 2023-10-29 22:42:46 -07:00