Make HoOA alignment change depend on object ID
The same Helm of opposite alignment will always make the same alignment change for neutrals.
This commit is contained in:
+1
-1
@@ -391,7 +391,7 @@ Helmet_on(VOID_ARGS)
|
|||||||
properties, including levitation; uarmh could get
|
properties, including levitation; uarmh could get
|
||||||
dropped or destroyed here */
|
dropped or destroyed here */
|
||||||
uchangealign((u.ualign.type != A_NEUTRAL) ? -u.ualign.type :
|
uchangealign((u.ualign.type != A_NEUTRAL) ? -u.ualign.type :
|
||||||
rn2(2) ? A_CHAOTIC : A_LAWFUL, 1);
|
(uarmh->o_id % 2) ? A_CHAOTIC : A_LAWFUL, 1);
|
||||||
/* makeknown(uarmh->otyp); -- moved below, after xname() */
|
/* makeknown(uarmh->otyp); -- moved below, after xname() */
|
||||||
/*FALLTHRU*/
|
/*FALLTHRU*/
|
||||||
case DUNCE_CAP:
|
case DUNCE_CAP:
|
||||||
|
|||||||
Reference in New Issue
Block a user