X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=src%2Flib%2Fupdate%2Frevolt.c;h=98c2f7934b4fdf3f57a19d9e275e9c5988fc3f10;hp=dbf2766e690df84cb6ca2339a3efcddb788b7e12;hb=c3be48747941688c62a349f8d2ebc785aff0d879;hpb=fce13930179605497f85686da8d70679d3289c81 diff --git a/src/lib/update/revolt.c b/src/lib/update/revolt.c index dbf2766e6..98c2f7934 100644 --- a/src/lib/update/revolt.c +++ b/src/lib/update/revolt.c @@ -77,7 +77,7 @@ revolt(struct sctstr *sp) che += che_civ; if (che < CHE_MAX) { /* che due to uw unrest */ - n = 10 + roll0(30); + n = 9 + roll(30); che_uw = 5 + (uw * n / 500); if (che_uw > uw) che_uw = uw; @@ -327,9 +327,9 @@ guerrilla(struct sctstr *sp) /* loyalty drops during recruitment efforts */ n = sp->sct_loyal; if (n < 30) - n += roll0(5) + 1; + n += roll(5); else if (n < 70) - n += roll0(10) + 4; + n += roll(10) + 3; if (n > 127) n = 127; sp->sct_loyal = n; @@ -375,7 +375,7 @@ domove: val = roundintby(val, 10); /* inject a modicum of indeterminism; also * avoids che preferring certain directions */ - val += roll0(10) - 5; + val += roll(10) - 6; if (val >= min_mil) continue; nicest_sp = nsp;