fixed getAbilityMod

not so hacky anymore, but only works for standard 6 attributes