Difficulity.py
def should_damage_enterprise(game, item):
        '''
        Should we damage?
        Lowest level (above) eliminates damage to ITEM
        '''
        if game.is_testing:
            return False
        if item == Probabilities.SHIELDS:
            return False
        if random.randint(0, 6) < Probabilities._LEVEL:
            return True
        return False

        Should we damage?
        Lowest level (above) eliminates damage to ITEM
        
Should we damage.
Lowest level (above) eliminates damage to ITEM
Should we damage . Lowest level ( above ) eliminates damage to ITEM
def should_damage_enterprise(game, item):
        if game.is_testing:
            return False
        if item == Probabilities.SHIELDS:
            return False
        if random.randint(0, 6) < Probabilities._LEVEL:
            return True
        return False
def should_damage_enterprise ( game , item ) : if game . is_testing : return False if item == Probabilities . SHIELDS : return False if random . randint ( 0 , 6 ) < Probabilities . _LEVEL : return True return False
Should we damage?
Should we damage?
'''
        Should we damage?
        Lowest level (above) eliminates damage to ITEM
        '''
game
item