[FIXED] Evil/red becomes a neutral/gray

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

Evil/red becomes a neutral/gray

Post by Blue Dragon »

Monsters with "flag evil (red)" become "criminals - flag neutral (gray)" during a period of time being attacked or initiate an attack against players or monsters.

I can not tell if this happens with players killers too.

I do not know if this above is normal, but I think it is the same thing happen if he were innocent, but already is evil and does not need become a criminal / neutral, LOL.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

It does not happen with murderers, no (just tested, and the murderer remained red).

The way this system works in UOX3 is a bit unusual. First off, we have "criminal-status"-flags, for both players and NPCs, which goes like this:
Innocent (blue) / Criminal (gray) / Murderer (red)

However! There are also NPCFlags that can co-exist with (or override) these;
Innocent (blue) / Neutral (gray) / Evil (red)
-= Ho Eyo He Hum =-
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

Post by Blue Dragon »

Look, here's a npc with "flag = evil", when I start attacking it, passes a few seconds and the life bar and name which was evil (red), become neutral (gray). Over time he becomes evil again, but I do not know then what happens, but it happens here...

Image
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Fix committed to GitHub, experimental build available.
-= Ho Eyo He Hum =-
Post Reply