Charisma affects the leeway in demon lord bribes

This commit is contained in:
Pasi Kallinen
2017-10-31 22:30:07 +02:00
parent fe9762d1cc
commit c50a93b5e0
2 changed files with 3 additions and 1 deletions

View File

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

View File

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