diff --git a/Projects/UOContent/Mobiles/Animals/Misc/BullFrog.cs b/Projects/UOContent/Mobiles/Animals/Misc/BullFrog.cs index 7aefa41eb..08ae090d2 100644 --- a/Projects/UOContent/Mobiles/Animals/Misc/BullFrog.cs +++ b/Projects/UOContent/Mobiles/Animals/Misc/BullFrog.cs @@ -3,7 +3,7 @@ using ModernUO.Serialization; namespace Server.Mobiles { [TypeAlias("Server.Mobiles.Bullfrog")] - [SerializationGenerator(0,false)] + [SerializationGenerator(0, false)] public partial class BullFrog : BaseCreature { [Constructible] diff --git a/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs b/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs index ad75473b9..b78273ed5 100644 --- a/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs +++ b/Projects/UOContent/Mobiles/Animals/Mounts/War Horses/BaseWarHorse.cs @@ -2,7 +2,7 @@ using ModernUO.Serialization; namespace Server.Mobiles { - [SerializationGenerator(0,false)] + [SerializationGenerator(0, false)] public abstract partial class BaseWarHorse : BaseMount { public override string DefaultName => "a war horse"; diff --git a/Projects/UOContent/Mobiles/Monsters/Misc/Melee/EnergyVortex.cs b/Projects/UOContent/Mobiles/Monsters/Misc/Melee/EnergyVortex.cs index 605e98b4a..e4cc34f92 100644 --- a/Projects/UOContent/Mobiles/Monsters/Misc/Melee/EnergyVortex.cs +++ b/Projects/UOContent/Mobiles/Monsters/Misc/Melee/EnergyVortex.cs @@ -103,14 +103,5 @@ namespace Server.Mobiles base.OnThink(); } - - [AfterDeserialization] - private void AfterDeserialization() - { - if (BaseSoundID == 263) - { - BaseSoundID = 0; - } - } } } diff --git a/Projects/UOContent/Mobiles/Monsters/Plant/Melee/Corpser.cs b/Projects/UOContent/Mobiles/Monsters/Plant/Melee/Corpser.cs index d13734f69..39e542cea 100644 --- a/Projects/UOContent/Mobiles/Monsters/Plant/Melee/Corpser.cs +++ b/Projects/UOContent/Mobiles/Monsters/Plant/Melee/Corpser.cs @@ -60,14 +60,5 @@ namespace Server.Mobiles { AddLoot(LootPack.Meager); } - - [AfterDeserialization] - private void AfterDeserialization() - { - if (BaseSoundID == 352) - { - BaseSoundID = 684; - } - } } } diff --git a/Projects/UOContent/Mobiles/Monsters/SE/FireBeetle.cs b/Projects/UOContent/Mobiles/Monsters/SE/FireBeetle.cs index b4d30513e..f45f7a7d7 100644 --- a/Projects/UOContent/Mobiles/Monsters/SE/FireBeetle.cs +++ b/Projects/UOContent/Mobiles/Monsters/SE/FireBeetle.cs @@ -5,7 +5,7 @@ using Server.Items; namespace Server.Mobiles { [Forge] - [SerializationGenerator(0,false)] + [SerializationGenerator(0, false)] public partial class FireBeetle : BaseMount { public override string DefaultName => "a fire beetle"; diff --git a/Projects/UOContent/Mobiles/Monsters/SE/RuneBeetle.cs b/Projects/UOContent/Mobiles/Monsters/SE/RuneBeetle.cs index bf0b43473..c56c6ec14 100644 --- a/Projects/UOContent/Mobiles/Monsters/SE/RuneBeetle.cs +++ b/Projects/UOContent/Mobiles/Monsters/SE/RuneBeetle.cs @@ -5,7 +5,7 @@ using Server.Items; namespace Server.Mobiles { - [SerializationGenerator(0,false)] + [SerializationGenerator(0, false)] public partial class RuneBeetle : BaseCreature { [Constructible] @@ -92,21 +92,6 @@ namespace Server.Mobiles private static MonsterAbility[] _abilities = { MonsterAbilities.RuneCorruption }; public override MonsterAbility[] GetMonsterAbilities() => _abilities; - - [AfterDeserialization] - private void AfterDeserialization() - { - for (var i = 0; i < Skills.Length; ++i) - { - var skill = Skills[i]; - skill.Cap = Math.Max(100.0, skill.Cap * 0.9); - - if (skill.Base > skill.Cap) - { - skill.Base = skill.Cap; - } - } - } } } diff --git a/Projects/UOContent/Mobiles/Vendors/NPC/Guildmasters/BardGuildmaster.cs b/Projects/UOContent/Mobiles/Vendors/NPC/Guildmasters/BardGuildmaster.cs index 64fa99762..64200f1c0 100644 --- a/Projects/UOContent/Mobiles/Vendors/NPC/Guildmasters/BardGuildmaster.cs +++ b/Projects/UOContent/Mobiles/Vendors/NPC/Guildmasters/BardGuildmaster.cs @@ -2,7 +2,7 @@ using ModernUO.Serialization; namespace Server.Mobiles { - [SerializationGenerator(0,false)] + [SerializationGenerator(0, false)] public partial class BardGuildmaster : BaseGuildmaster { [Constructible]