source
stringlengths 126
257
| target
stringlengths 192
1.89k
|
---|---|
Bestial Wrath NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Hunter PLAYER_CLS_END NIL RACE_END Epic RARITY_END Give a friendly Beast +2 Attack and <b>Immune</b> this turn. | class BestialWrath(SpellCard):§ def __init__(self):§ super().__init__("Bestial Wrath", 1, CHARACTER_CLASS.HUNTER, CARD_RARITY.EPIC, target_func=hearthbreaker.targeting.find_friendly_minion_spell_target, filter_func=lambda minion: minion.card.minion_type is MINION_TYPE.BEAST and minion.spell_targetable())§§ def use(self, player, game):§ super().use(player, game)§ self.target.add_buff(BuffUntil(Immune(), TurnEnded(player=CurrentPlayer())))§ self.target.change_temp_attack(2)§ |
Betrayal NAME_END -1 ATK_END -1 DEF_END 2 COST_END -1 DUR_END Spell TYPE_END Rogue PLAYER_CLS_END NIL RACE_END Common RARITY_END Force an enemy minion to deal its damage to the minions next to it. | class Betrayal(SpellCard):§ def __init__(self):§ super().__init__("Betrayal", 2, CHARACTER_CLASS.ROGUE, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_enemy_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§§ left_minion = None§ right_minion = None§§ index = self.target.index§ if index > 0:§ left_minion = game.other_player.minions[index - 1]§ if index < min(len(game.other_player.minions) - 1, 6):§ right_minion = game.other_player.minions[index + 1]§§ original_immune = self.target.immune§ self.target.immune = True§ if left_minion is not None:§ left_minion.damage(self.target.calculate_attack(), self.target)§ if right_minion is not None:§ right_minion.damage(self.target.calculate_attack(), self.target)§ self.target.immune = original_immune§ |
Big Game Hunter NAME_END 4 ATK_END 2 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Epic RARITY_END <b>Battlecry:</b> Destroy a minion with an Attack of 7 or more. | class BigGameHunter(MinionCard):§ def __init__(self):§ super().__init__("Big Game Hunter", 3, CHARACTER_CLASS.ALL, CARD_RARITY.EPIC, battlecry=Battlecry(Kill(), MinionSelector(AttackGreaterThan(6), BothPlayer())))§§ def create_minion(self, player):§ return Minion(4, 2)§ |
Bite NAME_END -1 ATK_END -1 DEF_END 4 COST_END -1 DUR_END Spell TYPE_END Druid PLAYER_CLS_END NIL RACE_END Rare RARITY_END Give your hero +4 Attack this turn and 4 Armor. | class Bite(SpellCard):§ def __init__(self):§ super().__init__("Bite", 4, CHARACTER_CLASS.DRUID, CARD_RARITY.RARE)§§ def use(self, player, game):§ super().use(player, game)§ player.hero.change_temp_attack(4)§ player.hero.increase_armor(4)§ |
Blessing of Wisdom NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Paladin PLAYER_CLS_END NIL RACE_END Common RARITY_END Choose a minion. Whenever it attacks, draw a card. | class BlessingOfWisdom(SpellCard):§ def __init__(self):§ super().__init__("Blessing of Wisdom", 1, CHARACTER_CLASS.PALADIN, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§ if player is game.players[0]:§ draw_player = PlayerOne()§ else:§ draw_player = PlayerTwo()§ self.target.add_effect(Effect(Attack(), ActionTag(Draw(), PlayerSelector(draw_player))))§ |
Blizzard NAME_END -1 ATK_END -1 DEF_END 6 COST_END -1 DUR_END Spell TYPE_END Mage PLAYER_CLS_END NIL RACE_END Rare RARITY_END Deal $2 damage to all enemy minions and <b>Freeze</b> them. | class Blizzard(SpellCard):§ def __init__(self):§ super().__init__("Blizzard", 6, CHARACTER_CLASS.MAGE, CARD_RARITY.RARE)§§ def use(self, player, game):§ super().use(player, game)§ for minion in copy.copy(game.other_player.minions):§ minion.damage(player.effective_spell_damage(2), self)§ for minion in game.other_player.minions:§ minion.add_buff(Buff(Frozen()))§ |
Blood Fury NAME_END 3 ATK_END -1 DEF_END 3 COST_END 8 DUR_END Weapon TYPE_END Warlock PLAYER_CLS_END NIL RACE_END NIL RARITY_END NIL | class BloodFury(WeaponCard):§ def __init__(self):§ super().__init__("Blood Fury", 3, CHARACTER_CLASS.WARLOCK, CARD_RARITY.RARE, False)§§ def create_weapon(self, player):§ return Weapon(3, 8)§ |
Blood Imp NAME_END 0 ATK_END 1 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Warlock PLAYER_CLS_END Demon RACE_END Common RARITY_END <b>Stealth</b>. At the end of your turn, give another random friendly minion +1 Health. | class BloodImp(MinionCard):§ def __init__(self):§ super().__init__("Blood Imp", 1, CHARACTER_CLASS.WARLOCK, CARD_RARITY.COMMON, minion_type=MINION_TYPE.DEMON)§§ def create_minion(self, player):§ return Minion(0, 1, stealth=True, effects=[Effect(TurnEnded(), ActionTag(Give(ChangeHealth(1)), MinionSelector(picker=RandomPicker())))])§ |
Blood Knight NAME_END 3 ATK_END 3 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Epic RARITY_END <b>Battlecry:</b> All minions lose <b>Divine Shield</b>. Gain +3/+3 for each Shield lost. | class BloodKnight(MinionCard):§ def __init__(self):§ super().__init__("Blood Knight", 3, CHARACTER_CLASS.ALL, CARD_RARITY.EPIC, battlecry=(Battlecry([Give([Buff(ChangeAttack(Count(MinionSelector(HasDivineShield(), BothPlayer())), 3)), Buff(ChangeHealth(Count(MinionSelector(HasDivineShield(), BothPlayer())), 3))])], SelfSelector()), Battlecry(RemoveDivineShields(), (MinionSelector(HasDivineShield(), BothPlayer())))))§§ def create_minion(self, player):§ return Minion(3, 3)§ |
Bloodmage Thalnos NAME_END 1 ATK_END 1 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Legendary RARITY_END <b>Spell Damage +1</b>. <b>Deathrattle:</b> Draw a card. | class BloodmageThalnos(MinionCard):§ def __init__(self):§ super().__init__("Bloodmage Thalnos", 2, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY)§§ def create_minion(self, player):§ return Minion(1, 1, spell_damage=1, deathrattle=Deathrattle(Draw(), PlayerSelector()))§ |
Bloodsail Corsair NAME_END 1 ATK_END 2 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Pirate RACE_END Rare RARITY_END <b>Battlecry:</b> Remove 1 Durability from your opponent's weapon. | class BloodsailCorsair(MinionCard):§ def __init__(self):§ super().__init__("Bloodsail Corsair", 1, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, minion_type=MINION_TYPE.PIRATE, battlecry=Battlecry(DecreaseDurability(), WeaponSelector(EnemyPlayer())))§§ def create_minion(self, player):§ return Minion(1, 2)§ |
Bloodsail Raider NAME_END 2 ATK_END 3 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Pirate RACE_END Common RARITY_END <b>Battlecry:</b> Gain Attack equal to the Attack of your weapon. | class BloodsailRaider(MinionCard):§ def __init__(self):§ super().__init__("Bloodsail Raider", 2, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.PIRATE, battlecry=Battlecry(Give(Buff(ChangeAttack(Attribute("base_attack", WeaponSelector())))), SelfSelector()))§§ def create_minion(self, player):§ return Minion(2, 3)§ |
Cairne Bloodhoof NAME_END 4 ATK_END 5 DEF_END 6 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Legendary RARITY_END <b>Deathrattle:</b> Summon a 4/5 Baine Bloodhoof. | class CairneBloodhoof(MinionCard):§ def __init__(self):§ super().__init__("Cairne Bloodhoof", 6, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY)§§ def create_minion(self, player):§ return Minion(4, 5, deathrattle=Deathrattle(Summon(BaineBloodhoof()), PlayerSelector()))§ |
Captain Greenskin NAME_END 5 ATK_END 4 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Pirate RACE_END Legendary RARITY_END <b>Battlecry:</b> Give your weapon +1/+1. | class CaptainGreenskin(MinionCard):§ def __init__(self):§ super().__init__("Captain Greenskin", 5, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY, minion_type=MINION_TYPE.PIRATE, battlecry=Battlecry([IncreaseWeaponAttack(1), IncreaseDurability()], WeaponSelector()))§§ def create_minion(self, player):§ return Minion(5, 4)§ |
Cenarius NAME_END 5 ATK_END 8 DEF_END 9 COST_END -1 DUR_END Minion TYPE_END Druid PLAYER_CLS_END NIL RACE_END Legendary RARITY_END <b>Choose One</b> - Give your other minions +2/+2; or Summon two 2/2 Treants with <b>Taunt</b>. | class Cenarius(MinionCard):§ def __init__(self):§ super().__init__("Cenarius", 9, CHARACTER_CLASS.DRUID, CARD_RARITY.LEGENDARY, choices=[§ Choice(IncreaseStats(), Give([Buff(ChangeAttack(2)), Buff(ChangeHealth(2)), Buff(Taunt())]), MinionSelector()),§ Choice(SummonTreants(), Summon(TauntTreant(), 2), PlayerSelector())§ ])§§ def create_minion(self, player):§ return Minion(5, 8)§ |
Circle of Healing NAME_END -1 ATK_END -1 DEF_END 0 COST_END -1 DUR_END Spell TYPE_END Priest PLAYER_CLS_END NIL RACE_END Common RARITY_END Restore #4 Health to ALL minions. | class CircleOfHealing(SpellCard):§ def __init__(self):§ super().__init__("Circle of Healing", 0, CHARACTER_CLASS.PRIEST, CARD_RARITY.COMMON)§§ def use(self, player, game):§ super().use(player, game)§§ targets = copy.copy(game.other_player.minions)§ targets.extend(player.minions)§§ for minion in targets:§ minion.heal(player.effective_heal_power(4), self)§ |
Cold Blood NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Rogue PLAYER_CLS_END NIL RACE_END Common RARITY_END Give a minion +2 Attack. <b>Combo:</b> +4 Attack instead. | class ColdBlood(SpellCard):§ def __init__(self):§ super().__init__("Cold Blood", 1, CHARACTER_CLASS.ROGUE, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§§ if player.cards_played > 0:§ self.target.change_attack(4)§ else:§ self.target.change_attack(2)§ |
Coldlight Oracle NAME_END 2 ATK_END 2 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Murloc RACE_END Rare RARITY_END <b>Battlecry:</b> Each player draws 2 cards. | class ColdlightOracle(MinionCard):§ def __init__(self):§ super().__init__("Coldlight Oracle", 3, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, minion_type=MINION_TYPE.MURLOC, battlecry=Battlecry(Draw(2), PlayerSelector(players=BothPlayer())))§§ def create_minion(self, player):§ return Minion(2, 2)§ |
Coldlight Seer NAME_END 2 ATK_END 3 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Murloc RACE_END Rare RARITY_END <b>Battlecry:</b> Give ALL other Murlocs +2 Health. | class ColdlightSeer(MinionCard):§ def __init__(self):§ super().__init__("Coldlight Seer", 3, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, minion_type=MINION_TYPE.MURLOC, battlecry=Battlecry(Give(ChangeHealth(2)), MinionSelector(IsType(MINION_TYPE.MURLOC), BothPlayer())))§§ def create_minion(self, player):§ return Minion(2, 3)§ |
Commanding Shout NAME_END -1 ATK_END -1 DEF_END 2 COST_END -1 DUR_END Spell TYPE_END Warrior PLAYER_CLS_END NIL RACE_END Rare RARITY_END Your minions can't be reduced below 1 Health this turn. Draw a card. | class CommandingShout(SpellCard):§ def __init__(self):§ super().__init__("Commanding Shout", 2, CHARACTER_CLASS.WARRIOR, CARD_RARITY.RARE)§§ def use(self, player, game):§ super().use(player, game)§ player.add_aura(AuraUntil(MinimumHealth(1), MinionSelector(), TurnEnded()))§§ player.draw()§ |
Counterspell NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Mage PLAYER_CLS_END NIL RACE_END Rare RARITY_END <b>Secret:</b> When your opponent casts a spell, <b>Counter</b> it. | class Counterspell(SecretCard):§ def __init__(self):§ super().__init__("Counterspell", 3, CHARACTER_CLASS.MAGE, CARD_RARITY.RARE)§§ def use(self, player, game):§ super().use(player, game)§§ def _reveal(self, card, index):§ if card.is_spell():§ card.cancel = True§ super().reveal()§§ def activate(self, player):§ player.game.current_player.bind("card_played", self._reveal)§§ def deactivate(self, player):§ player.game.current_player.unbind("card_played", self._reveal)§ |
Crazed Alchemist NAME_END 2 ATK_END 2 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Rare RARITY_END <b>Battlecry:</b> Swap the Attack and Health of a minion. | class CrazedAlchemist(MinionCard):§ def __init__(self):§ super().__init__("Crazed Alchemist", 2, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, battlecry=Battlecry(SwapStats('health', 'attack', False), MinionSelector(players=BothPlayer(), picker=UserPicker())))§§ def create_minion(self, player):§ return Minion(2, 2)§ |
Cruel Taskmaster NAME_END 2 ATK_END 2 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Warrior PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Battlecry:</b> Deal 1 damage to a minion and give it +2 Attack. | class CruelTaskmaster(MinionCard):§ def __init__(self):§ super().__init__("Cruel Taskmaster", 2, CHARACTER_CLASS.WARRIOR, CARD_RARITY.COMMON, battlecry=Battlecry([Damage(1), Give(ChangeAttack(2))], MinionSelector(players=BothPlayer(), picker=UserPicker())))§§ def create_minion(self, player):§ return Minion(2, 2)§ |
Cult Master NAME_END 4 ATK_END 2 DEF_END 4 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Common RARITY_END Whenever one of your other minions dies, draw a card. | class CultMaster(MinionCard):§ def __init__(self):§ super().__init__("Cult Master", 4, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)§§ def create_minion(self, player):§ return Minion(4, 2, effects=[Effect(MinionDied(), ActionTag(Draw(), PlayerSelector()))])§ |
Damaged Golem NAME_END 2 ATK_END 1 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Mech RACE_END Common RARITY_END NIL | class DamagedGolem(MinionCard):§ def __init__(self):§ super().__init__("Damaged Golem", 1, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, False, minion_type=MINION_TYPE.MECH)§§ def create_minion(self, player):§ return Minion(2, 1)§ |
Dark Iron Dwarf NAME_END 4 ATK_END 4 DEF_END 4 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Battlecry:</b> Give a minion +2 Attack this turn. | class DarkIronDwarf(MinionCard):§ def __init__(self):§ super().__init__("Dark Iron Dwarf", 4, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, battlecry=Battlecry(Give(BuffUntil(ChangeAttack(2), TurnEnded(player=CurrentPlayer()))), MinionSelector(players=BothPlayer(), picker=UserPicker())))§§ def create_minion(self, player):§ return Minion(4, 4)§ |
Deadly Shot NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Hunter PLAYER_CLS_END NIL RACE_END Common RARITY_END Destroy a random enemy minion. | class DeadlyShot(SpellCard):§ def __init__(self):§ super().__init__("Deadly Shot", 3, CHARACTER_CLASS.HUNTER, CARD_RARITY.COMMON)§§ def use(self, player, game):§ super().use(player, game)§ targets = hearthbreaker.targeting.find_enemy_minion_battlecry_target(player.game, lambda x: True)§ target = game.random_choice(targets)§ target.die(None)§ game.check_delayed()§§ def can_use(self, player, game):§ return super().can_use(player, game) and len(game.other_player.minions) >= 1§ |
Deathwing NAME_END 12 ATK_END 12 DEF_END 10 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Dragon RACE_END Legendary RARITY_END <b>Battlecry:</b> Destroy all other minions and discard your hand. | class Deathwing(MinionCard):§ def __init__(self):§ super().__init__("Deathwing", 10, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY, minion_type=MINION_TYPE.DRAGON, battlecry=(Battlecry(Kill(), MinionSelector(players=BothPlayer())), Battlecry(Discard(amount=Count(CardSelector())), PlayerSelector())))§§ def create_minion(self, player):§ return Minion(12, 12)§ |
Defias Bandit NAME_END 2 ATK_END 1 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Rogue PLAYER_CLS_END NIL RACE_END NIL RARITY_END NIL | class DefiasBandit(MinionCard):§ def __init__(self):§ super().__init__("Defias Bandit", 1, CHARACTER_CLASS.ROGUE, CARD_RARITY.COMMON, False)§§ def create_minion(self, player):§ return Minion(2, 1)§ |
Defias Ringleader NAME_END 2 ATK_END 2 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Rogue PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Combo:</b> Summon a 2/1 Defias Bandit. | class DefiasRingleader(MinionCard):§ def __init__(self):§ super().__init__("Defias Ringleader", 2, CHARACTER_CLASS.ROGUE, CARD_RARITY.COMMON, combo=Battlecry(Summon(DefiasBandit()), PlayerSelector()))§§ def create_minion(self, player):§ return Minion(2, 2)§ |
Demolisher NAME_END 1 ATK_END 4 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Mech RACE_END Rare RARITY_END At the start of your turn, deal 2 damage to a random enemy. | class Demolisher(MinionCard):§ def __init__(self):§ super().__init__("Demolisher", 3, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, minion_type=MINION_TYPE.MECH)§§ def create_minion(self, player):§ return Minion(1, 4, effects=[Effect(TurnStarted(), ActionTag(Damage(2), CharacterSelector(players=EnemyPlayer(), picker=RandomPicker())))])§ |
Demonfire NAME_END -1 ATK_END -1 DEF_END 2 COST_END -1 DUR_END Spell TYPE_END Warlock PLAYER_CLS_END NIL RACE_END Common RARITY_END Deal $2 damage to a minion. If it’s a friendly Demon, give it +2/+2 instead. | class Demonfire(SpellCard):§ def __init__(self):§ super().__init__("Demonfire", 2, CHARACTER_CLASS.WARLOCK, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§ targets = copy.copy(player.game.current_player.minions)§ if self.target.card.minion_type is MINION_TYPE.DEMON and self.target in targets:§ self.target.change_attack(2)§ self.target.increase_health(2)§ else:§ self.target.damage(player.effective_spell_damage(2), self)§ |
Demonfire NAME_END -1 ATK_END -1 DEF_END 0 COST_END -1 DUR_END Enchantment TYPE_END Warlock PLAYER_CLS_END NIL RACE_END Common RARITY_END This Demon has +2/+2. | class Demonfire(SpellCard):§ def __init__(self):§ super().__init__("Demonfire", 2, CHARACTER_CLASS.WARLOCK, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§ targets = copy.copy(player.game.current_player.minions)§ if self.target.card.minion_type is MINION_TYPE.DEMON and self.target in targets:§ self.target.change_attack(2)§ self.target.increase_health(2)§ else:§ self.target.damage(player.effective_spell_damage(2), self)§ |
Devilsaur NAME_END 5 ATK_END 5 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Beast RACE_END Common RARITY_END NIL | class Devilsaur(MinionCard):§ def __init__(self):§ super().__init__("Devilsaur", 5, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, False, minion_type=MINION_TYPE.BEAST)§§ def create_minion(self, player):§ return Minion(5, 5)§ |
Dire Wolf Alpha NAME_END 2 ATK_END 2 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Beast RACE_END Common RARITY_END Adjacent minions have +1 Attack. | class DireWolfAlpha(MinionCard):§ def __init__(self):§ super().__init__("Dire Wolf Alpha", 2, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.BEAST)§§ def create_minion(self, player):§ return Minion(2, 2, auras=[Aura(ChangeAttack(1), MinionSelector(Adjacent()))])§ |
Divine Favor NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Paladin PLAYER_CLS_END NIL RACE_END Rare RARITY_END Draw cards until you have as many in hand as your opponent. | class DivineFavor(SpellCard):§ def __init__(self):§ super().__init__("Divine Favor", 3, CHARACTER_CLASS.PALADIN, CARD_RARITY.RARE)§§ def use(self, player, game):§ super().use(player, game)§ difference = len(game.other_player.hand) - len(player.hand)§ for i in range(0, difference):§ player.draw()§ |
Doomsayer NAME_END 0 ATK_END 7 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Epic RARITY_END At the start of your turn, destroy ALL minions. | class Doomsayer(MinionCard):§ def __init__(self):§ super().__init__("Doomsayer", 2, CHARACTER_CLASS.ALL, CARD_RARITY.EPIC)§§ def create_minion(self, player):§ return Minion(0, 7, effects=[Effect(TurnStarted(), ActionTag(Kill(), MinionSelector(condition=None, players=BothPlayer())))])§ |
Dread Corsair NAME_END 3 ATK_END 3 DEF_END 4 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Pirate RACE_END Common RARITY_END <b>Taunt.</b> Costs (1) less per Attack of your weapon. | class DreadCorsair(MinionCard):§ def __init__(self):§ super().__init__("Dread Corsair", 4, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.PIRATE, buffs=[Buff(ManaChange(Attribute("attack", WeaponSelector()), -1))])§§ def create_minion(self, player):§ return Minion(3, 3, taunt=True)§ |
Dream NAME_END -1 ATK_END -1 DEF_END 0 COST_END -1 DUR_END Spell TYPE_END Dream PLAYER_CLS_END NIL RACE_END NIL RARITY_END Return a minion to its owner's hand. | class Dream(SpellCard):§ def __init__(self):§ super().__init__("Dream", 0, CHARACTER_CLASS.DREAM, CARD_RARITY.COMMON, False, hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§ self.target.bounce()§ |
Druid of the Claw NAME_END 4 ATK_END 6 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Druid PLAYER_CLS_END Beast RACE_END Common RARITY_END <b>Taunt</b> | class DruidOfTheClaw(MinionCard):§ def __init__(self):§ super().__init__("Druid of the Claw", 5, CHARACTER_CLASS.DRUID, CARD_RARITY.COMMON, choices=[§ Choice(CatForm(), Transform(CatDruid()), SelfSelector()),§ Choice(BearForm(), Transform(BearDruid()), SelfSelector())§ ])§§ def create_minion(self, player):§ return Minion(4, 4)§ |
Druid of the Claw NAME_END 4 ATK_END 4 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Druid PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Choose One -</b> <b>Charge</b>; or +2 Health and <b>Taunt</b>. | class DruidOfTheClaw(MinionCard):§ def __init__(self):§ super().__init__("Druid of the Claw", 5, CHARACTER_CLASS.DRUID, CARD_RARITY.COMMON, choices=[§ Choice(CatForm(), Transform(CatDruid()), SelfSelector()),§ Choice(BearForm(), Transform(BearDruid()), SelfSelector())§ ])§§ def create_minion(self, player):§ return Minion(4, 4)§ |
Druid of the Claw NAME_END 4 ATK_END 4 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Druid PLAYER_CLS_END Beast RACE_END Common RARITY_END <b>Charge</b> | class DruidOfTheClaw(MinionCard):§ def __init__(self):§ super().__init__("Druid of the Claw", 5, CHARACTER_CLASS.DRUID, CARD_RARITY.COMMON, choices=[§ Choice(CatForm(), Transform(CatDruid()), SelfSelector()),§ Choice(BearForm(), Transform(BearDruid()), SelfSelector())§ ])§§ def create_minion(self, player):§ return Minion(4, 4)§ |
Dust Devil NAME_END 3 ATK_END 1 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Shaman PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Windfury</b>. <b>Overload:</b> (2) | class DustDevil(MinionCard):§ def __init__(self):§ super().__init__("Dust Devil", 1, CHARACTER_CLASS.SHAMAN, CARD_RARITY.COMMON, overload=2)§§ def create_minion(self, player):§ return Minion(3, 1, windfury=True)§ |
Eaglehorn Bow NAME_END 3 ATK_END -1 DEF_END 3 COST_END 2 DUR_END Weapon TYPE_END Hunter PLAYER_CLS_END NIL RACE_END Rare RARITY_END Whenever a friendly <b>Secret</b> is revealed, gain +1 Durability. | class EaglehornBow(WeaponCard):§ def __init__(self):§ super().__init__("Eaglehorn Bow", 3, CHARACTER_CLASS.HUNTER, CARD_RARITY.RARE)§§ def create_weapon(self, player):§ return Weapon(3, 2, effects=[Effect(SecretRevealed(), ActionTag(IncreaseDurability(), WeaponSelector()))])§ |
Earthen Ring Farseer NAME_END 3 ATK_END 3 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Battlecry:</b> Restore 3 Health. | class EarthenRingFarseer(MinionCard):§ def __init__(self):§ super().__init__("Earthen Ring Farseer", 3, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, battlecry=Battlecry(Heal(3), CharacterSelector(players=BothPlayer(), picker=UserPicker())))§§ def create_minion(self, player):§ return Minion(3, 3)§ |
Edwin VanCleef NAME_END 2 ATK_END 2 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Rogue PLAYER_CLS_END NIL RACE_END Legendary RARITY_END <b>Combo:</b> Gain +2/+2 for each card played earlier this turn. | class EdwinVanCleef(MinionCard):§ def __init__(self):§ super().__init__("Edwin VanCleef", 3, CHARACTER_CLASS.ROGUE, CARD_RARITY.LEGENDARY, battlecry=Battlecry(Give([Buff(ChangeAttack(Attribute("cards_played", PlayerSelector()), 2)), Buff(ChangeHealth(Attribute("cards_played", PlayerSelector()), 2))]), SelfSelector()))§§ def create_minion(self, player):§ return Minion(2, 2)§ |
Emerald Drake NAME_END 7 ATK_END 6 DEF_END 4 COST_END -1 DUR_END Minion TYPE_END Dream PLAYER_CLS_END Dragon RACE_END NIL RARITY_END NIL | class EmeraldDrake(MinionCard):§ def __init__(self):§ super().__init__("Emerald Drake", 4, CHARACTER_CLASS.DREAM, CARD_RARITY.COMMON, False, MINION_TYPE.DRAGON)§§ def create_minion(self, player):§ return Minion(7, 6)§ |
Emperor Cobra NAME_END 2 ATK_END 3 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Beast RACE_END Rare RARITY_END Destroy any minion damaged by this minion. | class EmperorCobra(MinionCard):§ def __init__(self):§ super().__init__("Emperor Cobra", 3, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, minion_type=MINION_TYPE.BEAST)§§ def create_minion(self, player):§ return Minion(2, 3, effects=[Effect(DidDamage(), ActionTag(Kill(), TargetSelector(IsMinion())))])§ |
Equality NAME_END -1 ATK_END -1 DEF_END 2 COST_END -1 DUR_END Spell TYPE_END Paladin PLAYER_CLS_END NIL RACE_END Rare RARITY_END Change the Health of ALL minions to 1. | class Equality(SpellCard):§ def __init__(self):§ super().__init__("Equality", 2, CHARACTER_CLASS.PALADIN, CARD_RARITY.RARE)§§ def use(self, player, game):§ super().use(player, game)§§ targets = copy.copy(game.other_player.minions)§ targets.extend(player.minions)§§ for minion in targets:§ minion.set_health_to(1)§§ def can_use(self, player, game):§ return super().can_use(player, game) and (len(player.minions) > 0 or len(game.other_player.minions) > 0)§ |
Ethereal Arcanist NAME_END 3 ATK_END 3 DEF_END 4 COST_END -1 DUR_END Minion TYPE_END Mage PLAYER_CLS_END NIL RACE_END Rare RARITY_END If you control a <b>Secret</b> at the end of your turn, gain +2/+2. | class EtherealArcanist(MinionCard):§ def __init__(self):§ super().__init__("Ethereal Arcanist", 4, CHARACTER_CLASS.MAGE, CARD_RARITY.RARE)§§ def create_minion(self, player):§ return Minion(3, 3, effects=[Effect(TurnEnded(HasSecret()), ActionTag(Give(ChangeAttack(2)), SelfSelector())), Effect(TurnEnded(HasSecret()), ActionTag(Give(ChangeHealth(2)), SelfSelector()))])§ |
Eviscerate NAME_END -1 ATK_END -1 DEF_END 2 COST_END -1 DUR_END Spell TYPE_END Rogue PLAYER_CLS_END NIL RACE_END Common RARITY_END Deal $2 damage. <b>Combo:</b> Deal $4 damage instead. | class Eviscerate(SpellCard):§ def __init__(self):§ super().__init__("Eviscerate", 2, CHARACTER_CLASS.ROGUE, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_spell_target)§§ def use(self, player, game):§ super().use(player, game)§§ if player.cards_played > 0:§ self.target.damage(player.effective_spell_damage(4), self)§ else:§ self.target.damage(player.effective_spell_damage(2), self)§ |
Explosive Shot NAME_END -1 ATK_END -1 DEF_END 5 COST_END -1 DUR_END Spell TYPE_END Hunter PLAYER_CLS_END NIL RACE_END Rare RARITY_END Deal $5 damage to a minion and $2 damage to adjacent ones. | class ExplosiveShot(SpellCard):§ def __init__(self):§ super().__init__("Explosive Shot", 5, CHARACTER_CLASS.HUNTER, CARD_RARITY.RARE, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§§ index = self.target.index§ if self.target.index < len(self.target.player.minions) - 1:§ minion = self.target.player.minions[index + 1]§ minion.damage(player.effective_spell_damage(2), self)§§ self.target.damage(player.effective_spell_damage(5), self)§§ if self.target.index > 0:§ minion = self.target.player.minions[index - 1]§ minion.damage(player.effective_spell_damage(2), self)§ |
Faceless Manipulator NAME_END 3 ATK_END 3 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Epic RARITY_END <b>Battlecry:</b> Choose a minion and become a copy of it. | class FacelessManipulator(MinionCard):§ def __init__(self):§ super().__init__("Faceless Manipulator", 5, CHARACTER_CLASS.ALL, CARD_RARITY.EPIC, battlecry=Battlecry(Replace(), MinionSelector(players=BothPlayer(), picker=UserPicker())))§§ def create_minion(self, player):§ return Minion(3, 3)§ |
Faerie Dragon NAME_END 3 ATK_END 2 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Dragon RACE_END Common RARITY_END Can't be targeted by spells or Hero Powers. | class FaerieDragon(MinionCard):§ def __init__(self):§ super().__init__("Faerie Dragon", 2, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.DRAGON)§§ def create_minion(self, player):§ return Minion(3, 2, spell_targetable=False)§ |
Far Sight NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Shaman PLAYER_CLS_END NIL RACE_END Epic RARITY_END Draw a card. That card costs (3) less. | class FarSight(SpellCard):§ def __init__(self):§ super().__init__("Far Sight", 3, CHARACTER_CLASS.SHAMAN, CARD_RARITY.EPIC)§§ def use(self, player, game):§ def reduce_cost(card):§ card.add_buff(Buff(ManaChange(-3)))§§ super().use(player, game)§ player.bind_once("card_drawn", reduce_cost)§ player.draw()§ |
Felguard NAME_END 3 ATK_END 5 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Warlock PLAYER_CLS_END Demon RACE_END Rare RARITY_END <b>Taunt</b>. <b>Battlecry:</b> Destroy one of your Mana Crystals. | class Felguard(MinionCard):§ def __init__(self):§ super().__init__("Felguard", 3, CHARACTER_CLASS.WARLOCK, CARD_RARITY.RARE, minion_type=MINION_TYPE.DEMON, battlecry=Battlecry(DestroyManaCrystal(), PlayerSelector()))§§ def create_minion(self, player):§ return Minion(3, 5, taunt=True)§ |
Fen Creeper NAME_END 3 ATK_END 6 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Taunt</b> | class FenCreeper(MinionCard):§ def __init__(self):§ super().__init__("Fen Creeper", 5, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)§§ def create_minion(self, player):§ return Minion(3, 6, taunt=True)§ |
Feral Spirit NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Shaman PLAYER_CLS_END NIL RACE_END Rare RARITY_END Summon two 2/3 Spirit Wolves with <b>Taunt</b>. <b>Overload:</b> (2) | class FeralSpirit(SpellCard):§ def __init__(self):§ super().__init__("Feral Spirit", 3, CHARACTER_CLASS.SHAMAN, CARD_RARITY.RARE, overload=2)§§ def use(self, player, game):§ super().use(player, game)§§ for i in range(0, 2):§ spirit_wolf = hearthbreaker.cards.minions.shaman.SpiritWolf()§ spirit_wolf.summon(player, game, len(player.minions))§§ def can_use(self, player, game):§ return super().can_use(player, game) and len(player.minions) < 7§ |
Finkle Einhorn NAME_END 3 ATK_END 3 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Legendary RARITY_END NIL | class FinkleEinhorn(MinionCard):§ def __init__(self):§ super().__init__("Finkle Einhorn", 2, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY, False)§§ def create_minion(self, player):§ return Minion(3, 3)§ |
Flame Imp NAME_END 3 ATK_END 2 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Warlock PLAYER_CLS_END Demon RACE_END Common RARITY_END <b>Battlecry:</b> Deal 3 damage to your hero. | class FlameImp(MinionCard):§ def __init__(self):§ super().__init__("Flame Imp", 1, CHARACTER_CLASS.WARLOCK, CARD_RARITY.COMMON, minion_type=MINION_TYPE.DEMON, battlecry=Battlecry(Damage(3), HeroSelector()))§§ def create_minion(self, player):§ return Minion(3, 2)§ |
Flesheating Ghoul NAME_END 2 ATK_END 3 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Common RARITY_END Whenever a minion dies, gain +1 Attack. | class FlesheatingGhoul(MinionCard):§ def __init__(self):§ super().__init__("Flesheating Ghoul", 3, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)§§ def create_minion(self, player):§ return Minion(2, 3, effects=[Effect(MinionDied(player=BothPlayer()), ActionTag(Give(ChangeAttack(1)), SelfSelector()))])§ |
Force of Nature NAME_END -1 ATK_END -1 DEF_END 6 COST_END -1 DUR_END Spell TYPE_END Druid PLAYER_CLS_END NIL RACE_END Epic RARITY_END Summon three 2/2 Treants with <b>Charge</b> that die at the end of the turn. | class ForceOfNature(SpellCard):§ def __init__(self):§ super().__init__("Force of Nature", 6, CHARACTER_CLASS.DRUID, CARD_RARITY.EPIC)§§ def use(self, player, game):§ super().use(player, game)§ from hearthbreaker.cards.minions.druid import ChargeTreant§ for i in [0, 1, 2]:§ treant_card = ChargeTreant()§ treant_card.summon(player, game, len(player.minions))§§ def can_use(self, player, game):§ return super().can_use(player, game) and len(player.minions) < 7§ |
Forked Lightning NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Shaman PLAYER_CLS_END NIL RACE_END Common RARITY_END Deal $2 damage to 2 random enemy minions. <b>Overload:</b> (2) | class ForkedLightning(SpellCard):§ def __init__(self):§ super().__init__("Forked Lightning", 1, CHARACTER_CLASS.SHAMAN, CARD_RARITY.COMMON, overload=2)§§ def use(self, player, game):§ super().use(player, game)§§ minions = copy.copy(game.other_player.minions)§ for i in range(0, 2):§ minion = game.random_choice(minions)§ minions.remove(minion)§ minion.damage(player.effective_spell_damage(3), self)§§ def can_use(self, player, game):§ return super().can_use(player, game) and len(game.other_player.minions) >= 2§ |
Freezing Trap NAME_END -1 ATK_END -1 DEF_END 2 COST_END -1 DUR_END Spell TYPE_END Hunter PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Secret:</b> When an enemy minion attacks, return it to its owner's hand and it costs (2) more. | class FreezingTrap(SecretCard):§ def __init__(self):§ super().__init__("Freezing Trap", 2, CHARACTER_CLASS.HUNTER, CARD_RARITY.COMMON)§§ def activate(self, player):§ player.game.current_player.bind("character_attack", self._reveal)§§ def deactivate(self, player):§ player.game.current_player.unbind("character_attack", self._reveal)§§ def _reveal(self, attacker, target):§ if isinstance(attacker, Minion) and not attacker.removed:§ attacker.bounce()§ attacker.card.add_buff(Buff(ManaChange(2)))§ super().reveal()§ |
Frost Elemental NAME_END 5 ATK_END 5 DEF_END 6 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Battlecry:</b> <b>Freeze</b> a character. | class FrostElemental(MinionCard):§ def __init__(self):§ super().__init__("Frost Elemental", 6, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, battlecry=Battlecry(Give(Frozen()), CharacterSelector(players=BothPlayer(), picker=UserPicker())))§§ def create_minion(self, player):§ return Minion(5, 5)§ |
Frothing Berserker NAME_END 2 ATK_END 4 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Warrior PLAYER_CLS_END NIL RACE_END Rare RARITY_END Whenever a minion takes damage, gain +1 Attack. | class FrothingBerserker(MinionCard):§ def __init__(self):§ super().__init__("Frothing Berserker", 3, CHARACTER_CLASS.WARRIOR, CARD_RARITY.RARE)§§ def create_minion(self, player):§ return Minion(2, 4, effects=[Effect(CharacterDamaged(player=BothPlayer(), condition=IsMinion()), ActionTag(Give(ChangeAttack(1)), SelfSelector()))])§ |
Gadgetzan Auctioneer NAME_END 4 ATK_END 4 DEF_END 6 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Rare RARITY_END Whenever you cast a spell, draw a card. | class GadgetzanAuctioneer(MinionCard):§ def __init__(self):§ super().__init__("Gadgetzan Auctioneer", 6, CHARACTER_CLASS.ALL, CARD_RARITY.RARE)§§ def create_minion(self, player):§ return Minion(4, 4, effects=[Effect(SpellCast(), ActionTag(Draw(), PlayerSelector()))])§ |
Gladiator's Longbow NAME_END 5 ATK_END -1 DEF_END 7 COST_END 2 DUR_END Weapon TYPE_END Hunter PLAYER_CLS_END NIL RACE_END Epic RARITY_END Your hero is <b>Immune</b> while attacking. | class GladiatorsLongbow(WeaponCard):§ def __init__(self):§ super().__init__("Gladiator's Longbow", 7, CHARACTER_CLASS.HUNTER, CARD_RARITY.EPIC)§§ def create_weapon(self, player):§ return Weapon(5, 2, effects=[Effect(CharacterAttack(IsHero()), ActionTag(Give(BuffUntil(Immune(), AttackCompleted())), HeroSelector()))])§ |
Grommash Hellscream NAME_END 4 ATK_END 9 DEF_END 8 COST_END -1 DUR_END Minion TYPE_END Warrior PLAYER_CLS_END NIL RACE_END Legendary RARITY_END <b>Charge</b> NL <b>Enrage:</b> +6 Attack | class GrommashHellscream(MinionCard):§ def __init__(self):§ super().__init__("Grommash Hellscream", 8, CHARACTER_CLASS.WARRIOR, CARD_RARITY.LEGENDARY)§§ def create_minion(self, player):§ return Minion(4, 9, charge=True, enrage=[Aura(ChangeAttack(6), SelfSelector())])§ |
Gruul NAME_END 7 ATK_END 7 DEF_END 8 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Legendary RARITY_END At the end of each turn, gain +1/+1 . | class Gruul(MinionCard):§ def __init__(self):§ super().__init__("Gruul", 8, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY)§§ def create_minion(self, player):§ return Minion(7, 7, effects=[Effect(TurnEnded(player=BothPlayer()), ActionTag(Give([Buff(ChangeAttack(1)), Buff(ChangeHealth(1))]), SelfSelector()))])§ |
Harrison Jones NAME_END 5 ATK_END 4 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Legendary RARITY_END <b>Battlecry:</b> Destroy your opponent's weapon and draw cards equal to its Durability. | class HarrisonJones(MinionCard):§ def __init__(self):§ super().__init__("Harrison Jones", 5, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY, battlecry=(Battlecry(Draw(Attribute("durability", WeaponSelector(EnemyPlayer()))), PlayerSelector()), Battlecry(Destroy(), WeaponSelector(EnemyPlayer()))))§§ def create_minion(self, player):§ return Minion(5, 4)§ |
Harvest Golem NAME_END 2 ATK_END 3 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Mech RACE_END Common RARITY_END <b>Deathrattle:</b> Summon a 2/1 Damaged Golem. | class HarvestGolem(MinionCard):§ def __init__(self):§ super().__init__("Harvest Golem", 3, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.MECH)§§ def create_minion(self, player):§ return Minion(2, 3, deathrattle=Deathrattle(Summon(DamagedGolem()), PlayerSelector()))§ |
Headcrack NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Rogue PLAYER_CLS_END NIL RACE_END Rare RARITY_END Deal $2 damage to the enemy hero. <b>Combo:</b> Return this to your hand next turn. | class Headcrack(SpellCard):§ def __init__(self):§ super().__init__("Headcrack", 3, CHARACTER_CLASS.ROGUE, CARD_RARITY.RARE)§§ def use(self, player, game):§ super().use(player, game)§ game.other_player.hero.damage(player.effective_spell_damage(2), self)§ if player.cards_played > 0:§ player.add_effect(Effect(TurnEnded(), ActionTag(AddCard(self), PlayerSelector())))§ |
Heavy Axe NAME_END 1 ATK_END -1 DEF_END 1 COST_END 3 DUR_END Weapon TYPE_END Warrior PLAYER_CLS_END NIL RACE_END NIL RARITY_END NIL | class HeavyAxe(WeaponCard):§ def __init__(self):§ super().__init__("Heavy Axe", 1, CHARACTER_CLASS.WARRIOR, CARD_RARITY.COMMON, False)§§ def create_weapon(self, player):§ return Weapon(1, 3)§ |
Hogger NAME_END 4 ATK_END 4 DEF_END 6 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Legendary RARITY_END At the end of your turn, summon a 2/2 Gnoll with <b>Taunt</b>. | class Hogger(MinionCard):§ def __init__(self):§ super().__init__("Hogger", 6, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY)§§ def create_minion(self, player):§ return Minion(4, 4, effects=[Effect(TurnEnded(), ActionTag(Summon(Gnoll()), PlayerSelector()))])§ |
Holy Fire NAME_END -1 ATK_END -1 DEF_END 6 COST_END -1 DUR_END Spell TYPE_END Priest PLAYER_CLS_END NIL RACE_END Rare RARITY_END Deal $5 damage. Restore #5 Health to your hero. | class HolyFire(SpellCard):§ def __init__(self):§ super().__init__("Holy Fire", 6, CHARACTER_CLASS.PRIEST, CARD_RARITY.RARE, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§§ self.target.damage(player.effective_spell_damage(5), self)§ player.hero.heal(player.effective_heal_power(5), self)§ |
Hungry Crab NAME_END 1 ATK_END 2 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Beast RACE_END Epic RARITY_END <b>Battlecry:</b> Destroy a Murloc and gain +2/+2. | class HungryCrab(MinionCard):§ def __init__(self):§ super().__init__("Hungry Crab", 1, CHARACTER_CLASS.ALL, CARD_RARITY.EPIC, minion_type=MINION_TYPE.BEAST, battlecry=(Battlecry(Kill(), MinionSelector(IsType(MINION_TYPE.MURLOC), BothPlayer())), Battlecry(Give([Buff(ChangeAttack(2)), Buff(ChangeHealth(2))]), SelfSelector())))§§ def create_minion(self, player):§ return Minion(1, 2)§ |
Hyena NAME_END 2 ATK_END 2 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Hunter PLAYER_CLS_END Beast RACE_END Rare RARITY_END NIL | class Hyena(MinionCard):§ def __init__(self):§ super().__init__("Hyena", 2, CHARACTER_CLASS.HUNTER, CARD_RARITY.RARE, False, minion_type=MINION_TYPE.BEAST)§§ def create_minion(self, player):§ return Minion(2, 2)§ |
Ice Barrier NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Mage PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Secret:</b> When your hero is attacked, gain 8 Armor. | class IceBarrier(SecretCard):§ def __init__(self):§ super().__init__("Ice Barrier", 3, CHARACTER_CLASS.MAGE, CARD_RARITY.COMMON)§§ def _reveal(self, attacker, target):§ if target is self.player.hero and not attacker.removed:§ attacker.player.game.other_player.hero.armor += 8§ super().reveal()§§ def activate(self, player):§ player.opponent.bind("character_attack", self._reveal)§§ def deactivate(self, player):§ player.opponent.unbind("character_attack", self._reveal)§ |
Ice Block NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Mage PLAYER_CLS_END NIL RACE_END Epic RARITY_END <b>Secret:</b> When your hero takes fatal damage, prevent it and become <b>Immune</b> this turn. | class IceBlock(SecretCard):§ def __init__(self):§ super().__init__("Ice Block", 3, CHARACTER_CLASS.MAGE, CARD_RARITY.EPIC)§ self.player = None§§ def _reveal(self, character, attacker, amount):§ if character.is_hero():§ if character.health - amount <= 0:§ character.add_buff(BuffUntil(Immune(), TurnEnded(player=CurrentPlayer())))§ super().reveal()§§ def activate(self, player):§ player.bind("pre_damage", self._reveal)§§ def deactivate(self, player):§ player.unbind("pre_damage", self._reveal)§ |
Ice Lance NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Mage PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Freeze</b> a character. If it was already <b>Frozen</b>, deal $4 damage instead. | class IceLance(SpellCard):§ def __init__(self):§ super().__init__("Ice Lance", 1, CHARACTER_CLASS.MAGE, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_spell_target)§§ def use(self, player, game):§ super().use(player, game)§ if self.target.frozen:§ self.target.damage(4, self)§ else:§ self.target.add_buff(Buff(Frozen()))§ |
Illidan Stormrage NAME_END 7 ATK_END 5 DEF_END 6 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Demon RACE_END Legendary RARITY_END Whenever you play a card, summon a 2/1 Flame of Azzinoth. | class IllidanStormrage(MinionCard):§ def __init__(self):§ super().__init__("Illidan Stormrage", 6, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY, minion_type=MINION_TYPE.DEMON)§§ def create_minion(self, player):§ return Minion(7, 5, effects=[Effect(CardPlayed(), ActionTag(Summon(FlameOfAzzinoth()), PlayerSelector()))])§ |
Imp NAME_END 1 ATK_END 1 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Demon RACE_END Rare RARITY_END NIL | class Imp(MinionCard):§ def __init__(self):§ super().__init__("Imp", 1, CHARACTER_CLASS.ALL, CARD_RARITY.RARE, False, minion_type=MINION_TYPE.DEMON)§§ def create_minion(self, player):§ return Minion(1, 1)§ |
Imp Master NAME_END 1 ATK_END 5 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Rare RARITY_END At the end of your turn, deal 1 damage to this minion and summon a 1/1 Imp. | class ImpMaster(MinionCard):§ def __init__(self):§ super().__init__("Imp Master", 3, CHARACTER_CLASS.ALL, CARD_RARITY.RARE)§§ def create_minion(self, player):§ return Minion(1, 5, effects=[Effect(TurnEnded(), ActionTag(Damage(1), SelfSelector())), Effect(TurnEnded(), ActionTag(Summon(Imp()), PlayerSelector()))])§ |
Inner Fire NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Priest PLAYER_CLS_END NIL RACE_END Common RARITY_END Change a minion's Attack to be equal to its Health. | class InnerFire(SpellCard):§ def __init__(self):§ super().__init__("Inner Fire", 1, CHARACTER_CLASS.PRIEST, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§§ delta = self.target.health - self.target.calculate_attack()§ self.target.change_attack(delta)§ |
Inner Rage NAME_END -1 ATK_END -1 DEF_END 0 COST_END -1 DUR_END Spell TYPE_END Warrior PLAYER_CLS_END NIL RACE_END Common RARITY_END Deal $1 damage to a minion and give it +2 Attack. | class InnerRage(SpellCard):§ def __init__(self):§ super().__init__("Inner Rage", 0, CHARACTER_CLASS.WARRIOR, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_minion_spell_target)§§ def use(self, player, game):§ super().use(player, game)§ self.target.damage(1, self)§ self.target.change_attack(2)§ |
Ironbeak Owl NAME_END 2 ATK_END 1 DEF_END 2 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Beast RACE_END Common RARITY_END <b>Battlecry:</b> <b>Silence</b> a minion. | class IronbeakOwl(MinionCard):§ def __init__(self):§ super().__init__("Ironbeak Owl", 2, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.BEAST, battlecry=Battlecry(Silence(), MinionSelector(players=BothPlayer(), picker=UserPicker())))§§ def create_minion(self, player):§ return Minion(2, 1)§ |
Jungle Panther NAME_END 4 ATK_END 2 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Beast RACE_END Common RARITY_END <b>Stealth</b> | class JunglePanther(MinionCard):§ def __init__(self):§ super().__init__("Jungle Panther", 3, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON, minion_type=MINION_TYPE.BEAST)§§ def create_minion(self, player):§ return Minion(4, 2, stealth=True)§ |
Keeper of the Grove NAME_END 2 ATK_END 4 DEF_END 4 COST_END -1 DUR_END Minion TYPE_END Druid PLAYER_CLS_END NIL RACE_END Rare RARITY_END <b>Choose One</b> - Deal 2 damage; or <b>Silence</b> a minion. | class KeeperOfTheGrove(MinionCard):§ def __init__(self):§ super().__init__("Keeper of the Grove", 4, CHARACTER_CLASS.DRUID, CARD_RARITY.RARE, choices=[§ Choice(Moonfire(), Damage(2), CharacterSelector(players=BothPlayer(), picker=UserPicker())),§ Choice(Dispel(), Silence(), MinionSelector(players=BothPlayer(), picker=UserPicker()))§ ])§§ def create_minion(self, player):§ return Minion(2, 4)§ |
Kidnapper NAME_END 5 ATK_END 3 DEF_END 6 COST_END -1 DUR_END Minion TYPE_END Rogue PLAYER_CLS_END NIL RACE_END Epic RARITY_END <b>Combo:</b> Return a minion to its owner's hand. | class Kidnapper(MinionCard):§ def __init__(self):§ super().__init__("Kidnapper", 6, CHARACTER_CLASS.ROGUE, CARD_RARITY.EPIC, combo=Battlecry(Bounce(), MinionSelector(picker=UserPicker(), players=BothPlayer())))§§ def create_minion(self, player):§ return Minion(5, 3)§ |
King Krush NAME_END 8 ATK_END 8 DEF_END 9 COST_END -1 DUR_END Minion TYPE_END Hunter PLAYER_CLS_END Beast RACE_END Legendary RARITY_END <b>Charge</b> | class KingKrush(MinionCard):§ def __init__(self):§ super().__init__("King Krush", 9, CHARACTER_CLASS.HUNTER, CARD_RARITY.LEGENDARY, minion_type=MINION_TYPE.BEAST)§§ def create_minion(self, player):§ return Minion(8, 8, charge=True)§ |
King Mukla NAME_END 5 ATK_END 5 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END Beast RACE_END Legendary RARITY_END <b>Battlecry:</b> Give your opponent 2 Bananas. | class KingMukla(MinionCard):§ def __init__(self):§ super().__init__("King Mukla", 3, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY, minion_type=MINION_TYPE.BEAST, battlecry=Battlecry(AddCard(Bananas(), 2), PlayerSelector(EnemyPlayer())))§§ def create_minion(self, player):§ return Minion(5, 5)§ |
Laughing Sister NAME_END 3 ATK_END 5 DEF_END 3 COST_END -1 DUR_END Minion TYPE_END Dream PLAYER_CLS_END NIL RACE_END NIL RARITY_END Can't be targeted by spells or Hero Powers. | class LaughingSister(MinionCard):§ def __init__(self):§ super().__init__("Laughing Sister", 3, CHARACTER_CLASS.DREAM, CARD_RARITY.COMMON, False)§§ def create_minion(self, player):§ return Minion(3, 5, spell_targetable=False)§ |
Lava Burst NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Shaman PLAYER_CLS_END NIL RACE_END Rare RARITY_END Deal $5 damage. <b>Overload:</b> (2) | class LavaBurst(SpellCard):§ def __init__(self):§ super().__init__("Lava Burst", 3, CHARACTER_CLASS.SHAMAN, CARD_RARITY.RARE, target_func=hearthbreaker.targeting.find_spell_target, overload=2)§§ def use(self, player, game):§ super().use(player, game)§§ self.target.damage(player.effective_spell_damage(5), self)§ |
Lay on Hands NAME_END -1 ATK_END -1 DEF_END 8 COST_END -1 DUR_END Spell TYPE_END Paladin PLAYER_CLS_END NIL RACE_END Epic RARITY_END Restore #8 Health. Draw 3 cards. | class LayOnHands(SpellCard):§ def __init__(self):§ super().__init__("Lay on Hands", 8, CHARACTER_CLASS.PALADIN, CARD_RARITY.EPIC, target_func=hearthbreaker.targeting.find_spell_target)§§ def use(self, player, game):§ super().use(player, game)§§ self.target.heal(player.effective_heal_power(8), self)§ player.draw()§ player.draw()§ player.draw()§ |
Leeroy Jenkins NAME_END 6 ATK_END 2 DEF_END 5 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Legendary RARITY_END <b>Charge</b>. <b>Battlecry:</b> Summon two 1/1 Whelps for your opponent. | class LeeroyJenkins(MinionCard):§ def __init__(self):§ super().__init__("Leeroy Jenkins", 5, CHARACTER_CLASS.ALL, CARD_RARITY.LEGENDARY, battlecry=Battlecry(Summon(Whelp(), 2), PlayerSelector(players=EnemyPlayer())))§§ def create_minion(self, player):§ return Minion(6, 2, charge=True)§ |
Leper Gnome NAME_END 2 ATK_END 1 DEF_END 1 COST_END -1 DUR_END Minion TYPE_END Neutral PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Deathrattle:</b> Deal 2 damage to the enemy hero. | class LeperGnome(MinionCard):§ def __init__(self):§ super().__init__("Leper Gnome", 1, CHARACTER_CLASS.ALL, CARD_RARITY.COMMON)§§ def create_minion(self, player):§ return Minion(2, 1, deathrattle=Deathrattle(Damage(2), HeroSelector(EnemyPlayer())))§ |
Lightning Bolt NAME_END -1 ATK_END -1 DEF_END 1 COST_END -1 DUR_END Spell TYPE_END Shaman PLAYER_CLS_END NIL RACE_END Common RARITY_END Deal $3 damage. <b>Overload:</b> (1) | class LightningBolt(SpellCard):§ def __init__(self):§ super().__init__("Lightning Bolt", 1, CHARACTER_CLASS.SHAMAN, CARD_RARITY.COMMON, target_func=hearthbreaker.targeting.find_spell_target, overload=1)§§ def use(self, player, game):§ super().use(player, game)§§ self.target.damage(player.effective_spell_damage(3), self)§ |
Lightning Storm NAME_END -1 ATK_END -1 DEF_END 3 COST_END -1 DUR_END Spell TYPE_END Shaman PLAYER_CLS_END NIL RACE_END Rare RARITY_END Deal $2-$3 damage to all enemy minions. <b>Overload:</b> (2) | class LightningStorm(SpellCard):§ def __init__(self):§ super().__init__("Lightning Storm", 3, CHARACTER_CLASS.SHAMAN, CARD_RARITY.RARE, overload=2)§§ def use(self, player, game):§ super().use(player, game)§§ for minion in copy.copy(game.other_player.minions):§ minion.damage(player.effective_spell_damage(game.random_amount(2, 3)), self)§ |
Lightspawn NAME_END 0 ATK_END 5 DEF_END 4 COST_END -1 DUR_END Minion TYPE_END Priest PLAYER_CLS_END NIL RACE_END Common RARITY_END This minion's Attack is always equal to its Health. | class Lightspawn(MinionCard):§ def __init__(self):§ super().__init__("Lightspawn", 4, CHARACTER_CLASS.PRIEST, CARD_RARITY.COMMON)§§ def create_minion(self, player):§ return Minion(0, 5, buffs=[Buff(AttackEqualsHealth())])§ |