Ejemplo n.º 1
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.º 2
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))))
                   ])