From 2dd0af630e29ab2727cd794838ad498907d1915c Mon Sep 17 00:00:00 2001 From: Kestrel Gregorich-Trevor Date: Thu, 6 Apr 2023 12:55:24 -0500 Subject: [PATCH] Adjust statue traps to be biased toward more difficult monsters. --- src/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trap.c b/src/trap.c index b640fe0a6..d5fff01dc 100644 --- a/src/trap.c +++ b/src/trap.c @@ -391,7 +391,7 @@ mk_trap_statue(coordxy x, coordxy y) int trycount = 10; do { /* avoid ultimately hostile co-aligned unicorn */ - mptr = &mons[rndmonnum()]; + mptr = &mons[rndmonnum_adj(5, 10)]; } while (--trycount > 0 && is_unicorn(mptr) && sgn(u.ualign.type) == sgn(mptr->maligntyp)); statue = mkcorpstat(STATUE, (struct monst *) 0, mptr, x, y,