generated from Nemesis/Exemple
Limites
This commit is contained in:
parent
34aceb3668
commit
58c6c3457d
1 changed files with 5 additions and 0 deletions
|
@ -224,6 +224,8 @@ def roll(result,type,explosif,nb,f,noadd,ars,relance,mitige):
|
||||||
def rolls(result,jet,type,nb,explosif,noadd,wild,f,g,ars,relance,mitige):
|
def rolls(result,jet,type,nb,explosif,noadd,wild,f,g,ars,relance,mitige):
|
||||||
total = 0
|
total = 0
|
||||||
allresult = []
|
allresult = []
|
||||||
|
if (nb > 10000)
|
||||||
|
nb = 10000
|
||||||
tmp=(type and nb)
|
tmp=(type and nb)
|
||||||
if (tmp):
|
if (tmp):
|
||||||
jet += str(nb)+"d"+str(type)
|
jet += str(nb)+"d"+str(type)
|
||||||
|
@ -705,7 +707,10 @@ def horloge(room, event):
|
||||||
def invitations(room_id, state):
|
def invitations(room_id, state):
|
||||||
global bot
|
global bot
|
||||||
try:
|
try:
|
||||||
|
global bot
|
||||||
bot.client.join_room(room_id)
|
bot.client.join_room(room_id)
|
||||||
|
del bot
|
||||||
|
main()
|
||||||
except:
|
except:
|
||||||
print("Impossible de rejoindre ce salon")
|
print("Impossible de rejoindre ce salon")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue