#W# Notoriety tweaks.

This commit is contained in:
WarrentyExpired 2026-08-18 17:56:00 -04:00
parent 5f97f68763
commit d34994ff83

View file

@ -421,12 +421,12 @@ namespace Server.Misc
BaseCreature bc = (BaseCreature)target; BaseCreature bc = (BaseCreature)target;
// If it is wild (not tamed), not a summon, and has negative Karma (hostile) // 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 ) if ( bc.AI != AIType.AI_Animal && !bc.Controlled && !bc.Summoned && bc.Karma < 0 )
{ {
return Notoriety.Murderer; return Notoriety.Murderer;
} }
// Defensive/Neutral: Aggressor FightMode or 0 Karma shows as Orange // Defensive/Neutral: Aggressor FightMode or 0 Karma shows as Orange
if ( bc.AI != AIType.AI_Animal && ( bc.FightMode == FightMode.Aggressor || bc.Karma == 0 ) ) if ( bc.AI != AIType.AI_Animal && ( bc.FightMode == FightMode.Aggressor || bc.Karma >= 0 ) )
{ {
return Notoriety.Enemy; return Notoriety.Enemy;
} }