Skip to content
Extraits de code Groupes Projets
Valider e23d9ed9 rédigé par Milipi's avatar Milipi
Parcourir les fichiers

Ajout critiques + maj save

parent 4bcc174d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -454,7 +454,12 @@ async def r(ctx, what, characterName = None):
randompart = random.choice(range(1, 20 + 1))
custom = floor((int(attr.level)-10)/2)
res = randompart - custom
await ctx.send('The result for the {0} check is : {1} ({2} - {3})'.format(what, res,randompart,custom))
if randompart==1:
await ctx.send('*Réussite critique !*\nThe result for the {0} check is : {1} ({2} - {3})'.format(what, res,randompart,custom))
elif randompart==20:
await ctx.send('*Échec critique !*\nThe result for the {0} check is : {1} ({2} - {3})'.format(what, res,randompart,custom))
else:
await ctx.send('The result for the {0} check is : {1} ({2} - {3})'.format(what, res,randompart,custom))
return
elif char.system=="LN":
roll = []
......
Aucun aperçu pour ce type de fichier
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter