浏览代码

Add career range

master
Noëlle 4 年前
父节点
当前提交
280a003627
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      koboldgen.py

+ 1
- 1
koboldgen.py 查看文件

@@ -138,7 +138,7 @@ class Character:
self.career = ""
elif isinstance(career, str):
self.career = career
elif isinstance(career, int) and (career in range(13) or career in range(123,128)):
elif isinstance(career, int) and (career in range(13) or career in range(119,128)):
self.career = [x for x in Character.CAREERS if x["id"] == career][0]
else:
self.career = ""

正在加载...
取消
保存