forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-04-03 22:17:55 +02:00
parent 7a8108e106
commit da5ea2b3a2
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ def check_for_treasure(in_text, from_comment):
elif is_standard:
amount = random.randint(standard_min, standard_max)
if random.randint(1, 100) > 90:
user = from_comment.author
if amount > user.coins: amount = user.coins
amount = -amount