Esempio n. 1
0
 def create_minion(self, player):
     return Minion(9,
                   7,
                   auras=[
                       Aura(ChangeHealth(2),
                            MinionSelector(IsType(MINION_TYPE.DEMON))),
                       Aura(ChangeAttack(2),
                            MinionSelector(IsType(MINION_TYPE.DEMON))),
                       Aura(Immune(), HeroSelector())
                   ])
Esempio n. 2
0
 def create_minion(self, player):
     return Minion(9,
                   7,
                   auras=[
                       Aura(Add(CHARACTER_STATUS.ATTACK, 2),
                            MinionSelector(IsType(MINION_TYPE.DEMON))),
                       Aura(Add(CHARACTER_STATUS.HEALTH, 2),
                            MinionSelector(IsType(MINION_TYPE.DEMON))),
                       Aura(SetTrue(CHARACTER_STATUS.IMMUNE),
                            HeroSelector())
                   ])
Esempio n. 3
0
 def create_minion(self, player):
     return Minion(0,
                   3,
                   auras=[
                       Aura(Add(CHARACTER_STATUS.ATTACK, 2),
                            MinionSelector(Adjacent()))
                   ])
Esempio n. 4
0
 def __init__(self):
     super().__init__("Argent Protector",
                      2,
                      CHARACTER_CLASS.PALADIN,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(Give(DivineShield()),
                                          MinionSelector()))
Esempio n. 5
0
 def create_minion(self, player):
     return Minion(1,
                   1,
                   auras=[
                       Aura(ChangeAttack(1),
                            MinionSelector(IsType(MINION_TYPE.BEAST)))
                   ])
Esempio n. 6
0
 def create_minion(self, player):
     return Minion(1,
                   1,
                   auras=[
                       Aura(Add(CHARACTER_STATUS.ATTACK, 1),
                            MinionSelector(IsType(MINION_TYPE.BEAST)))
                   ])
Esempio n. 7
0
 def create_minion(self, player):
     return Minion(2,
                   5,
                   auras=[
                       Aura(SetTrue(CHARACTER_STATUS.NO_SPELL_TARGET),
                            MinionSelector(Adjacent()))
                   ])
Esempio n. 8
0
 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())
     ])
Esempio n. 9
0
 def __init__(self):
     super().__init__("Cenarius", 9, CHARACTER_CLASS.DRUID, CARD_RARITY.LEGENDARY, choices=[
         Choice(IncreaseStats(), Give([Add(CHARACTER_STATUS.ATTACK, 2),
                                       Add(CHARACTER_STATUS.HEALTH, 2),
                                       SetTrue(CHARACTER_STATUS.TAUNT)]), MinionSelector()),
         Choice(SummonTreants(), Summon(TauntTreant(), 2), PlayerSelector())
     ])
Esempio n. 10
0
    def use(self, player, game):
        super().use(player, game)
        player.add_aura(
            AuraUntil(SetTo(CHARACTER_STATUS.MINIMUM_HEALTH, 1),
                      MinionSelector(), TurnEnded()))

        player.draw()
Esempio n. 11
0
 def __init__(self):
     super().__init__("Cruel Taskmaster",
                      2,
                      CHARACTER_CLASS.WARRIOR,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          [Damage(1), Give(ChangeAttack(2))],
                          MinionSelector(players=BothPlayer())))
Esempio n. 12
0
 def create_minion(self, player):
     return Minion(2,
                   5,
                   charge=True,
                   auras=[
                       Aura(SetTrue(CHARACTER_STATUS.CHARGE),
                            MinionSelector(IsType(MINION_TYPE.BEAST)))
                   ])
Esempio n. 13
0
 def create_weapon(self, player):
     return Weapon(3,
                   2,
                   deathrattle=Deathrattle(
                       Give([Buff(ChangeHealth(2)),
                             Buff(ChangeAttack(2))]),
                       MinionSelector(IsType(MINION_TYPE.MECH),
                                      picker=RandomPicker())))
Esempio n. 14
0
 def __init__(self):
     super().__init__("Windspeaker",
                      4,
                      CHARACTER_CLASS.SHAMAN,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Give(Windfury()),
                          MinionSelector(picker=UserPicker())))
Esempio n. 15
0
 def create_minion(self, player):
     return Minion(2,
                   5,
                   charge=True,
                   auras=[
                       Aura(Charge(),
                            MinionSelector(MinionIsType(MINION_TYPE.BEAST)))
                   ])
Esempio n. 16
0
 def __init__(self):
     super().__init__("Glaivezooka",
                      2,
                      CHARACTER_CLASS.HUNTER,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Give(ChangeAttack(1)),
                          MinionSelector(None, picker=RandomPicker())))
Esempio n. 17
0
 def __init__(self):
     super().__init__("Temple Enforcer",
                      6,
                      CHARACTER_CLASS.PRIEST,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Give(ChangeHealth(3)),
                          MinionSelector(picker=UserPicker())))
