From 5f97f687632e9c72c7d70cfe68bd209273f1a045 Mon Sep 17 00:00:00 2001 From: WarrentyExpired Date: Tue, 18 Aug 2026 17:31:26 -0400 Subject: [PATCH] #W# Notoriety changes. --- Scripts/Misc/Notoriety.cs | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Scripts/Misc/Notoriety.cs b/Scripts/Misc/Notoriety.cs index 2e4c321..d44b134 100644 --- a/Scripts/Misc/Notoriety.cs +++ b/Scripts/Misc/Notoriety.cs @@ -415,6 +415,24 @@ namespace Server.Misc if( target.Criminal ) return Notoriety.Criminal; + // --- CUSTOM: WILD HOSTILE MOBS SHOW AS RED --- + if ( target is BaseCreature ) + { + BaseCreature bc = (BaseCreature)target; + + // If it is wild (not tamed), not a summon, and has negative Karma (hostile) + if ( target.Body.IsMonster && !bc.Controlled && !bc.Summoned && bc.Karma < 0 ) + { + return Notoriety.Murderer; + } + // Defensive/Neutral: Aggressor FightMode or 0 Karma shows as Orange + if ( bc.AI != AIType.AI_Animal && ( bc.FightMode == FightMode.Aggressor || bc.Karma == 0 ) ) + { + return Notoriety.Enemy; + } + } + // --------------------------------------------- + Guild sourceGuild = GetGuildFor( source.Guild as Guild, source ); Guild targetGuild = GetGuildFor( target.Guild as Guild, target ); @@ -524,4 +542,4 @@ namespace Server.Misc return false; } } -} \ No newline at end of file +}