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