Browse Source

oops

master
Noëlle 3 years ago
parent
commit
65b7a2a4f3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      koboldgen.py

+ 1
- 1
koboldgen.py View File

@@ -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…
Cancel
Save