瀏覽代碼

oops

master
Noëlle 4 年之前
父節點
當前提交
65b7a2a4f3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      koboldgen.py

+ 1
- 1
koboldgen.py 查看文件

@@ -196,7 +196,7 @@ class Character:
self.career = next((x for x in Character.CAREERS if x["id"] == cid), "")

def gen_gadget(self):
gid = r.randint(0,(len(gear.gadgets) - 5))
gid = r.randint(0,36)
self.gadget = [x for x in Character.GADGETS if x["id"] == gid][0]
if type(self.gadget["description"]) != str:
self.gadget["description"] = self.gadget["description"]()

Loading…
取消
儲存