From 74d4017fa5fab71e17062e79399a38d039630a97 Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Thu, 15 May 2014 09:30:04 +0200 Subject: [PATCH] No more need for the MSB in the win action. --- naja/actions.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/naja/actions.py b/naja/actions.py index 7d5be63..343aeb2 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -80,15 +80,13 @@ class LoseHealthOrMSBAndSetBits(LocationAction): class AcquireWinToken(LocationAction): - TEXT = "Acquire a win token, then clear all high bits." - USES_MSB = True + TEXT = "Acquire a win token, then clear all key bits." def perform_action(self, board, location): - if self.check_and_clear_MSB(board.player): - board.acquire_win_token() - board.player.bits.clear_bits(set([ - BITS.CYAN, BITS.MAGENTA, BITS.YELLOW, - ])) + board.acquire_win_token() + board.player.bits.clear_bits(set([ + BITS.CYAN, BITS.MAGENTA, BITS.YELLOW, + ])) class GainHealthAndClearBitsOrMSB(LocationAction): -- 2.34.1