예제 #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 create_minion(self, player):
     return Minion(1,
                   3,
                   effects=[
                       Effect(
                           SpellCast(),
                           ActionTag(Give(ChangeAttack(1)), SelfSelector()))
                   ])
예제 #4
0
 def create_minion(self, player):
     return Minion(5,
                   7,
                   effects=[
                       Effect(SpellCast(),
                              AddCard(hearthbreaker.cards.Fireball()),
                              PlayerSelector())
                   ])
예제 #5
0
 def create_minion(self, player):
     return Minion(1,
                   3,
                   effects=[
                       Effect(
                           SpellCast(),
                           ActionTag(Give(Add(CHARACTER_STATUS.ATTACK, 1)),
                                     SelfSelector()))
                   ])
예제 #6
0
 def use(self, player, game):
     super().use(player, game)
     player.add_aura(AuraUntil(ManaChange(-3), CardSelector(condition=IsSpell()), SpellCast()))
예제 #7
0
 def use(self, player, game):
     super().use(player, game)
     player.add_aura(AuraUntil(ManaChange(-3), SpellSelector(), SpellCast()))
예제 #8
0
 def use(self, player, game):
     super().use(player, game)
     player.add_aura(AuraUntil(Subtract(CARD_STATUS.MANA, 3), CardSelector(condition=IsSpell()), SpellCast()))