Dylan commited on
Commit
f67e05d
·
1 Parent(s): 3629f64

fix oracle result

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def get_oracle_result(likelihood_of_favorable_outcome: str) -> str:
40
  roll = str(random.randint(1, 6))
41
  elif likelihood_of_favorable_outcome == "medium":
42
  # roll 2d6
43
- rolls = [str(random.randint(1, 6), random.randint(1, 6))]
44
  roll = max(rolls)
45
  if rolls == [6, 6]:
46
  is_critical = True
 
40
  roll = str(random.randint(1, 6))
41
  elif likelihood_of_favorable_outcome == "medium":
42
  # roll 2d6
43
+ rolls = [random.randint(1, 6), random.randint(1, 6)]
44
  roll = max(rolls)
45
  if rolls == [6, 6]:
46
  is_critical = True