Browse Source

quelques ajouts subjectifs

master
alexi.forestier 10 months ago
parent
commit
1d4822db6b
  1. 8
      jdr.py

8
jdr.py

@ -19,7 +19,7 @@ class Personnage:
self.inventaire = ["épée malveillante", "Potion"]
self.coefAtk = 8
self.coefDef = 8
elif self.cat == "Déesee":
elif self.cat == "Déesse":
self.inventaire = ["Bâton miraculeux", "Potion"]
self.coefAtk = 7
self.coefDef = 9
@ -140,15 +140,11 @@ def combat(Perso1, Perso2):
Perso1 = Personnage("Squeezie", choice(["Déesee", "Fée", "Démon", "Géant"]))
Perso2 = Personnage("TiboInShape", choice(["Déesee", "Fée", "Démon", "Géant"]))
# commande utile à copier :
# - combat(Squeezie, TiboInShape)
# - combat(Perso1, Perso2)

Loading…
Cancel
Save