forked from MarseyWorld/MarseyWorld
fds
parent
51a45b5a42
commit
e7e63bd1d1
|
@ -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…
Reference in New Issue