ModernUO/Projects/UOContent/Mobiles/Vendors
Kamron Batman 3b97e8d39c
fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418)
## **MAJOR CHANGE**
* `Stabled` has been moved to `PlayerMobile`.
* New methods added, `PlayerMobile.AddStabled` and `PlayerMobile.RemoveStabled`.
* Added `PlayerMobile.AddFollower` and `PlayerMobile.RemoveFollower`.
* `Stabled`, `AutoStabled`, and `AllFollowers` are now `HashSet` and **_CAN BE NULL_**.

### Summary
* Fixes monster abilities causing harm to the monster through reflect
* Adds `CanTriggerAgainstSelf` to override this for healing or some other self-affecting ability
* Fixes a major memory leak where `UnsummonTimer` from animated dead spell lasts up-to 24hrs and therefore holds onto references of dead/deleted mobs.
* Fixes another minor leak where a mob is not unregistered from the animated dead spell list until the next spell cast.
2023-07-03 09:45:22 -07:00
..
NPC fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00
SBInfo feat: Implement Oil Flask & Refueling (#1165) 2022-09-07 00:35:47 -07:00
AnimalBuy.cs Formats UO Content (#201) 2020-08-27 18:30:38 -07:00
BaseVendor.cs fix: Vendors are now invulnerable for LBR+ or by override (#1399) 2023-04-28 20:51:39 -07:00
BeverageBuy.cs Fixes dupe exception (#258) 2020-09-19 15:46:07 -07:00
GenericBuy.cs feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00
GenericSell.cs chore(content): Updates to C# 9 syntax (#373) 2020-12-30 12:50:10 -08:00
PlayerBarkeeper.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
PlayerVendor.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
PresetMapBuy.cs Formats UO Content (#201) 2020-08-27 18:30:38 -07:00
RentedVendor.cs feat: Adds SerializedCommandProperty (#1249) 2022-11-14 18:24:33 -08:00
VendorInventory.cs feat(timers): Adds timer pooling, fixes timer related bugs, and changes timer api (#667) 2021-08-07 14:33:35 -07:00