]> granicus.if.org Git - nethack/commitdiff
Make killer bee - queen bee transformation apply to hero
authorPasi Kallinen <paxed@alt.org>
Sat, 19 Feb 2022 15:06:33 +0000 (17:06 +0200)
committerPasi Kallinen <paxed@alt.org>
Sat, 19 Feb 2022 15:06:36 +0000 (17:06 +0200)
if they've polyformed to a killer bee and eat royal jelly.

src/eat.c

index 8ffed737d0286671d858ef26fe55b4226d265a10..79f3dd3c2324b1e3f8dcac7a661c195730a528ed 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -2269,6 +2269,10 @@ fpostfx(struct obj *otmp)
                 livelog_printf(LL_CONDUCT, "became literate by reading the fortune inside a cookie");
         break;
     case LUMP_OF_ROYAL_JELLY:
+        if (g.youmonst.data == &mons[PM_KILLER_BEE] && !Unchanging
+            && polymon(PM_QUEEN_BEE))
+            break;
+
         /* This stuff seems to be VERY healthy! */
         gainstr(otmp, 1, TRUE);
         if (Upolyd) {