Пример #1
0
 def create_minion(self, player):
     return Minion(3,
                   2,
                   auras=[
                       Aura(Subtract(CARD_STATUS.MANA, 1),
                            CardSelector(condition=IsSpell()))
                   ])
Пример #2
0
 def create_minion(self, player):
     return Minion(0,
                   4,
                   auras=[
                       Aura(ManaChange(-2, 1, minimum=1),
                            CardSelector(condition=IsMinion()))
                   ])
Пример #3
0
 def __init__(self):
     super().__init__("Dragon Consort", 5, CHARACTER_CLASS.PALADIN, CARD_RARITY.RARE,
                      minion_type=MINION_TYPE.DRAGON,
                      battlecry=Battlecry(GiveAura([AuraUntil(ManaChange(-3),
                                                              CardSelector(condition=IsType(MINION_TYPE.DRAGON)),
                                                              CardPlayed(IsType(MINION_TYPE.DRAGON)), False)]),
                                          PlayerSelector()))
Пример #4
0
 def create_minion(self, player):
     return Minion(0,
                   4,
                   auras=[
                       Aura(Subtract(CARD_STATUS.MANA, 2, minimum=1),
                            CardSelector(condition=IsMinion()))
                   ])
Пример #5
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)))))
Пример #6
0
 def __init__(self):
     super().__init__("Kirin Tor Mage",
                      3,
                      CHARACTER_CLASS.MAGE,
                      CARD_RARITY.RARE,
                      battlecry=Battlecry(
                          GiveAura([
                              AuraUntil(ManaChange(-100),
                                        CardSelector(condition=IsSecret()),
                                        CardPlayed(IsSecret()))
                          ]), PlayerSelector()))
Пример #7
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))))
Пример #8
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))))
Пример #9
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)))))
Пример #10
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))))
Пример #11
0
 def use(self, player, game):
     super().use(player, game)
     player.add_aura(AuraUntil(ManaChange(-3), CardSelector(condition=IsSpell()), SpellCast()))
Пример #12
0
 def create_minion(self, player):
     return Minion(
         3,
         2,
         auras=[Aura(ManaChange(-1), CardSelector(condition=IsSpell()))])
Пример #13
0
 def use(self, player, game):
     super().use(player, game)
     player.add_aura(AuraUntil(Subtract(CARD_STATUS.MANA, 3), CardSelector(condition=IsSpell()), SpellCast()))