mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 01:51:15 +00:00
More sensible max number of skills
This commit is contained in:
1 parent
35b91d6907
commit
f49509a9f1
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user