Home | History | Annotate | Download | only in larn

Lines Matching refs:rnd

36 	k = rnd(101);
38 for (i = 0; i < rnd(4); i++)
65 k = rnd(101);
88 if (rnd(1501) < 2) {
96 x = rnd(100);
98 c[HALFDAM] += 200 + rnd(200);
104 else if (rnd(3) != 2)
109 if (rnd(12) < 3) {
126 if (rnd(100) < 11) {
127 x = rnd((level << 2) + 2);
133 } else if (rnd(100) < 29)
135 else if (rnd(100) < 31)
137 else if (rnd(100) < 34)
149 if (rnd(100) < 60) {
152 } else if (rnd(101) < 30) {
181 if (amt < c[GOLD] / 10 || amt < rnd(50)) {
184 } else if (rnd(101) > 50) {
187 } else if (rnd(43) == 5) {
192 } else if (rnd(43) == 8) {
212 if (rnd(100) < 75)
214 else if (rnd(13) < 4)
216 else if (rnd(43) == 10) {
221 } else if (rnd(43) == 10) {
251 if (rnd(100) < 30) {
253 c[AGGRAVATE] += rnd(450);
269 k = rnd(101);
273 i = rnd(10);
277 switch (rnd(10)) { /* see if he gets a
280 c[ITCHING] += rnd(1000) + 100;
286 c[CLUMSINESS] += rnd(1600) + 200;
292 c[HALFDAM] += rnd(1600) + 200;
298 if (rnd(100) < 69)
300 dropgold(rnd(110 * iarg[x][y] + 200));
301 for (i = 0; i < rnd(4); i++)