+ TEXT = "Acquire a win token, then clear all key bits."
+
+ def perform_action(self, board, location):
+ board.acquire_win_token()
+ board.player.bits.clear_bits(set([
+ BITS.CYAN, BITS.MAGENTA, BITS.YELLOW,
+ ]))
+
+
+class GainHealthAndClearBitsOrMSB(LocationAction):
+ TEXT = "Gain health, then clear bits specified by this location or MSB."