예제 #1
0
 def create_minion(self, player):
     return Minion(5, 8, effects=[Effect(SpellCast(Not(HasCardName("Gallywix's Coin")), EnemyPlayer()),
                                         ActionTag(AddCard(CardQuery(source=CARD_SOURCE.LAST_CARD)),
                                         PlayerSelector(FriendlyPlayer()))),
                                  Effect(SpellCast(Not(HasCardName("Gallywix's Coin")), EnemyPlayer()),
                                         ActionTag(AddCard(GallywixsCoin()),
                                         PlayerSelector(EnemyPlayer())))])
예제 #2
0
 def create_minion(self, player):
     return Minion(5,
                   8,
                   effects=[
                       Effect(
                           SpellCast(Not(HasCardName("Gallywix's Coin")),
                                     EnemyPlayer()),
                           ActionTag(AddCard(LastCard()),
                                     PlayerSelector(FriendlyPlayer()))),
                       Effect(
                           SpellCast(Not(HasCardName("Gallywix's Coin")),
                                     EnemyPlayer()),
                           ActionTag(AddCard(GallywixsCoin()),
                                     PlayerSelector(EnemyPlayer())))
                   ])
예제 #3
0
 def __init__(self):
     super().__init__(
         "Quartermaster",
         5,
         CHARACTER_CLASS.PALADIN,
         CARD_RARITY.EPIC,
         battlecry=Battlecry(
             Give([Buff(ChangeAttack(2)),
                   Buff(ChangeHealth(2))]),
             MinionSelector(HasCardName("Silver Hand Recruit"))))
예제 #4
0
 def use(self, player, game):
     super().use(player, game)
     query = CollectionSource([HasCardName("Malorne")])
     new_minon = query.get_card(player, player, self)
     player.hand.append(new_minon)
     new_minon.attach(new_minon, player)
예제 #5
0
 def __init__(self):
     super().__init__("Quartermaster", 5, CHARACTER_CLASS.PALADIN, CARD_RARITY.EPIC,
                      battlecry=Battlecry(Give([Add(CHARACTER_STATUS.ATTACK, 2), Add(CHARACTER_STATUS.HEALTH, 2)]),
                                          MinionSelector(HasCardName("Silver Hand Recruit"))))
예제 #6
0
 def use(self, player, game):
     super().use(player, game)
     query = CardQuery(conditions=[HasCardName("Malorne")])
     new_minon = query.get_card(player, player, self)
     player.hand.append(new_minon)