Ver código fonte

Update reference

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

+ 1
- 1
koboldgen.py Ver arquivo

self.locIndex = int(locIndex) if locIndex != None else r.randint(0, len(Plot.loc2)-1) self.locIndex = int(locIndex) if locIndex != None else r.randint(0, len(Plot.loc2)-1)
self.battlefield = int(battlefield) if battlefield != None else 0 self.battlefield = int(battlefield) if battlefield != None else 0
self.location = location if location != None else Plot.loc2[self.locIndex] self.location = location if location != None else Plot.loc2[self.locIndex]
if locIndex == None and loc2[self.locIndex] == "battlefield":
if locIndex == None and Plot.loc2[self.locIndex] == "battlefield":
self.battlefield = 1 self.battlefield = 1
self.locIndex = r.randint(0, len(Plot.loc2)-2) self.locIndex = r.randint(0, len(Plot.loc2)-2)
elif locIndex == None and self.locIndex != len(Plot.loc2) - 1: elif locIndex == None and self.locIndex != len(Plot.loc2) - 1:

Carregando…
Cancelar
Salvar