From cdde5b76c9586f006b70fc00d88907084d71461a Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 22 Dec 2015 21:44:53 +0200 Subject: [PATCH] Some shopkeepers are always stingier This prevents the "drop the item few times, just to see if the sell price changes" --- src/shk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shk.c b/src/shk.c index 31ed6efbd..c8123b74a 100644 --- a/src/shk.c +++ b/src/shk.c @@ -2157,7 +2157,7 @@ register struct monst *shkp; tmp = (obj->otyp % (6 - shkp->m_id % 3)); tmp = (tmp + 3) * obj->quan; } - } else if (tmp > 1L && !rn2(4)) + } else if (tmp > 1L && !(shkp->m_id % 4)) multiplier *= 3L, divisor *= 4L; } -- 2.40.0