Exemple #1
0
 def create_weapon(self, player):
     return Weapon(4,
                   2,
                   effects=[
                       Effect(CharacterAttack(IsHero()),
                              ActionTag(Heal(2), HeroSelector()))
                   ])
Exemple #2
0
 def create_weapon(self, player):
     return Weapon(7,
                   1,
                   effects=[
                       Effect(
                           CharacterAttack(And(IsHero(), TargetIsMinion())),
                           ActionTag(IncreaseDurability(), HeroSelector()))
                   ])
Exemple #3
0
 def create_weapon(self, player):
     return Weapon(5,
                   2,
                   effects=[
                       Effect(
                           CharacterAttack(IsHero()),
                           ActionTag(
                               Give(BuffUntil(Immune(), AttackCompleted())),
                               HeroSelector()))
                   ])
Exemple #4
0
 def create_weapon(self, player):
     return Weapon(
         7,
         1,
         effects=[
             Effect(CharacterAttack(And(IsHero(), TargetIsMinion())), [
                 ActionTag(IncreaseDurability(), HeroSelector()),
                 ActionTag(IncreaseWeaponAttack(-1), HeroSelector()),
                 ActionTag(
                     Give(BuffUntil(ChangeAttack(1), AttackCompleted())),
                     HeroSelector())
             ])
         ])
Exemple #5
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))))
                   ])