Beispiel #1
0
 def __init__(self):
     super().__init__(
         "Perdition's Blade",
         3,
         CHARACTER_CLASS.ROGUE,
         CARD_RARITY.RARE,
         battlecry=Battlecry(Damage(1),
                             CharacterSelector(None, picker=UserPicker())),
         combo=Battlecry(Damage(2),
                         CharacterSelector(None, picker=UserPicker())))
Beispiel #2
0
 def __init__(self):
     super().__init__("Flame Imp",
                      1,
                      CHARACTER_CLASS.WARLOCK,
                      CARD_RARITY.COMMON,
                      minion_type=MINION_TYPE.DEMON,
                      battlecry=Battlecry(Damage(3), HeroSelector()))
Beispiel #3
0
 def __init__(self):
     super().__init__("Pit Lord",
                      4,
                      CHARACTER_CLASS.WARLOCK,
                      CARD_RARITY.EPIC,
                      minion_type=MINION_TYPE.DEMON,
                      battlecry=Battlecry(Damage(5), HeroSelector()))
Beispiel #4
0
 def __init__(self):
     super().__init__("Fist of Jaraxxus", 4, CHARACTER_CLASS.WARLOCK, CARD_RARITY.RARE,
                      effects=[Effect(CardDiscarded(MinionIsTarget()), ActionTag(Damage(4),
                                                                                 CharacterSelector(None,
                                                                                                   EnemyPlayer(),
                                                                                                   RandomPicker())))
                               ])
Beispiel #5
0
 def __init__(self):
     super().__init__("Shadowbomber",
                      1,
                      CHARACTER_CLASS.PRIEST,
                      CARD_RARITY.EPIC,
                      battlecry=Battlecry(
                          Damage(3), HeroSelector(players=BothPlayer())))
Beispiel #6
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())))
Beispiel #7
0
 def create_minion(self, player):
     return Minion(2,
                   5,
                   effects=[
                       Effect(
                           Damaged(),
                           ActionTag(Damage(2),
                                     HeroSelector(EnemyPlayer())))
                   ])
Beispiel #8
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())))
Beispiel #9
0
 def __init__(self):
     super().__init__("Fire Elemental",
                      6,
                      CHARACTER_CLASS.SHAMAN,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Damage(3),
                          CharacterSelector(players=BothPlayer(),
                                            picker=UserPicker())))
Beispiel #10
0
 def __init__(self):
     super().__init__("Scarlet Purifier",
                      3,
                      CHARACTER_CLASS.PALADIN,
                      CARD_RARITY.RARE,
                      battlecry=Battlecry(
                          Damage(2),
                          MinionSelector(MinionHasDeathrattle(),
                                         BothPlayer())))
Beispiel #11
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())))
Beispiel #12
0
 def __init__(self):
     super().__init__("Dread Infernal",
                      6,
                      CHARACTER_CLASS.WARLOCK,
                      CARD_RARITY.COMMON,
                      minion_type=MINION_TYPE.DEMON,
                      battlecry=Battlecry(
                          Damage(1),
                          CharacterSelector(players=BothPlayer())))
Beispiel #13
0
 def __init__(self):
     super().__init__("SI:7 Agent",
                      3,
                      CHARACTER_CLASS.ROGUE,
                      CARD_RARITY.RARE,
                      combo=Battlecry(
                          Damage(2),
                          CharacterSelector(players=BothPlayer(),
                                            picker=UserPicker())))
Beispiel #14
0
 def create_minion(self, player):
     return Minion(2,
                   4,
                   effects=[
                       Effect(
                           CardUsed(IsSpell()),
                           ActionTag(
                               Damage(1),
                               CharacterSelector(None, EnemyPlayer(),
                                                 RandomPicker(2))))
                   ])
Beispiel #15
0
    def create_weapon(self, player):
        def deal_one_to_all(weapon):
            targets = copy.copy(weapon.player.minions)
            targets.extend(weapon.player.opponent.minions)
            for minion in targets:
                minion.damage(1, None)

        return Weapon(4,
                      2,
                      deathrattle=Deathrattle(
                          Damage(1), MinionSelector(players=BothPlayer())))
Beispiel #16
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)))
Beispiel #17
0
 def create_minion(self, player):
     return Minion(3,
                   5,
                   effects=[
                       Effect(
                           TurnEnded(),
                           ActionTag(
                               Damage(2),
                               MinionSelector(
                                   Not(IsType(MINION_TYPE.MECH, True)),
                                   BothPlayer(), RandomPicker())))
                   ])
Beispiel #18
0
 def create_minion(self, player):
     return Minion(2,
                   3,
                   effects=[
                       Effect(
                           CharacterHealed(player=BothPlayer()),
                           ActionTag(
                               Damage(1),
                               CharacterSelector(players=EnemyPlayer(),
                                                 picker=RandomPicker(),
                                                 condition=None)))
                   ])
Beispiel #19
0
 def __init__(self):
     super().__init__("Flame Leviathan",
                      7,
                      CHARACTER_CLASS.MAGE,
                      CARD_RARITY.LEGENDARY,
                      minion_type=MINION_TYPE.MECH,
                      effects=[
                          Effect(
                              Drawn(),
                              ActionTag(
                                  Damage(2),
                                  CharacterSelector(None, BothPlayer())))
                      ])
Beispiel #20
0
 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()))
                      ])
Beispiel #21
0
 def __init__(self):
     super().__init__("Burrowing Mine",
                      0,
                      CHARACTER_CLASS.WARRIOR,
                      CARD_RARITY.COMMON,
                      False,
                      effects=[
                          Effect(Drawn(),
                                 ActionTag(Damage(10), HeroSelector())),
                          Effect(
                              Drawn(),
                              ActionTag(RemoveFromHand(Same()),
                                        PlayerSelector())),
                          Effect(Drawn(), ActionTag(Draw(),
                                                    PlayerSelector()))
                      ])
Beispiel #22
0
 def __init__(self):
     super().__init__("Burrowing Mine",
                      0,
                      CHARACTER_CLASS.WARRIOR,
                      CARD_RARITY.COMMON,
                      False,
                      effects=[
                          Effect(Drawn(),
                                 ActionTag(Damage(10), HeroSelector())),
                          Effect(
                              Drawn(),
                              ActionTag(
                                  Discard(query=CardQuery(
                                      source=CARD_SOURCE.LAST_DRAWN)),
                                  PlayerSelector())),
                          Effect(Drawn(), ActionTag(Draw(),
                                                    PlayerSelector()))
                      ])
Beispiel #23
0
 def create_weapon(self, player):
     return Weapon(4,
                   2,
                   deathrattle=Deathrattle(
                       Damage(1), MinionSelector(players=BothPlayer())))