I thought I fixed this bug a while ago, but I seem to have found it again... runtime error log is below.
Traceback (most recent call last):
File "main.py", line 62, in <module>
startGame(game)
File "main.py", line 15, in startGame
game.reactCurrentArea()
File "E:\Google Drive\CodeNameEmpty-NightlyDev\CodeNameEmpty\src\gameClass.py", line 303, in reactCurrentArea
self.fightEnemies()
File "E:\Google Drive\CodeNameEmpty-NightlyDev\CodeNameEmpty\src\gameClass.py", line 418, in fightEnemies
if random.randint(0, self.player.getArmorDefence() + areaEnemy.getWeaponDamage()) < areaEnemy.getArmorDefence():
File "C:\Program Files\Python38\lib\random.py", line 248, in randint
return self.randrange(a, b+1)
File "C:\Program Files\Python38\lib\random.py", line 226, in randrange
raise ValueError("empty range for randrange() (%d, %d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (0, 0, 0)
I thought I fixed this bug a while ago, but I seem to have found it again... runtime error log is below.