Esempio n. 18
0
 def __init__(self):
     super().__init__("Temple Enforcer",
                      6,
                      CHARACTER_CLASS.PRIEST,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Give(Add(CHARACTER_STATUS.HEALTH, 3)),
                          MinionSelector(picker=UserPicker())))
Esempio n. 19
0
 def __init__(self):
     super().__init__("Windspeaker",
                      4,
                      CHARACTER_CLASS.SHAMAN,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Give(SetTrue(CHARACTER_STATUS.WINDFURY)),
                          MinionSelector(picker=UserPicker())))
Esempio n. 20
0
 def __init__(self):
     super().__init__("Master of Disguise",
                      4,
                      CHARACTER_CLASS.ROGUE,
                      CARD_RARITY.RARE,
                      battlecry=Battlecry(
                          Give(SetTrue(CHARACTER_STATUS.STEALTH)),
                          MinionSelector(picker=UserPicker())))
Esempio n. 21
0
 def __init__(self):
     super().__init__(
         "Void Terror",
         3,
         CHARACTER_CLASS.WARLOCK,
         CARD_RARITY.RARE,
         minion_type=MINION_TYPE.DEMON,
         battlecry=(Battlecry(
             Give([
                 Buff(
                     ChangeHealth(
                         Attribute("health", MinionSelector(Adjacent())))),
                 Buff(
                     ChangeAttack(
                         Attribute("attack", MinionSelector(Adjacent()))))
             ]),
             SelfSelector()), Battlecry(Kill(),
                                        MinionSelector(Adjacent()))))
Esempio n. 22
0
 def __init__(self):
     super().__init__("Metaltooth Leaper",
                      3,
                      CHARACTER_CLASS.HUNTER,
                      CARD_RARITY.RARE,
                      minion_type=MINION_TYPE.MECH,
                      battlecry=Battlecry(
                          Give(Buff(ChangeAttack(2))),
                          MinionSelector(IsType(MINION_TYPE.MECH))))
Esempio n. 23
0
 def __init__(self):
     super().__init__("Metaltooth Leaper",
                      3,
                      CHARACTER_CLASS.HUNTER,
                      CARD_RARITY.RARE,
                      minion_type=MINION_TYPE.MECH,
                      battlecry=Battlecry(
                          Give(Add(CHARACTER_STATUS.ATTACK, 2)),
                          MinionSelector(IsType(MINION_TYPE.MECH))))
Esempio n. 24
0
 def __init__(self):
     super().__init__(
         "Cruel Taskmaster",
         2,
         CHARACTER_CLASS.WARRIOR,
         CARD_RARITY.COMMON,
         battlecry=Battlecry(
             [Damage(1), Give(Add(CHARACTER_STATUS.ATTACK, 2))],
             MinionSelector(players=BothPlayer(), picker=UserPicker())))
Esempio n. 25
0
 def __init__(self):
     super().__init__("Scarlet Purifier",
                      3,
                      CHARACTER_CLASS.PALADIN,
                      CARD_RARITY.RARE,
                      battlecry=Battlecry(
                          Damage(2),
                          MinionSelector(MinionHasDeathrattle(),
                                         BothPlayer())))
Esempio n. 26
0
 def __init__(self):
     super().__init__("Aldor Peacekeeper",
                      3,
                      CHARACTER_CLASS.PALADIN,
                      CARD_RARITY.RARE,
                      battlecry=Battlecry(
                          Give(SetAttack(1)),
                          MinionSelector(condition=None,
                                         players=EnemyPlayer())))
Esempio n. 27
0
 def __init__(self):
     super().__init__("Vol'jin",
                      5,
                      CHARACTER_CLASS.PRIEST,
                      CARD_RARITY.LEGENDARY,
                      battlecry=Battlecry(
                          SwapStats("health", "health", True),
                          MinionSelector(players=BothPlayer(),
                                         picker=UserPicker())))
Esempio n. 28
0
 def __init__(self):
     super().__init__("Coghammer",
                      3,
                      CHARACTER_CLASS.PALADIN,
                      CARD_RARITY.EPIC,
                      battlecry=Battlecry(
                          Give([Buff(DivineShield()),
                                Buff(Taunt())]),
                          MinionSelector(picker=RandomPicker())))
Esempio n. 29
0
 def __init__(self):
     super().__init__("Kidnapper",
                      6,
                      CHARACTER_CLASS.ROGUE,
                      CARD_RARITY.EPIC,
                      combo=Battlecry(
                          Bounce(),
                          MinionSelector(picker=UserPicker(),
                                         players=BothPlayer())))
Esempio n. 30
0
 def __init__(self):
     super().__init__("Dark Iron Skulker",
                      5,
                      CHARACTER_CLASS.ROGUE,
                      CARD_RARITY.RARE,
                      battlecry=Battlecry(
                          Damage(2),
                          MinionSelector(condition=Not(IsDamaged()),
                                         players=EnemyPlayer())))