fs
This commit is contained in:
parent
a552455ea1
commit
7375548c62
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ def check_for_treasure(in_text, from_comment):
|
||||||
elif is_standard:
|
elif is_standard:
|
||||||
amount = random.randint(standard_min, standard_max)
|
amount = random.randint(standard_min, standard_max)
|
||||||
if random.randint(1, 100) > 90:
|
if random.randint(1, 100) > 90:
|
||||||
|
user = from_comment.author
|
||||||
if amount > user.coins: amount = user.coins
|
if amount > user.coins: amount = user.coins
|
||||||
amount = -amount
|
amount = -amount
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue