Ejemplo n.º 1
0
 def create_minion(self, player):
     return Minion(0,
                   5,
                   effects=[
                       Effect(TurnStarted(), Heal(3),
                              CharacterSelector(picker=RandomPicker()))
                   ])
Ejemplo n.º 2
0
 def use(self, player, game):
     super().use(player, game)
     for minion in player.minions:
         if not minion.stealth:
             aura = Aura(Stealth(), SelfSelector())
             minion.add_aura(aura)
             minion.add_effect(
                 Effect(TurnStarted(), Take(aura), SelfSelector()))
Ejemplo n.º 3
0
 def create_minion(self, player):
     return Minion(0,
                   5,
                   effects=[
                       Effect(
                           TurnStarted(),
                           ActionTag(
                               Heal(3),
                               CharacterSelector(condition=IsDamaged(),
                                                 picker=RandomPicker())))
                   ])
Ejemplo n.º 4
0
 def use(self, player, game):
     super().use(player, game)
     for minion in player.minions:
         if not minion.stealth:
             minion.add_buff(BuffUntil(Stealth(), TurnStarted()))
Ejemplo n.º 5
0
 def use(self, player, game):
     super().use(player, game)
     self.target.add_buff(BuffUntil(Stealth(), TurnStarted()))
Ejemplo n.º 6
0
 def use(self, player, game):
     super().use(player, game)
     self.target.add_effect(Effect(TurnStarted(player=EnemyPlayer()), ActionTag(Kill(), SelfSelector())))
Ejemplo n.º 7
0
 def use(self, player, game):
     super().use(player, game)
     self.target.add_buff(
         SetTrue(CHARACTER_STATUS.STEALTH, until=TurnStarted()))
Ejemplo n.º 8
0
 def use(self, player, game):
     super().use(player, game)
     for minion in player.minions:
         if not minion.stealth:
             minion.add_buff(SetTrue(CHARACTER_STATUS.STEALTH, until=TurnStarted()))