]> granicus.if.org Git - nethack/commit
mind flayer brain attacks (trunk only)
authornethack.rankin <nethack.rankin>
Sat, 1 Oct 2005 05:14:19 +0000 (05:14 +0000)
committernethack.rankin <nethack.rankin>
Sat, 1 Oct 2005 05:14:19 +0000 (05:14 +0000)
commitf1fe8c1600eff1cfa659ef79d6517e7fa0b0376c
tree58dca88ec858a17d682ac03d6b0847d7e3cc3146
parentbe193d27b5c2370badd9eb99a51af0a62e3862c9
mind flayer brain attacks (trunk only)

     Fix a couple of problems From a bug report.  Eating a Rider corpse is fatal, but eating a live Rider's
brain was not--now it will be, both for monster mind flayers and for player
poly'd into one.  Also, there was no check for cannibalism when poly'd hero
eats brains--now there is.  Not mentioned in the report:  eating Medusa's
brains will now be fatal just like eating her corpse.  And pet mind flayers
who eat the hero's brains will gain some nutrition like they do when eating
monster brains.

     Creating a common eat_brains() routine turned out to be something of
a mistake; there is only a tiny amount of overlap among the u-vs-m, m-vs-u,
and m-vs-m cases.

     Makefiles need a dependency update to add edog.h for eat.c.
doc/fixes35.0
include/extern.h
src/eat.c
src/mhitm.c
src/mhitu.c
src/uhitm.c