def update(self, add_exp): self.level, self.exp = level_up(self.level, self.exp, add_exp, HeroWuXing.update_need_exp)
def char_level_up(current_level, current_exp, add_exp): return level_up(current_level, current_exp, add_exp, level_update_exp)