import { getFactorPossibilityModifier } from ".";
Returns a function that generates a ProbabilityModifier based on a boolean evaluation of a specific factor. The type of factors that can be evaluated is constrained by the _stats parameter to ensure only valid stats are considered.
Parameters
_stats: E
An enum-like structure that defines allowable stats to be used, ensuring arguments passed are restricted to the defined stats for type safety and validity.