fds
This commit is contained in:
parent
da638dd001
commit
e6f967c937
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue