From c789630cd52cab7c236667bf98dffb3390f2a4fd Mon Sep 17 00:00:00 2001 From: WarrentyExpired Date: Fri, 16 Oct 2026 14:01:37 -0400 Subject: [PATCH] #W# Typo: Fixed a Typo. --- Projects/UOContent/Misc/Titles.cs | 4 ++-- Projects/UOContent/Misc/ValidSettings.cs | 4 ++-- Projects/UOContent/Settings.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Projects/UOContent/Misc/Titles.cs b/Projects/UOContent/Misc/Titles.cs index d08443bc4..f26baf64a 100644 --- a/Projects/UOContent/Misc/Titles.cs +++ b/Projects/UOContent/Misc/Titles.cs @@ -205,7 +205,7 @@ namespace Server.Misc m.Karma = newKarma; - if (message && offset != 0) + if (message) { SendKarmaMessage(m, offset); } @@ -252,7 +252,7 @@ namespace Server.Misc m.Karma += offset; - if (message) + if (message && offset != 0) { SendKarmaMessage(m, offset); } diff --git a/Projects/UOContent/Misc/ValidSettings.cs b/Projects/UOContent/Misc/ValidSettings.cs index 4f39ab9b3..8ac4e30ce 100644 --- a/Projects/UOContent/Misc/ValidSettings.cs +++ b/Projects/UOContent/Misc/ValidSettings.cs @@ -67,8 +67,8 @@ namespace Server public static double RegionDungeonTrapsChance() { int chance = Settings.S_RegionDungeonTrapsChance; - if (chance > 100) - chance = 100; + if (chance > 10) + chance = 10; if (chance < 1 ) chance = 1; return (double)chance; diff --git a/Projects/UOContent/Settings.cs b/Projects/UOContent/Settings.cs index f3a0f0897..8939a3a15 100644 --- a/Projects/UOContent/Settings.cs +++ b/Projects/UOContent/Settings.cs @@ -11,7 +11,7 @@ namespace Server public static int S_DungeonBountyRefusalDelay = 10; // 1-1440 minutes delay between refusing a quest public static bool S_DungeonTraps = false; // Spawns Dugeon floor traps public static bool S_RegionDungeonTraps = true; // Step activated dungeon traps - public static int S_RegionDungeonTrapsChance = 3; // 1-100 Chance to get a trap check per step + public static int S_RegionDungeonTrapsChance = 3; // 1-10 Chance to get a trap check per step public static bool S_TrapDetected = false; // Get a message if the trap gets detected public static bool S_TrapDamageMitigated = true; // Get a message if the trap damage gets mitigated }