Exemple #1
0
 def __init__(self, sex, race, level, danger, attack, health, armor, job):
     creature.__init__(self, sex, race, level, danger, attack, health, armor, job)
     self.ability = 'transformation'
     self.race = 'werewolf'
     self.state = 'human'
     self.armor += creature.standard
     self.attack -= creature.little
     self.health -= creature.little
     self.portrait += 'werewolf.txt'
Exemple #2
0
 def __init__(self, sex, race, level, danger, attack, health, armor, job):
     creature.__init__(self, sex, race, level, danger, attack, health,
                       armor, job)
     self.ability = 'invulnerability'
     self.race = 'human'
     self.state = self.race
     self.armor -= creature.standard
     self.attack -= creature.standard
     self.health += creature.much
     self.real_health = self.health
     self.portrait += 'treant.txt'
Exemple #3
0
 def __init__(self, sex, race, level, danger, attack, health, armor, job):
     creature.__init__(self, sex, race, level, danger, attack, health,
                       armor, job)
     self.ability = 'restore'
     self.race = 'tech'
     self.state = self.race
     self.armor += creature.much
     self.attack -= creature.standard
     self.health -= creature.standard
     self.max_health = self.health
     self.portrait += 'tech.txt'
Exemple #4
0
 def __init__(self, sex, race, level, danger, attack, health, armor, job):
     creature.__init__(self, sex, race, level, danger, attack, health,
                       armor, job)
     self.ability = 'devour'
     self.race = 'human'
     self.state = self.race
     self.armor -= creature.standard
     self.attack -= creature.standard
     self.health += creature.much
     self.souls = 0
     self.portrait += 'demon.txt'
Exemple #5
0
 def __init__(self, sex, race, level, danger, attack, health, armor, job):
     creature.__init__(self, sex, race, level, danger, attack, health,
                       armor, job)
     # print("\nbefore:\nsex : {}\nrace : {}\nlevel : {}\ndanger : {}\nattack : {}\nhealth : {}\narmor : {}\njob : {}\n\n".format(self.sex, self.race, self.level, self.danger, self.attack, self.health, self.armor, self.job))
     self.ability = None
     self.money = 1000
     self.race = 'human'
     self.state = self.race
     self.armor += creature.standard
     self.attack -= creature.little
     self.health -= creature.little
     if self.sex == 'male':
         self.portrait += 'man.txt'
     else:
         self.portrait += 'woman.txt'