I'm very new to Java and have been self-teaching myself. I'm creating an RPG game where skills reflect a "modifier", you gain or lose modifiers based on your overall skill in that field.
For example, if your "strength" skill is at 10, you gain a +0 modifier towards anything that requires strength. If it's 12, you gain a +1 modifier, 14 is +2 and so forth.
Is there some way I can do without having to create a huge table listing all the increments as if
statements?