Very much done
This commit is contained in:
@@ -3,6 +3,12 @@ from solenoids.BottomRightBankSolenoid import BottomRightBankSolenoid
|
||||
|
||||
|
||||
class BottomRightBankEvent(BankEvent):
|
||||
def __init__(self):
|
||||
super().__init__(BottomRightBankSolenoid(), "Bottom Right Bank Event")
|
||||
def __init__(self, playerState):
|
||||
super().__init__(BottomRightBankSolenoid(), "Bottom Right Bank Event", playerState)
|
||||
|
||||
def trigger(self, target):
|
||||
super().trigger(target)
|
||||
playerState = self.playerState()
|
||||
playerState.advanceRightOrangeSpecial()
|
||||
if playerState.upperPlayfieldTime < 30:
|
||||
playerState.addUpperPlayfieldTime(5)
|
||||
|
||||
Reference in New Issue
Block a user