'die_sides' 'die_count' -> 'sides_n' 'count_n'
This commit is contained in:
parent
0f8a3231c6
commit
d130b0e59b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
count_n = min(5, int(count))
|
count_n = min(5, int(count))
|
||||||
sides_n = min(20, int(sides))
|
sides_n = min(20, int(sides))
|
||||||
|
|
||||||
reults = random.choices(range(1, die_sides), k=die_count)
|
reults = random.choices(range(1, sides_n), k=count_n)
|
||||||
|
|
||||||
total_n = sum(results)
|
total_n = sum(results)
|
||||||
total = ""
|
total = ""
|
||||||
|
|
Loading…
Reference in a new issue