mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-26 04:51:09 -05:00
Jeopardy: tweak defaultPointValue
This commit is contained in:
parent
0dfba817d6
commit
dfe78730be
@ -176,7 +176,7 @@ class Jeopardy(callbacks.Plugin):
|
||||
category = string.capwords(item['category']['title'])
|
||||
invalid = item['invalid_count']
|
||||
points = self.points
|
||||
if item['value']:
|
||||
if int(item['value']) >= 100:
|
||||
points = int(item['value'])
|
||||
else:
|
||||
points = self.points
|
||||
@ -238,7 +238,7 @@ class Jeopardy(callbacks.Plugin):
|
||||
category = string.capwords(item['category']['title'])
|
||||
invalid = item['invalid_count']
|
||||
points = self.points
|
||||
if item['value']:
|
||||
if int(item['value']) >= 100:
|
||||
points = int(item['value'])
|
||||
else:
|
||||
points = self.points
|
||||
|
Loading…
x
Reference in New Issue
Block a user