Example #1
0
 def __init__(self):
     self._pokename = "Electrode_" + str(random.randint(1, 100000))
     self._max_health = 50
     self.attack = 0.20
     self.defence = 0.10
     self.speed = 23
     self.poketype = PokemonType.ELECTRIC
     self.actions = list([Actions.Attack("Electrospit", 1, 14, 0.7),
                          Actions.Attack("Electroblow", 1, 22, 0.6),
                          Actions.Defence("Electroshield", 1, 0.1),
                          Actions.Defence("Electrobulb", 1, 0.3),
                          Actions.Waiting()])
     self.effects = list()
Example #2
0
 def __init__(self):
     self._pokename = "Krabby_" + str(random.randint(1, 100000))
     self._max_health = 75
     self.attack = 0.15
     self._defence = 0.10
     self.speed = 17
     self.poketype = PokemonType.WATER
     self.actions = list([Actions.Attack("Claw Bite", 1, 12, 0.8),
                          Actions.Attack("Claw Smash", 1, 17, 0.6, effects=[
                              Effects.Stun("Claw Smash", 100)
                          ]),
                          Actions.Defence("Crab Defence", 1, 0.2),
                          Actions.Defence("Super Crab Defence", 1, 0.4),
                          Actions.Waiting()])
     self.effects = list()
Example #3
0
 def __init__(self):
     self._pokename = "Eevee_" + str(random.randint(1, 100000))
     self._max_health = 50
     self.attack = 0.15
     self.defence = 0.0
     self.speed = 30
     self.actions = list([Actions.Attack("Tail Slash", 1, 10, 0.8),
                          Actions.Attack("Mighty Bite", 1, 18, 0.6),
                          Actions.Defence("Tail Propeller", 1, 0.1, effects=[
                              Effects.CombatEffect("Damage Boost", 120, attack=0.3)
                          ]),
                          Actions.Defence("Tail Dome", 1, 0.2, effects=[
                              Effects.Healing("Healing", 150, 3)
                          ]),
                          Actions.Waiting()])
     self.effects = list()