From: PatR Date: Fri, 18 Mar 2016 22:46:11 +0000 (-0700) Subject: tuning: thrones X-Git-Tag: NetHack-3.6.1_RC01~866 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ae8f291acae94a7f7bf5999f35b8f00579dd3f1;p=nethack tuning: thrones This was sitting around for several years. When positive luck lessens a negative effect from sitting on a throne, reduce luck so that repeated occurances will eventually get the intended result. --- diff --git a/src/sit.c b/src/sit.c index b39df58ea..cbc88f922 100644 --- a/src/sit.c +++ b/src/sit.c @@ -1,4 +1,4 @@ -/* NetHack 3.6 sit.c $NHDT-Date: 1445906863 2015/10/27 00:47:43 $ $NHDT-Branch: master $:$NHDT-Revision: 1.51 $ */ +/* NetHack 3.6 sit.c $NHDT-Date: 1458341129 2016/03/18 22:45:29 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.53 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -226,6 +226,7 @@ dosit() "A curse upon thee for sitting upon this most holy throne!"); if (Luck > 0) { make_blinded(Blinded + rn1(100, 250), TRUE); + change_luck((Luck > 1) ? -rnd(2) : -1); } else rndcurse(); break;