From 414ef8d8d68ec1dfe9ec07474ac4e9c241348689 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Thu, 30 Jun 2022 08:46:54 -0700 Subject: [PATCH] fix: Fixes skill mods (#1099) --- Projects/Server/Mobiles/Mods/SkillMod.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Projects/Server/Mobiles/Mods/SkillMod.cs b/Projects/Server/Mobiles/Mods/SkillMod.cs index a30f29ad1..d5b600241 100644 --- a/Projects/Server/Mobiles/Mods/SkillMod.cs +++ b/Projects/Server/Mobiles/Mods/SkillMod.cs @@ -21,7 +21,6 @@ namespace Server; public abstract partial class SkillMod : MobileMod { private bool _obeyCap; - private bool _relative; private SkillName _skill; private double _value; @@ -60,7 +59,7 @@ public abstract partial class SkillMod : MobileMod if (owner != value) { owner?.RemoveSkillMod(this); - owner = value; + base.Owner = owner = value; owner?.AddSkillMod(this); } }