wizard mode polyself to "priest"

When polymorphing while already polymorphed, picking your own role
will rehumanize (wizard mode only; restores old characteristics and
experience level, unlike becoming a new man which can change those
and even be fatal if level drops below 1).  But it didn't work if
you were a priest or priestess because name_to_mon() yields aligned
cleric monster rather than cleric role.
This commit is contained in:
PatR
2021-12-08 16:08:57 -08:00
parent 5ce53f4d17
commit a80969f280
2 changed files with 13 additions and 2 deletions
+3
View File
@@ -920,6 +920,9 @@ unpaid shop-owned glob that shrank to nothing had weight 0 which triggered
billing, the empty weight was shown to player if 'wizweight' was On
if 'showrace' was On and invisible hero couldn't see invisible so didn't see
self, the color of wharever could be seen underneath changed to white
in wizard mode, a poly'd priest/priestess attempting to polymorph into priest
or priestess in order to rehumanize became a new man or woman instead
because "priest" matched "aligned cleric" rather than the role monster
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support