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

/openbsd-current/games/hack/
H A Dhack.unix.c131 int epact, diy, golden; local
135 epact = (11 * golden + 18) % 30;
136 if ((epact == 25 && golden > 11) || epact == 24)
137 epact++;
139 return( (((((diy + epact) * 6) + 11) % 177) / 22) & 7 );

Completed in 111 milliseconds