ModernUO/Projects/UOContent/Mobiles
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
..
Abilities fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00
AI fix: Removes run flag from NPC movement (#1357) 2023-03-02 10:58:17 -08:00
Animals fix: Codegens mutation core (#1370) 2023-03-11 17:33:31 -08:00
Familiars fix: Fixes random bias & Adds back champion arties for UOML (#1235) 2022-11-09 16:33:27 -08:00
Guards cleanup: Fixes bugs and cleans up code (#660) 2021-07-19 20:49:59 -07:00
Healers fix: Fixes random bias & Adds back champion arties for UOML (#1235) 2022-11-09 16:33:27 -08:00
Hireables feat: Adds hireables (#1393) 2023-04-16 20:24:14 -07:00
Monsters fix: Fixes leaking/errors caused by categorization (#1404) 2023-05-19 18:41:31 -07:00
Special fix: Adds summon pixies. Fixes other abilities (#1274) 2022-11-23 17:39:23 -08:00
Townfolk fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
Vendors fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00
BaseCreature.cs fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00
ChampionTitleInfo.cs fix: NullReference in ChampionTileInfo (#1258) 2022-11-21 20:35:45 -08:00
NPCSpeeds.cs fix: Makes NPC active movement half think speed (#1256) 2022-11-20 20:05:43 -08:00
PlayerMobile.cs fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00