Ver código fonte

Careers logic

master
Noëlle 4 anos atrás
pai
commit
1a54378cb6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      koboldgen.py

+ 1
- 1
koboldgen.py Ver arquivo

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

Carregando…
Cancelar
Salvar