mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Turned back bodyfunctions example to returning more seldomly
This commit is contained in:
parent
f35fd236b7
commit
cdde9fb955
1 changed files with 3 additions and 3 deletions
|
|
@ -33,9 +33,9 @@ class BodyFunctions(Script):
|
|||
a random check here so as to only return 33% of the time.
|
||||
"""
|
||||
|
||||
#if random.random() < 0.66:
|
||||
# # no message this time
|
||||
# return
|
||||
if random.random() < 0.66:
|
||||
# no message this time
|
||||
return
|
||||
rand = random.random()
|
||||
# return a random message
|
||||
if rand < 0.1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue