Skip to content

Commit

Permalink
Rider strengthening
Browse files Browse the repository at this point in the history
      High resistance made the Riders unlikely to be polymorphed, but
they were susceptible to being turned into green slime (and then never
reviving if killed in that state).  Now they'll be immune to both types
of transformation.
  • Loading branch information
nethack.rankin committed Nov 23, 2006
1 parent 6a08130 commit dd4f4ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/fixes34.4
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ prevent very large number of objects in # inventory slot from causing
buffer overflow
!fixinv config was using arbitrary characters instead of # for invent overflow
don't report death by petrification if cockatrice kills hero via HP loss
Riders are immune to green slime


Platform- and/or Interface-Specific Fixes
Expand Down
3 changes: 3 additions & 0 deletions src/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2584,6 +2584,9 @@ boolean msg; /* "The oldmon turns into a newmon!" */
struct permonst *olddata = mtmp->data;
char oldname[BUFSZ], newname[BUFSZ];

/* Riders are immune to polymorph and green slime */
if (is_rider(mtmp->data)) return 0;

if (msg) {
/* like Monnam() but never mention saddle */
Strcpy(oldname, x_monnam(mtmp, ARTICLE_THE, (char *)0,
Expand Down

0 comments on commit dd4f4ef

Please sign in to comment.