Exemple #1
0
 def create_weapon(self, player):
     return Weapon(1,
                   3,
                   buffs=[
                       Buff(
                           ChangeAttack(2),
                           GreaterThan(Count(
                               MinionSelector(IsType(MINION_TYPE.MECH))),
                                       value=0))
                   ])
Exemple #2
0
 def __init__(self):
     super().__init__("Druid of the Fang",
                      5,
                      CHARACTER_CLASS.DRUID,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Transform(CobraForm()), SelfSelector(),
                          GreaterThan(Count(
                              MinionSelector(IsType(MINION_TYPE.BEAST))),
                                      value=0)))
Exemple #3
0
 def __init__(self):
     super().__init__(
         "Solemn Vigil",
         5,
         CHARACTER_CLASS.PALADIN,
         CARD_RARITY.COMMON,
         buffs=[
             Buff(
                 ManaChange(Count(DeadMinionSelector(players=BothPlayer())),
                            -1))
         ])
Exemple #4
0
 def __init__(self):
     super().__init__(
         "Volcanic Lumberer",
         9,
         CHARACTER_CLASS.DRUID,
         CARD_RARITY.RARE,
         buffs=[
             Buff(
                 ManaChange(Count(DeadMinionSelector(players=BothPlayer())),
                            -1))
         ])
Exemple #5
0
 def __init__(self):
     super().__init__(
         "Dragon's Breath",
         5,
         CHARACTER_CLASS.MAGE,
         CARD_RARITY.COMMON,
         target_func=hearthbreaker.targeting.find_spell_target,
         buffs=[
             Subtract(CARD_STATUS.MANA,
                      Count(DeadMinionSelector(players=BothPlayer())))
         ])
Exemple #6
0
 def __init__(self):
     super().__init__(
         "Core Rager",
         4,
         CHARACTER_CLASS.HUNTER,
         CARD_RARITY.RARE,
         minion_type=MINION_TYPE.BEAST,
         battlecry=(Battlecry(
             Give([Buff(ChangeAttack(3)),
                   Buff(ChangeHealth(3))]), SelfSelector(),
             Not(GreaterThan(Count(CardSelector()), value=0)))))
Exemple #7
0
 def __init__(self):
     super().__init__(
         "Crush",
         7,
         CHARACTER_CLASS.WARRIOR,
         CARD_RARITY.EPIC,
         target_func=hearthbreaker.targeting.find_minion_spell_target,
         buffs=[
             Buff(ManaChange(-4),
                  GreaterThan(Count(MinionSelector(IsDamaged())), value=0))
         ])
Exemple #8
0
 def __init__(self):
     super().__init__(
         "King of Beasts",
         5,
         CHARACTER_CLASS.HUNTER,
         CARD_RARITY.RARE,
         minion_type=MINION_TYPE.BEAST,
         battlecry=Battlecry(
             Give(
                 Add(CHARACTER_STATUS.ATTACK,
                     Count(MinionSelector(IsType(MINION_TYPE.BEAST))))),
             SelfSelector()))
Exemple #9
0
 def __init__(self):
     super().__init__(
         "Dragon's Breath",
         5,
         CHARACTER_CLASS.MAGE,
         CARD_RARITY.COMMON,
         target_func=hearthbreaker.targeting.find_spell_target,
         buffs=[
             Buff(
                 ManaChange(Count(DeadMinionSelector(players=BothPlayer())),
                            -1))
         ])
Exemple #10
0
 def __init__(self):
     super().__init__("Goblin Blastmage",
                      4,
                      CHARACTER_CLASS.MAGE,
                      CARD_RARITY.RARE,
                      battlecry=Battlecry(
                          Damage(1),
                          CharacterSelector(None, EnemyPlayer(),
                                            RandomPicker(4)),
                          GreaterThan(Count(
                              MinionSelector(IsType(MINION_TYPE.MECH))),
                                      value=0)))
Exemple #11
0
 def __init__(self):
     super().__init__(
         "Twilight Whelp",
         1,
         CHARACTER_CLASS.PRIEST,
         CARD_RARITY.COMMON,
         minion_type=MINION_TYPE.DRAGON,
         battlecry=(Battlecry(
             Give(Add(CHARACTER_STATUS.HEALTH, 2)), SelfSelector(),
             GreaterThan(Count(
                 CardSelector(condition=IsType(MINION_TYPE.DRAGON))),
                         value=0))))
Exemple #12
0
 def __init__(self):
     super().__init__(
         "Alexstrasza's Champion",
         2,
         CHARACTER_CLASS.WARRIOR,
         CARD_RARITY.RARE,
         battlecry=(Battlecry(
             Give([Buff(ChangeAttack(1)),
                   Buff(Charge())]), SelfSelector(),
             GreaterThan(Count(
                 CardSelector(condition=IsType(MINION_TYPE.DRAGON))),
                         value=0))))
Exemple #13
0
 def __init__(self):
     super().__init__(
         "King of Beasts",
         5,
         CHARACTER_CLASS.HUNTER,
         CARD_RARITY.RARE,
         minion_type=MINION_TYPE.BEAST,
         battlecry=Battlecry(
             Give(
                 Buff(
                     ChangeAttack(
                         Count(MinionSelector(IsType(
                             MINION_TYPE.BEAST)))))), SelfSelector()))
Exemple #14
0
 def __init__(self):
     super().__init__("Core Rager",
                      4,
                      CHARACTER_CLASS.HUNTER,
                      CARD_RARITY.RARE,
                      minion_type=MINION_TYPE.BEAST,
                      battlecry=(Battlecry(
                          Give([
                              Add(CHARACTER_STATUS.ATTACK, 3),
                              Add(CHARACTER_STATUS.HEALTH, 3)
                          ]), SelfSelector(),
                          Not(GreaterThan(Count(CardSelector()),
                                          value=0)))))
Exemple #15
0
 def __init__(self):
     super().__init__(
         "Alexstrasza's Champion",
         2,
         CHARACTER_CLASS.WARRIOR,
         CARD_RARITY.RARE,
         battlecry=(Battlecry(
             Give([
                 Add(CHARACTER_STATUS.ATTACK, 1),
                 SetTrue(CHARACTER_STATUS.CHARGE)
             ]), SelfSelector(),
             GreaterThan(Count(
                 CardSelector(condition=IsType(MINION_TYPE.DRAGON))),
                         value=0))))
Exemple #16
0
 def __init__(self):
     super().__init__("Volcanic Lumberer", 9, CHARACTER_CLASS.DRUID, CARD_RARITY.RARE,
                      buffs=[SetTo(CARD_STATUS.MANA, Count(DeadMinionSelector(players=BothPlayer())), -1)])
Exemple #17
0
 def __init__(self):
     super().__init__("Solemn Vigil", 5, CHARACTER_CLASS.PALADIN, CARD_RARITY.COMMON,
                      buffs=[Subtract(CARD_STATUS.MANA, Count(DeadMinionSelector(players=BothPlayer())))])