reset top bank on hit

This commit is contained in:
Jonas Zeunert
2022-06-07 00:46:26 +02:00
parent d75474a3b2
commit f3ed0db12a
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,6 @@ RED_SPECIAL_TIMES = 1
ORANGE_SPECIAL = SpecialEvent.points ORANGE_SPECIAL = SpecialEvent.points
ORANGE_SPECIAL_BANK = ORANGE_SPECIAL_BANK_OPTIONS["BOTH"] ORANGE_SPECIAL_BANK = ORANGE_SPECIAL_BANK_OPTIONS["BOTH"]
## Tech config ## Tech config
WAIT_TIME_TO_RESET_SECONDS = 0.2 WAIT_TIME_TO_RESET_SECONDS = 0.15
MAX_NETWORK_RETRIES = 10 MAX_NETWORK_RETRIES = 10
NETWORK_SLEEP_TIME_SECONDS = 0.1 NETWORK_SLEEP_TIME_SECONDS = 0.1

View File

@@ -8,6 +8,7 @@ class TopCentralBankEvent(BankEvent):
def trigger(self, target): def trigger(self, target):
super().trigger(target)
self.gameState.currentPlayer.advanceRedSpecial() self.gameState.currentPlayer.advanceRedSpecial()