old_contents: from ..utils import *
  
  
  ##
  # Minions
  
  # Shieldmaiden
  class GVG_053:
  	play = GainArmor(FRIENDLY_HERO, 5)
  
  
  # Screwjank Clunker
  class GVG_055:
  	play = Buff(TARGET, "GVG_055e")
  
  
  # Iron Juggernaut
  class GVG_056:
  	play = Shuffle(OPPONENT, "GVG_056t")
  
  # Burrowing Mine
  class GVG_056t:
  	play = Hit(FRIENDLY_HERO, 10), Draw(CONTROLLER)
  
  
  ##
  # Spells
  
  # Bouncing Blade
  class GVG_050:
  	def play(self):
  		while True:
  			targets = self.game.board.filter(dead=False)
  			targets = [t for t in targets if t.health > t.min_health]
  			if not targets:
  				break
  			yield Hit(random.choice(targets), 1)
  
  
  # Crush
  class GVG_052:
  	play = Destroy(TARGET)
  
  	def cost(self, value):
  		for minion in self.controller.field:
  			if minion.damaged:
  				return value - 4
  		return value
  
new_contents: from ..utils import *
  
  
  ##
  # Minions
  
  # Shieldmaiden
  class GVG_053:
  	play = GainArmor(FRIENDLY_HERO, 5)
  
  
  # Screwjank Clunker
  class GVG_055:
  	play = Buff(TARGET, "GVG_055e")
  
  
  # Iron Juggernaut
  class GVG_056:
  	play = Shuffle(OPPONENT, "GVG_056t")
  
  # Burrowing Mine
  class GVG_056t:
  	events = Draw(CONTROLLER, SELF).on(Hit(FRIENDLY_HERO, 10), Draw(CONTROLLER))
  
  
  ##
  # Spells
  
  # Bouncing Blade
  class GVG_050:
  	def play(self):
  		while True:
  			targets = self.game.board.filter(dead=False)
  			targets = [t for t in targets if t.health > t.min_health]
  			if not targets:
  				break
  			yield Hit(random.choice(targets), 1)
  
  
  # Crush
  class GVG_052:
  	play = Destroy(TARGET)
  
  	def cost(self, value):
  		for minion in self.controller.field:
  			if minion.damaged:
  				return value - 4
  		return value
  
subject: Fix Burrowing Mine trigger