# Three-colour actions.
- &ACQUIRE-WIN-TOKEN-AND-LOSE-HEALTH
- action_class: 'AcquireWinTokenAndLoseHeath'
+ action_class: 'AcquireWinTokenAndLoseHealth'
required_bits: [RED, GREEN, BLUE]
# This field is ignored, but it's a useful place to put some card definitions
BITS.RED, BITS.GREEN, BITS.BLUE,
]))
+class AcquireWinTokenAndLoseHealth(AcquireWinToken):
+ TEXT = "Gain {WINTOKEN}, lose {HEALTH}, then clear {RED,GREEN,BLUE}."
+ GLYPHS = (ACTION_GLYPHS.WINTOKEN, ACTION_GLYPHS.DAMAGE)
+
+ def perform_action(self, board, location):
+ self.take_damage(board)
+ super(AcquireWinTokenAndLoseHealth, self).perform_action(board,
+ location)
class GainHealth(LocationAction):
TEXT = "Gain {HEALTH}."