From: Pasi Kallinen Date: Tue, 31 Oct 2017 20:30:07 +0000 (+0200) Subject: Charisma affects the leeway in demon lord bribes X-Git-Tag: NetHack-3.6.1_RC01~229 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c50a93b5e046b88172420fa9298a25fbe769e7d8;p=nethack Charisma affects the leeway in demon lord bribes --- diff --git a/doc/fixes36.1 b/doc/fixes36.1 index c36858045..bb535b631 100644 --- a/doc/fixes36.1 +++ b/doc/fixes36.1 @@ -467,6 +467,7 @@ doors in special levels were always generated in vertical orientation assigning a type name to a potion on the floor which is actually a mimic could prompt "Call a stream of fluid:" (bogus 'fromsink') with perm_invent option enabled and no inventory, 'i' put up an empty menu +charisma affects the leeway in demon lord bribes Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository diff --git a/src/minion.c b/src/minion.c index d0394477b..e690d22d1 100644 --- a/src/minion.c +++ b/src/minion.c @@ -279,7 +279,8 @@ register struct monst *mtmp; if ((offer = bribe(mtmp)) >= demand) { pline("%s vanishes, laughing about cowardly mortals.", Amonnam(mtmp)); - } else if (offer > 0L && (long) rnd(40) > (demand - offer)) { + } else if (offer > 0L + && (long) rnd(5 * ACURR(A_CHA)) > (demand - offer)) { pline("%s scowls at you menacingly, then vanishes.", Amonnam(mtmp)); } else {