def __adjust(value, average_level, base) -> float:
    """
    Helper function to adjust the wtr.
    :param value: the wtr value.
    :param average_level: the average level of the player.
    :param base: the base wtr.
    :return: the adjusted wtr value.
    """
    neutral_level = 7.5
    per_level_bonus = 0.1
    adjusted_base = min(value, base)
    for_adjusting = max(0, value - base)
    coef = 1 + (average_level - neutral_level) * per_level_bonus
    return adjusted_base + for_adjusting * coef