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 +}