mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 18:05:22 +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)
|
ocSkillsList = getOccupationSkills(actorJson)
|
||||||
skillsDict = getSkillsFromList(ocSkillsList)
|
skillsDict = getSkillsFromList(ocSkillsList)
|
||||||
if not skillsDict.get(skill):
|
if not skillsDict.get(skill):
|
||||||
if len(skillsDict.items()) >= 100:
|
if len(skillsDict.items()) >= 32:
|
||||||
print('WARN: Maximum number of skills reached for ' +
|
print('WARN: Maximum number of skills reached for ' +
|
||||||
actorJson['id'])
|
actorJson['id'])
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in new issue
Block a user