ModernUO/Projects/UOContent/Spells/Ninjitsu
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
..
AnimalForm.cs fix: Updates disguises and codegens tinkering items (#1353) 2023-02-25 12:01:06 -08:00
Backstab.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
DeathStrike.cs fix: Fixes death strike never ending (#1386) 2023-04-05 08:58:28 -07:00
FocusAttack.cs fix: Adds FindItemOnLayer generic (#1223) 2022-11-01 00:49:20 -07:00
KiAttack.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00
MirrorImage.cs fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00
NinjaMove.cs Formats UO Content (#201) 2020-08-27 18:30:38 -07:00
NinjaSpell.cs fix: Updates Mysticism to use circles (#1123) 2022-07-16 23:25:48 -07:00
ShadowJump.cs fix: Fixes travel issues (#1285) 2022-11-28 17:36:00 -08:00
SurpriseAttack.cs fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221) 2022-10-30 16:53:23 -07:00