Ejemplo n.º 1
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)))
Ejemplo n.º 2
0
 def create_weapon(self, player):
     return Weapon(1,
                   3,
                   buffs=[
                       Buff(
                           ChangeAttack(2),
                           GreaterThan(Count(
                               MinionSelector(IsType(MINION_TYPE.MECH))),
                                       value=0))
                   ])
Ejemplo n.º 3
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))
         ])
Ejemplo n.º 4
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)))))
Ejemplo n.º 5
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))))
Ejemplo n.º 6
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))))
Ejemplo n.º 7
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)))
Ejemplo n.º 8
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)))))
Ejemplo n.º 9
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))))