コード例 #1
0
    def __init__(self, x, y, game):
        self.bodyX = x
        self.bodyY = y
        self.health = 100
        self.attack = 3
        self.attackBonus = 0
        self.defense = 3
        self.defenseBonus = 0
        self.difficultyScale = 1
        self.game = game
        self.inventory = Inventory.Items(self)

        self.intimidation = 0
        self.gold = 0