Make wood golem death drops more varied

This commit is contained in:
Pasi Kallinen
2022-02-22 14:57:41 +02:00
parent 4866182a02
commit e5c73d01fe
2 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -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;