Permalink
Browse files

Implement Animated Armor, with tests

  • Loading branch information...
jleclanche committed Jan 31, 2016
1 parent ff07947 commit 79f28dcc4f6eaf4fa919d9cc870aae0b539e06ff
Showing with 15 additions and 0 deletions.
  1. +5 −0 fireplace/cards/league/collectible.py
  2. +10 −0 tests/test_league.py
@@ -215,6 +215,11 @@ class LOE_116:
LOE_009e = buff(+4, +4)
# Animated Armor
class LOE_119:
update = Refresh(FRIENDLY_HERO, {GameTag.HEAVILY_ARMORED: True})
##
# Spells
View
@@ -16,6 +16,16 @@ def test_ancient_shade():
assert game.player1.hero.health == 30 - 7
def test_animated_armor():
game = prepare_game()
armor = game.player1.give("LOE_119")
armor.play()
game.player1.give(MOONFIRE).play(target=game.player1.hero)
assert game.player1.hero.damage == 1
game.player1.give(DAMAGE_5).play(target=game.player1.hero)
assert game.player1.hero.damage == 1 + 1
def test_anubisath_sentinel():
game = prepare_game()
wisp = game.player2.summon(WISP)

0 comments on commit 79f28dc

Please sign in to comment.