#W# Notoriety tweaks.
This commit is contained in:
parent
5f97f68763
commit
d34994ff83
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue