ModernUO/Projects/UOContent/Spells/Necromancy
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
..
AnimateDeadSpell.cs fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00
BloodOathSpell.cs fix: Cleans up more spells (#1121) 2022-07-16 22:32:51 -07:00
CorpseSkin.cs fix: Adds name support for all mods (#1128) 2022-10-15 10:46:31 -07:00
CurseWeapon.cs fix: Cleans up more spells (#1121) 2022-07-16 22:32:51 -07:00
EvilOmen.cs fix: Adds name support for all mods (#1128) 2022-10-15 10:46:31 -07:00
Exorcism.cs fix: Cleans up spell info variable (#848) 2021-11-14 18:31:32 -08:00
HorrificBeast.cs fix: Cleans up spell info variable (#848) 2021-11-14 18:31:32 -08:00
LichForm.cs fix: Cleans up spell info variable (#848) 2021-11-14 18:31:32 -08:00
MindRot.cs fix: Cleans up more spells (#1121) 2022-07-16 22:32:51 -07:00
NecromancerSpell.cs fix: Fixes cast spell speeds for various expansions (#1178) 2022-10-01 12:25:40 -07:00
PainSpike.cs fix: Blood Oath, Wraith form, & Strangle (#1153) 2022-09-01 09:19:40 -07:00
PoisonStrike.cs fix: Fixes ignoring mobs, champions, party crash, slayer rarity, boat speedhack, etc (#1222) 2022-10-31 22:16:50 -07:00
Strangle.cs fix: Fixes random bias & Adds back champion arties for UOML (#1235) 2022-11-09 16:33:27 -08:00
SummonFamiliar.cs fix: Cleans up spell info variable (#848) 2021-11-14 18:31:32 -08:00
TransformationSpell.cs Formats UO Content (#201) 2020-08-27 18:30:38 -07:00
VampiricEmbrace.cs fix: Cleans up spell info variable (#848) 2021-11-14 18:31:32 -08:00
VengefulSpirit.cs fix: Cleans up spell info variable (#848) 2021-11-14 18:31:32 -08:00
Wither.cs fix: Fixes ignoring mobs, champions, party crash, slayer rarity, boat speedhack, etc (#1222) 2022-10-31 22:16:50 -07:00
WraithForm.cs fix: Blood Oath, Wraith form, & Strangle (#1153) 2022-09-01 09:19:40 -07:00