mirror of
https://github.com/solero/houdini.git
synced 2024-11-21 21:17:21 +00:00
Reduce chance of receiving system EPF invite
Potential in future for this to be a config option
This commit is contained in:
parent
b507ae13d4
commit
a9836f5f2b
@ -26,7 +26,7 @@ async def get_com_messages(p):
|
||||
@handlers.handler(XTPacket('l', 'mst'), before=handle_start_mail_engine)
|
||||
async def handle_send_job_mail(p):
|
||||
postcards = []
|
||||
if not p.agent_status and random.random() < 0.4:
|
||||
if not p.agent_status and random.random() < 0.1:
|
||||
epf_invited = await PenguinPostcard.query.where(
|
||||
(PenguinPostcard.penguin_id == p.id) & ((PenguinPostcard.postcard_id == 112)
|
||||
| (PenguinPostcard.postcard_id == 47))).gino.scalar()
|
||||
|
Loading…
Reference in New Issue
Block a user