From: Pasi Kallinen Date: Tue, 22 Feb 2022 12:57:41 +0000 (+0200) Subject: Make wood golem death drops more varied X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5c73d01fefff13d49d9af83a52615dfe20e2699;p=nethack Make wood golem death drops more varied --- diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 8eab4d51b..2fe92c56f 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -812,6 +812,8 @@ heroes starting with a spell have at least one level one spell, and huge monsters get easily out of pits give a message when a trapped monster frees itself from some trap change kitchen sink glyph to a white { +killed wood golem has a chance to also drop small shields, clubs, + elven spears, and boomerangs Fixes to 3.7.0-x Problems that Were Exposed Via git Repository diff --git a/src/mon.c b/src/mon.c index 11c0e833c..ac59af910 100644 --- a/src/mon.c +++ b/src/mon.c @@ -598,7 +598,12 @@ make_corpse(struct monst *mtmp, unsigned int corpseflags) case PM_WOOD_GOLEM: num = d(2, 4); while (num--) { - obj = mksobj_at(QUARTERSTAFF, x, y, TRUE, FALSE); + obj = mksobj_at( + rn2(2) ? QUARTERSTAFF + : rn2(3) ? SMALL_SHIELD + : rn2(3) ? CLUB + : rn2(3) ? ELVEN_SPEAR : BOOMERANG, + x, y, TRUE, FALSE); } free_mgivenname(mtmp); break;