epact 158 lib/pengine/rules.c uint32_t epact, diy, goldn; epact 164 lib/pengine/rules.c epact = (11 * goldn + 18) % 30; epact 165 lib/pengine/rules.c if ((epact == 25 && goldn > 11) || epact == 24) epact 166 lib/pengine/rules.c epact++; epact 168 lib/pengine/rules.c return ((((((diy + epact) * 6) + 11) % 177) / 22) & 7);