Ejemplo n.º 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())))
Ejemplo n.º 2
0
 def create_minion(self, player):
     return Minion(0,
                   5,
                   effects=[
                       Effect(TurnStarted(), Heal(3),
                              CharacterSelector(picker=RandomPicker()))
                   ])
Ejemplo n.º 3
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())))
                               ])
Ejemplo n.º 4
0
 def create_minion(self, player):
     return Minion(5, 4, windfury=True, effects=[Effect(Attack(),
                                                        ActionTag(ChangeTarget(CharacterSelector(NotCurrentTarget(),
                                                                                                 EnemyPlayer(),
                                                                                                 RandomPicker())),
                                                        SelfSelector(),
                                                        And(OneIn(2), OpponentMinionCountIsGreaterThan(0))))])
Ejemplo n.º 5
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())))
Ejemplo n.º 6
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())))
Ejemplo n.º 7
0
 def __init__(self):
     super().__init__("Fire Elemental",
                      6,
                      CHARACTER_CLASS.SHAMAN,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(
                          Damage(3),
                          CharacterSelector(players=BothPlayer(),
                                            picker=UserPicker())))
Ejemplo n.º 8
0
 def create_minion(self, player):
     return Minion(0,
                   5,
                   effects=[
                       Effect(
                           TurnStarted(),
                           ActionTag(
                               Heal(3),
                               CharacterSelector(condition=IsDamaged(),
                                                 picker=RandomPicker())))
                   ])
Ejemplo n.º 9
0
 def create_minion(self, player):
     return Minion(2,
                   4,
                   effects=[
                       Effect(
                           CardUsed(IsSpell()),
                           ActionTag(
                               Damage(1),
                               CharacterSelector(None, EnemyPlayer(),
                                                 RandomPicker(2))))
                   ])
Ejemplo n.º 10
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)))
                   ])
Ejemplo n.º 11
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.º 12
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())))
                      ])
Ejemplo n.º 13
0
 def create_weapon(self, player):
     return Weapon(4,
                   2,
                   effects=[
                       Effect(
                           CharacterAttack(IsHero()),
                           ActionTag(
                               ChangeTarget(
                                   CharacterSelector(
                                       NotCurrentTarget(), EnemyPlayer(),
                                       RandomPicker())), HeroSelector(),
                               And(OneIn(2),
                                   OpponentMinionCountIsGreaterThan(0))))
                   ])
Ejemplo n.º 14
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()))
                      ])