def initAllSkillGroup(self): """初始化所有的技能组""" skills = dbSkill.getSkillByProfession(self._owner.profession.getProfession()) self._allSkillGroup = self.skillFilter(skills)
def getProfessionAllSkills(self): """获取所有职业技能""" skills = dbSkill.getSkillByProfession(self._owner.profession.getProfession()) return list(skills)