Reduce chances to for random events even more. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit aff69a238d22baa6fa2da679df8b03b01386f744 DIR parent babf554440c22f70f47c442504d2d9797505ed08 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 29 Aug 2023 21:06:44 +0200 Reduce chances to for random events even more. Diffstat: M modules/idlerpg/idlerpg-channel-se… | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/modules/idlerpg/idlerpg-channel-service.py b/modules/idlerpg/idlerpg-channel-service.py @@ -223,10 +223,10 @@ def main(args): say(chaninpath, "%s levelled down to level %s." % (hacker, newlevel)) hackers[hacker][5] = newlevel - if random.randint(1, 65535) > 65000 and len(hackers) > 1: + if random.randint(1, 65535) > 65500 and len(hackers) > 1: (attacker, defender) = random.choices(list(hackers.keys()), k=2) attack(hackers, attacker, defender) - elif random.randint(1, 65535) < 500 and len(hackers) > 1: + elif random.randint(1, 65535) < 10 and len(hackers) > 1: questhackers = random.choices(list(hackers.keys()), k=random.randint(1, len(hackers))) go_on_quest(hackers, questhackers)