from postac import Postac
from random import choice, randint

class Przeciwnik(Postac):
    def __init__(self, gracz):
        super().__init__()
        self.nazwa = choice(["goblin", "szkielet","zombie"])
        self.zycie = randint(1, gracz.zycie)