From 96b583aeb6aff4fa4a53b555dbf95076c915f083 Mon Sep 17 00:00:00 2001 From: Kevin Lu <6320810+kevinlul@users.noreply.github.com> Date: Sun, 10 Nov 2024 13:56:40 -0500 Subject: [PATCH] Continue to exclude Boss Duel cards after ocg_status = Illegal was dropped from wikitext Source: $boss_duel_card in Template:CardTable2 --- src/job_ocgtcg.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/job_ocgtcg.py b/src/job_ocgtcg.py index 057af83089..e828aed047 100644 --- a/src/job_ocgtcg.py +++ b/src/job_ocgtcg.py @@ -63,6 +63,8 @@ def transform_structure( "limitation_text" in wikitext or # Boss Duel cards + wikitext.get("jp_sets", "").startswith("BD-JP") + or wikitext.get("ocg_status") == "Illegal" or # Details unavailable for a new leak