def determine_ability(roll_for):  # pylint: disable=R1710
    """ determine which ability is being used for the roll """
    ability_tbl = {'str': ['str', 'ath'],
                   'dex': ['dex', 'acr', 'soh', 'ste'],
                   'con': ['con'],
                   'int': ['int', 'arc', 'inv', 'nat', 'rel'],
                   'wis': ['wis', 'anh', 'ins', 'med', 'perc', 'sur'],
                   'cha': ['cha', 'dec', 'intim', 'perf', 'pers']}

    for k, _ in ability_tbl.items():
        if roll_for in ability_tbl[k]:  # pylint: disable=R1733
            return ability_tbl[k][0]