Пример #1
0
    def __init__(self, stats=["Entity", 10, 10, 10, 4, 3, 3]):
        Entity.__init__(self, stats[:4])
        self.level = 1
        self.xp = 0
        self.max_xp = 100
        self.mp = self.int
        self.max_mp = self.mp
        self.gold = 0

        # Stat Gain per Level
        self.str_gain = stats[4]
        self.dex_gain = stats[5]
        self.int_gain = stats[6]
 def __init__(self):
     stats = ["Astral Drednaught", 65, 10, 45]  # 120 Total
     Entity.__init__(self, stats)
 def __init__(self):
     stats = ["Green Dragon", 45, 20, 25]  # 90 Total
     Entity.__init__(self, stats)
 def __init__(self):
     stats = ["Beholder", 30, 12, 23]  # 65 Total
     Entity.__init__(self, stats)
 def __init__(self):
     stats = ["Owlbear", 25, 8, 12]  # 45 Total
     Entity.__init__(self, stats)
 def __init__(self):
     stats = ["Giant Spider", 10, 22, 8]  # 30 Total
     Entity.__init__(self, stats)
 def __init__(self):
     stats = ["Goblin", 4, 10, 6]  # 20 Total
     Entity.__init__(self, stats)
 def __init__(self):
     stats = ["Wolf", 2, 10, 3]  # 15 Total
     Entity.__init__(self, stats)
 def __init__(self):
     stats = ["Mouse", 1, 3, 1]  # 5 Total
     Entity.__init__(self, stats)