From: Simon Cross Date: Sat, 17 May 2014 22:24:19 +0000 (+0200) Subject: PEP8. X-Git-Tag: 0.1~10^2~18 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=9f380d76b4ed0c8aaef84fc783e91003ad485c93;p=naja.git PEP8. --- diff --git a/naja/actions.py b/naja/actions.py index 4d4a0f0..0baba3a 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -255,14 +255,16 @@ class AcquireWinToken(LocationAction): 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) + super(AcquireWinTokenAndLoseHealth, self).perform_action( + board, location) + class GainHealth(LocationAction): TEXT = "Gain {HEALTH}."