mirror of https://gitlab.com/bashrc2/epicyon
More sensible max number of skills
parent
35b91d6907
commit
f49509a9f1
|
@ -96,7 +96,7 @@ def setActorSkillLevel(actorJson: {},
|
|||
ocSkillsList = getOccupationSkills(actorJson)
|
||||
skillsDict = getSkillsFromList(ocSkillsList)
|
||||
if not skillsDict.get(skill):
|
||||
if len(skillsDict.items()) >= 100:
|
||||
if len(skillsDict.items()) >= 32:
|
||||
print('WARN: Maximum number of skills reached for ' +
|
||||
actorJson['id'])
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue