From b2178fec85027348157a5442a81d00479154e581 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Mon, 4 May 2026 13:57:03 +0200 Subject: [PATCH] fix/match_collector: fix boots handling --- match_collector/src/champion_stat.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/match_collector/src/champion_stat.ts b/match_collector/src/champion_stat.ts index 4196851..6e83066 100644 --- a/match_collector/src/champion_stat.ts +++ b/match_collector/src/champion_stat.ts @@ -219,17 +219,10 @@ function handleMatchBuilds( } if (event.type != 'ITEM_PURCHASED') continue - // Handle boots upgrades - if ( - itemInfo.requiredBuffCurrencyName == 'Feats_NoxianBootPurchaseBuff' || - itemInfo.requiredBuffCurrencyName == 'Feats_SpecialQuestBootBuff' - ) { - continue - } - // Handle boots differently if (itemInfo.categories.includes('Boots')) { - if (itemInfo.to.length == 0 || (itemInfo.to[0] >= 3171 && itemInfo.to[0] <= 3176)) { + // Ignore basic boots, only count Tier 2 boots + if (event.itemId != 1001) { // Check for bootsFirst if (items.length < 2) { build.bootsFirstCount += 1