import hsgame.targeting
from hsgame.constants import CHARACTER_CLASS, CARD_RARITY, MINION_TYPE
from hsgame.game_objects import MinionCard, Minion, Card
#from hsgame.cards.battlecries import 

__author__ = 'randomflyingtaco'
#let the train wreck begin


import hsgame.targeting
from hsgame.constants import CHARACTER_CLASS, CARD_RARITY, MINION_TYPE
from hsgame.game_objects import MinionCard, Minion, Card
from hsgame.cards.battlecries import deal_three_damage, deal_five_damage, deal_one_damage_all_characters, destroy_own_crystal

__author__ = 'randomflyingtaco'
#let the train wreck begin

class FlameImp(MinionCard):
    def __init__(self):
        super().__init__("Flame Imp", 1, CHARACTER_CLASS.WARLOCK, CARD_RARITY.COMMON, hsgame.targeting.find_friendly_hero_battlecry_target)

    def create_minion(self, player):
        return Minion(3, 2, MINION_TYPE.DEMON, battlecry=deal_three_damage)

class PitLord(MinionCard):
    def __init__(self):
        super().__init__("Pit Lord", 4, CHARACTER_CLASS.WARLOCK, CARD_RARITY.EPIC, hsgame.targeting.find_friendly_hero_battlecry_target)

    def create_minion(self, player):
        return Minion(5, 6, MINION_TYPE.DEMON, battlecry=deal_five_damage)

class VoidWalker(MinionCard):
    def __init__(self):
        super().__init__("Void Walker", 1, CHARACTER_CLASS.WARLOCK, CARD_RARITY.FREE)

    def create_minion(self, player):
        minion = Minion(1, 3, MINION_TYPE.DEMON)
        minion.taunt = True
        return minion
        
class DreadInfernal(MinionCard):
    def __init__(self):
        super().__init__("Dread Infernal", 6, CHARACTER_CLASS.WARLOCK, CARD_RARITY.FREE)

    def create_minion(self, player):
        return Minion(6, 6, MINION_TYPE.DEMON, battlecry=deal_one_damage_all_characters)

class Felguard(MinionCard):
    def __init__(self):
        super().__init__("Felguard", 3, CHARACTER_CLASS.WARLOCK, CARD_RARITY.RARE)

    def create_minion(self, player):
        minion = Minion(3, 5, MINION_TYPE.DEMON, battlecry=destroy_own_crystal)
        minion.taunt = True
        return minion

Update warlock.py