#W# Notoriety tweaks.

This commit is contained in:
WarrentyExpired 2026-08-18 18:06:31 -04:00
parent ba03d45633
commit 97cac07f8b

View file

@ -415,7 +415,7 @@ namespace Server.Misc
if( target.Criminal )
return Notoriety.Criminal;
// --- CUSTOM: WILD HOSTILE MOBS SHOW AS RED ---
// --- CUSTOM: Hostiles are always red. Peaceful mobs are orange ---
if ( target is BaseCreature )
{
BaseCreature bc = (BaseCreature)target;
@ -426,7 +426,7 @@ namespace Server.Misc
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 ) )
if ( !target.Body.IsHuman && bc.AI != AIType.AI_Animal && ( bc.FightMode == FightMode.Aggressor || bc.Karma >= 0 ) )
{
return Notoriety.Enemy;
}