def set_current_skill_level(sim_info: SimInfo, skill_id: int, level: float, add: bool = True) -> bool: """ Set the Skill Level of the Skill for the specified Sim. """ return CommonSimStatisticUtils.set_statistic_user_value(sim_info, skill_id, level, add=add)
def set_current_skill_level(sim_info: SimInfo, skill_id: int, level: float, add: bool=True) -> bool: """set_current_skill_level(sim_info, skill_id, level, add=True) Set the Skill Level of the Skill for the specified Sim. :param sim_info: The Sim to modify. :type sim_info: SimInfo :param skill_id: The identifier of the Skill to set. :type skill_id: int :param level: The level to set the skill to. :type level: int :param add: If True, the skill will be added to the Sim before it is modified. :type add: bool, optional :return: True, if successful. False, if not. :rtype: bool """ return CommonSimStatisticUtils.set_statistic_user_value(sim_info, skill_id, level, add=add)