Ability score modifier refactoring.