Determines what ability modifier is appropriate for a given score.
Optional
The score to find the modifier for.
Options for this function.
Ability score damage to take into account.
A penalty value to take into account.
The modifier for the given score.
pf1.utils.getAbilityModifier(15); // => 2pf1.utils.getAbilityModifier(6, { damage: 1 }); // => -2 Copy
pf1.utils.getAbilityModifier(15); // => 2pf1.utils.getAbilityModifier(6, { damage: 1 }); // => -2
Determines what ability modifier is appropriate for a given score.