Created
April 19, 2016 13:49
-
-
Save zombie/b35e727675d173c53bce18489bf58397 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MORTALLY_WOUNDED = CURRENT_HEALTH <= 0 | |
RANDOM_ENEMY_CHARACTER = RANDOM(ENEMY_CHARACTERS - MORTALLY_WOUNDED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_arcane_missiles(): | |
game = prepare_game() | |
wisp = game.player2.summon(WISP) | |
missiles = game.player1.give("EX1_277") | |
missiles.play() | |
if wisp.dead: | |
assert game.player2.hero.health == 28 | |
else: | |
assert game.player2.hero.health == 27 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment