This commit is contained in:
Aevann1 2022-02-04 17:50:36 +02:00
parent da638dd001
commit e6f967c937

View file

@ -12,8 +12,8 @@ class Treasure:
def check_for_treasure(self, in_text, from_comment): def check_for_treasure(self, in_text, from_comment):
if '!slots' not in in_text and '!blackjack' not in in_text: if '!slots' not in in_text and '!blackjack' not in in_text:
seed = random.randint(1, 1000) seed = random.randint(1, 1000)
is_special = seed == 1000 # 0.1% chance is_special = seed == 1000
is_standard = seed >= 990 # 1.0% chance is_standard = seed >= 990
amount = 0 amount = 0
if is_special: if is_special: