STABLE MODS ONLY
Converts each mod to their enum value and adds them together
const mods: ModLegacy[] = ['EZ', 'HD', 'DT']; toInt(mods); // => 74 Copy
const mods: ModLegacy[] = ['EZ', 'HD', 'DT']; toInt(mods); // => 74
STABLE MODS ONLY
Converts each mod to their enum value and adds them together
Example