epact 163 lib/pengine/rules.c uint32_t epact, diy, goldn; epact 169 lib/pengine/rules.c epact = (11 * goldn + 18) % 30; epact 170 lib/pengine/rules.c if ((epact == 25 && goldn > 11) || epact == 24) epact 171 lib/pengine/rules.c epact++; epact 173 lib/pengine/rules.c return ((((((diy + epact) * 6) + 11) % 177) / 22) & 7);