Optional
score: numberThe score to find the modifier for.
Optional
options: { damage?: number; penalty?: number } = {}Options for this function.
Optional
damage?: numberAbility score damage to take into account.
Optional
penalty?: numberA penalty value to take into account.
The modifier for the given score.
Determines what ability modifier is appropriate for a given score.