From 891f02a63c80d525dc17c5478b13702a2d3757fe Mon Sep 17 00:00:00 2001 From: manon Date: Tue, 10 Sep 2024 15:23:32 +0200 Subject: [PATCH] mise a jour --- Mini projet nb1.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Mini projet nb1.py b/Mini projet nb1.py index 31b03d5..b0b9982 100644 --- a/Mini projet nb1.py +++ b/Mini projet nb1.py @@ -1,4 +1,13 @@ from random import randint class Personnage: - def __init__(self, nom, pdv, exp, cat inventaire): - self. \ No newline at end of file + def __init__(self, nom, pdv, exp, cat): + pdv = 20 + exp = 1 + self.nom = nom + self.pdv = pdv + self.exp = exp + self.cat = cat + self.inventaire = [] + + def jet_attaque (self): + \ No newline at end of file