Optional
score: number = nullThe score to find the modifier for.
Optional
options: { 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); // => 2
pf1.utils.getAbilityModifier(6, { damage: 1 }); // => -2
Generated using TypeDoc
Determines what ability modifier is appropriate for a given score.