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