From 1e2f4b1171de799da9be30ab4a1429feb23a506a Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Thu, 24 Jul 2025 14:18:16 -0700 Subject: [PATCH] fix: Fixes tentacles not getting removed from harrower's list (#2239) --- .../Migrations/Server.Mobiles.HarrowerTentacles.v0.json | 2 +- Projects/UOContent/Mobiles/Special/HarrowerTentacles.cs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Projects/UOContent/Migrations/Server.Mobiles.HarrowerTentacles.v0.json b/Projects/UOContent/Migrations/Server.Mobiles.HarrowerTentacles.v0.json index 0866656e3..3c76d4e00 100644 --- a/Projects/UOContent/Migrations/Server.Mobiles.HarrowerTentacles.v0.json +++ b/Projects/UOContent/Migrations/Server.Mobiles.HarrowerTentacles.v0.json @@ -4,7 +4,7 @@ "properties": [ { "name": "Harrower", - "type": "Server.Mobile", + "type": "Server.Mobiles.Harrower", "rule": "SerializableInterfaceMigrationRule" } ] diff --git a/Projects/UOContent/Mobiles/Special/HarrowerTentacles.cs b/Projects/UOContent/Mobiles/Special/HarrowerTentacles.cs index 20877aa6a..04a8b79d7 100644 --- a/Projects/UOContent/Mobiles/Special/HarrowerTentacles.cs +++ b/Projects/UOContent/Mobiles/Special/HarrowerTentacles.cs @@ -11,10 +11,10 @@ public partial class HarrowerTentacles : BaseCreature [SerializableField(0)] [SerializedCommandProperty(AccessLevel.GameMaster)] - private Mobile _harrower; + private Harrower _harrower; [Constructible] - public HarrowerTentacles(Mobile harrower = null) : base(AIType.AI_Melee) + public HarrowerTentacles(Harrower harrower = null) : base(AIType.AI_Melee) { _harrower = harrower; Body = 129; @@ -101,6 +101,7 @@ public partial class HarrowerTentacles : BaseCreature _timer = null; base.OnAfterDelete(); + Harrower?.RemoveFromTentacles(this); } private class DrainTimer : Timer