Searched refs:apport (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/games/hack/
H A Ddef.edog.h71 unsigned apport; /* amount of training */ member in struct:edog
H A Dhack.dog.c102 EDOG(mtmp)->apport = 10;
238 /* Note: if apport == 1 then our behaviour is independent of udist */
240 if (!rn2(udist) || !rn2((int) edog->apport))
241 if ((unsigned) rn2(10) < edog->apport) {
243 if (edog->apport > 1)
244 edog->apport--;
257 if ((unsigned) rn2(20) < edog->apport + 3)
258 if (rn2(udist) || !rn2((int) edog->apport)) {
293 !mtmp->minvent && edog->apport > (unsigned)rn2(8)) {
331 (mtmp->minvent && rn2((int) edog->apport)))
[all...]

Completed in 48 milliseconds