mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-26 04:51:09 -05:00
Jeopardy: round points to multiple of 10
This commit is contained in:
parent
abfbb3937f
commit
4f4f3caf03
@ -458,7 +458,7 @@ class Jeopardy(callbacks.Plugin):
|
|||||||
break
|
break
|
||||||
self.currentHint = ''.join(self.show[self.id])
|
self.currentHint = ''.join(self.show[self.id])
|
||||||
if self.hints > 0:
|
if self.hints > 0:
|
||||||
self.p -= int(self.p * self.reduction)
|
self.p -= int(round(self.p * self.reduction, -1))
|
||||||
if self.points > self.p:
|
if self.points > self.p:
|
||||||
points = self.p
|
points = self.p
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user