epact 194 lib/pengine/rules.c uint32_t epact, diy, goldn; epact 200 lib/pengine/rules.c epact = (11 * goldn + 18) % 30; epact 201 lib/pengine/rules.c if ((epact == 25 && goldn > 11) || epact == 24) epact 202 lib/pengine/rules.c epact++; epact 204 lib/pengine/rules.c return ((((((diy + epact) * 6) + 11) % 177) / 22) & 7);