Exemplo n.º 1
0
 def create_weapon(self, player):
     return Weapon(4,
                   2,
                   effects=[
                       Effect(CharacterAttack(IsHero()),
                              ActionTag(Heal(2), HeroSelector()))
                   ])
Exemplo n.º 2
0
 def create_minion(self, player):
     return Minion(1,
                   4,
                   effects=[
                       Effect(DidDamage(),
                              ActionTag(Heal(EventValue()), HeroSelector()))
                   ])
Exemplo n.º 3
0
 def create_minion(self, player):
     return Minion(0,
                   5,
                   effects=[
                       Effect(TurnStarted(), Heal(3),
                              CharacterSelector(picker=RandomPicker()))
                   ])
Exemplo n.º 4
0
 def create_minion(self, player):
     return Minion(0,
                   2,
                   effects=[
                       Effect(
                           TurnEnded(),
                           ActionTag(Heal(1),
                                     MinionSelector(condition=None)))
                   ])
Exemplo n.º 5
0
 def create_minion(self, player):
     return Minion(0,
                   5,
                   effects=[
                       Effect(
                           TurnStarted(),
                           ActionTag(
                               Heal(3),
                               CharacterSelector(condition=IsDamaged(),
                                                 picker=RandomPicker())))
                   ])
Exemplo n.º 6
0
    def __init__(self):

        super().__init__("Ancient of Lore",
                         7,
                         CHARACTER_CLASS.DRUID,
                         CARD_RARITY.EPIC,
                         choices=[
                             Choice(AncientSecrets(), Heal(5), HeroSelector()),
                             Choice(AncientTeachings(), Draw(3),
                                    PlayerSelector())
                         ])
Exemplo n.º 7
0
 def create_minion(self, player):
     from hearthbreaker.tags.action import Heal
     from hearthbreaker.tags.base import Effect
     from hearthbreaker.tags.event import TurnEnded
     from hearthbreaker.tags.selector import MinionSelector
     return hearthbreaker.game_objects.Minion(
         0,
         2,
         effects=[
             Effect(TurnEnded(), Heal(1),
                    MinionSelector(condition=None))
         ])
Exemplo n.º 8
0
 def __init__(self):
     super().__init__("Guardian of Kings",
                      7,
                      CHARACTER_CLASS.PALADIN,
                      CARD_RARITY.COMMON,
                      battlecry=Battlecry(Heal(6), HeroSelector()))
Exemplo n.º 9
0
 def create_minion(self, player):
     return Minion(0, 3, effects=[Effect(TurnEnded(), ActionTag(Heal(4), HeroSelector()))])