Lines Matching refs:factor
838 val += m->factor; in apprentice_magic_strength()
841 val -= m->factor; in apprentice_magic_strength()
844 val *= m->factor; in apprentice_magic_strength()
847 val /= m->factor; in apprentice_magic_strength()
2086 unsigned long factor; in parse_strength() local
2092 m->factor_op, m->factor); in parse_strength()
2114 factor = strtoul(l, &el, 0); in parse_strength()
2115 if (factor > 255) { in parse_strength()
2116 file_magwarn(ms, "Too large factor `%lu'", factor); in parse_strength()
2123 m->factor = (uint8_t)factor; in parse_strength()
2124 if (m->factor == 0 && m->factor_op == FILE_FACTOR_OP_DIV) { in parse_strength()
2126 m->factor_op, m->factor); in parse_strength()
2132 m->factor = 0; in parse_strength()