afdfdsa
This commit is contained in:
@@ -62,8 +62,8 @@ class PlayerState:
|
|||||||
self.enableAdvanceTimeRight()
|
self.enableAdvanceTimeRight()
|
||||||
|
|
||||||
def timeAdvanceLeft(self):
|
def timeAdvanceLeft(self):
|
||||||
choiceList = [True] * config.BONUS_TIME_ACTIVATION_PROBABILITY * 100 \
|
choiceList = [True] * int(config.BONUS_TIME_ACTIVATION_PROBABILITY * 100) \
|
||||||
+ [False] * (1 - config.BONUS_TIME_ACTIVATION_PROBABILITY) * 100
|
+ [False] * int((1 - config.BONUS_TIME_ACTIVATION_PROBABILITY) * 100)
|
||||||
|
|
||||||
if random.choice(choiceList):
|
if random.choice(choiceList):
|
||||||
self.enableAdvanceTimeLeft()
|
self.enableAdvanceTimeLeft()
|
||||||
|
|||||||
Reference in New Issue
Block a user