erika
2 months ago
commit
371e74b340
1 changed files with 25 additions and 0 deletions
@ -0,0 +1,25 @@ |
|||
from random import randint |
|||
|
|||
class Personnage : |
|||
def __init__(self, nom, cat) : |
|||
self.nom = nom |
|||
self.pdv = 20 |
|||
self.exp = 1 |
|||
self.cat = cat |
|||
if self.cat = "guerrier": |
|||
self.inventaire = ["",""] |
|||
|
|||
|
|||
|
|||
def jet_attaque(self): |
|||
pass |
|||
def jet_defence(self): |
|||
pass |
|||
def change_pdv(self): |
|||
pass |
|||
def change_exp(self): |
|||
pass |
|||
def affiche_carracteristiques(self): |
|||
pass |
|||
def affiche_inventaire(self): |
|||
pass |
Loading…
Reference in new issue