From 6d00cfe63232351d6c76742f17b2c869b4841a08 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Mon, 9 Mar 2026 11:57:40 -0500 Subject: [PATCH] docs: annotate known 6-card premium pack bug as intentional The `if` (instead of `elif`) on Card 4's rarity roll gives a bonus 6th card ~10% of the time. Marked as a beloved league feature. Co-Authored-By: Claude Opus 4.6 --- helpers/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helpers/main.py b/helpers/main.py index 3662116..9823183 100644 --- a/helpers/main.py +++ b/helpers/main.py @@ -752,7 +752,9 @@ async def roll_for_cards(all_packs: list, extra_val=None) -> list: d_1000 = random.randint(1, 1000) if d_1000 <= 100: counts["Rep"]["count"] += 1 - if d_1000 <= 530: + if ( + d_1000 <= 530 + ): # Known bug: should be elif — gives a bonus 6th card ~10% of the time. Do not fix. counts["Res"]["count"] += 1 elif d_1000 <= 930: counts["Sta"]["count"] += 1