Permalink
Browse files

Reimplement Bane of Doom, Mortal Coil and Slam using Dead()

  • Loading branch information...
jleclanche committed Jul 13, 2015
1 parent 4240d4d commit 7feff7b535c06a380e3254da13a081d62b7e2dc9
Showing with 3 additions and 12 deletions.
  1. +2 −8 fireplace/cards/classic/warlock.py
  2. +1 −4 fireplace/cards/classic/warrior.py
@@ -111,10 +111,7 @@ class CS2_057:
# Mortal Coil
class EX1_302:
def action(self, target):
yield Hit(TARGET, 1)
if target.dead:
yield Draw(CONTROLLER)
action = [Hit(TARGET, 1), Dead(TARGET) & Draw(CONTROLLER)]
# Shadowflame
@@ -161,10 +158,7 @@ def action(self):
# Bane of Doom
class EX1_320:
def action(self, target):
yield Hit(TARGET, 2)
if target.dead:
yield Summon(CONTROLLER, RandomMinion(race=Race.DEMON))
action = [Hit(TARGET, 2), Dead(TARGET) & Summon(CONTROLLER, RandomMinion(race=Race.DEMON))]
# Demonfire
@@ -65,10 +65,7 @@ class CS2_114:
# Slam
class EX1_391:
def action(self, target):
yield Hit(TARGET, 2)
if not target.dead:
yield Draw(CONTROLLER)
action = [Hit(TARGET, 2), Dead(TARGET) | Draw(CONTROLLER)]
# Battle Rage

0 comments on commit 7feff7b

Please sign in to comment.