From 415af833769b5e739f02f4821546e3afd4f76426 Mon Sep 17 00:00:00 2001 From: NilsUeter Date: Sat, 28 Mar 2026 17:19:29 +0100 Subject: [PATCH] remove weird new recruit keywords --- src/10th/Roster.jsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/10th/Roster.jsx b/src/10th/Roster.jsx index 86033cb..4967c4a 100644 --- a/src/10th/Roster.jsx +++ b/src/10th/Roster.jsx @@ -1030,8 +1030,15 @@ const factionIcons = { ), }; +const removeKeywordsSet = new Set([ + "Melee Weapon", + "Ranged Weapon", + "Attacks Dx Weapon", + "Extra Attacks Weapon" +]); + const Keywords = ({ keywords }) => { - const joinedKeywords = [...keywords].join(", "); + const joinedKeywords = [...keywords].filter(key => !removeKeywordsSet.has(key)).join(", ") return (