manon
2 months ago
1 changed files with 11 additions and 2 deletions
@ -1,4 +1,13 @@ |
|||
from random import randint |
|||
class Personnage: |
|||
def __init__(self, nom, pdv, exp, cat inventaire): |
|||
self. |
|||
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): |
|||
|
Loading…
Reference in new issue