This commit is contained in:
Jonas Zeunert
2022-09-03 14:57:07 +02:00
parent db8075016c
commit 7c0937d329
3 changed files with 32 additions and 3 deletions

View File

@@ -6,11 +6,20 @@ import config
class OrangeSpecialEvent(SpecialEvent):
def __init__(self, gameState):
super().__init__("Orange Special Event", gameState)
self.points = 200000
self.points = 100000
def trigger(self, target):
if self.gameState.currentPlayer.orangeSpecial == 0:
self.points = 100000
elif self.gameState.currentPlayer.orangeSpecial == 1:
self.points = 200000
elif self.gameState.currentPlayer.orangeSpecial == 2:
self.points = 300000
super().trigger(target)
if self.gameState.currentPlayer.orangeSpecialLit:
config.ORANGE_SPECIAL(self)
#config.ORANGE_SPECIAL(self)
self.bonus_time()
self.gameState.currentPlayer.resetOrangeSpecial()