feat: add haki user categorization in character fetch logic
Build Docker Image / build (push) Successful in 1m57s

This commit is contained in:
2026-05-25 21:38:41 +02:00
parent a77f84f595
commit be7d3bc983
+11
View File
@@ -495,6 +495,17 @@ async function fetchCharacter(
let hakiArmament = false;
let hakiConqueror = false;
for (const cat of categories) {
const catName = cat['*'] || '';
if (catName === 'Observation_Haki_Users') {
hakiObservation = true;
} else if (catName === 'Armament_Haki_Users') {
hakiArmament = true;
} else if (catName === 'Supreme_King_Haki_Users') {
hakiConqueror = true;
}
}
// Extract bounty
const bounty = extractBounty($);