#W# Notoriety tweaks.
This commit is contained in:
parent
ba03d45633
commit
97cac07f8b
1 changed files with 2 additions and 2 deletions
|
|
@ -415,7 +415,7 @@ namespace Server.Misc
|
||||||
if( target.Criminal )
|
if( target.Criminal )
|
||||||
return Notoriety.Criminal;
|
return Notoriety.Criminal;
|
||||||
|
|
||||||
// --- CUSTOM: WILD HOSTILE MOBS SHOW AS RED ---
|
// --- CUSTOM: Hostiles are always red. Peaceful mobs are orange ---
|
||||||
if ( target is BaseCreature )
|
if ( target is BaseCreature )
|
||||||
{
|
{
|
||||||
BaseCreature bc = (BaseCreature)target;
|
BaseCreature bc = (BaseCreature)target;
|
||||||
|
|
@ -426,7 +426,7 @@ namespace Server.Misc
|
||||||
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 ( !target.Body.IsHuman && bc.AI != AIType.AI_Animal && ( bc.FightMode == FightMode.Aggressor || bc.Karma >= 0 ) )
|
||||||
{
|
{
|
||||||
return Notoriety.Enemy;
|
return Notoriety.Enemy;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue