From 7442d7c51289afcc8b4b3d0e948141c8ee15461c Mon Sep 17 00:00:00 2001 From: GaboGG Date: Fri, 31 Jul 2026 10:45:17 -0400 Subject: [PATCH] v0.14.39 - Call enhanceGearAnalysis on equipshop pages (ss=eq) Bug: init.js only called enhanceGearAnalysis() when STATE.page === 'armory'. The equipment page (ss=eq) maps to STATE.page === 'equipshop' in page-detector.js, so the button never rendered. Fix: added the equipshop case. --- scripts/hv-unified.user.js | 5 +++-- scripts/latest.user.js | 5 +++-- src/config.js | 2 +- src/header.user.js | 2 +- src/init.js | 1 + 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/scripts/hv-unified.user.js b/scripts/hv-unified.user.js index dbc3568..b562840 100644 --- a/scripts/hv-unified.user.js +++ b/scripts/hv-unified.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name HV Unified // @namespace hvunified -// @version 0.14.38 +// @version 0.14.39 // @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse // @author GaboGG + Hermes // @match *://*.hentaiverse.org/* @@ -17,7 +17,7 @@ // CONFIG — default settings // ═══════════════════════════════════════════════════════════════════════ -const VERSION = '0.14.38'; +const VERSION = '0.14.39'; const CFG = { // — Battle automation @@ -4348,6 +4348,7 @@ function init() { if (STATE.page === 'character') showGuidancePanel(); if (STATE.page === 'settings') enhanceSettings(); if (STATE.page === 'armory') { enhanceArmory(); enhanceGearAnalysis(); } + if (STATE.page === 'equipshop') enhanceGearAnalysis(); if (STATE.page === 'abilities') enhanceAbilities(); if (STATE.page === 'monster') enhanceMonsterLab(); } diff --git a/scripts/latest.user.js b/scripts/latest.user.js index dbc3568..b562840 100644 --- a/scripts/latest.user.js +++ b/scripts/latest.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name HV Unified // @namespace hvunified -// @version 0.14.38 +// @version 0.14.39 // @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse // @author GaboGG + Hermes // @match *://*.hentaiverse.org/* @@ -17,7 +17,7 @@ // CONFIG — default settings // ═══════════════════════════════════════════════════════════════════════ -const VERSION = '0.14.38'; +const VERSION = '0.14.39'; const CFG = { // — Battle automation @@ -4348,6 +4348,7 @@ function init() { if (STATE.page === 'character') showGuidancePanel(); if (STATE.page === 'settings') enhanceSettings(); if (STATE.page === 'armory') { enhanceArmory(); enhanceGearAnalysis(); } + if (STATE.page === 'equipshop') enhanceGearAnalysis(); if (STATE.page === 'abilities') enhanceAbilities(); if (STATE.page === 'monster') enhanceMonsterLab(); } diff --git a/src/config.js b/src/config.js index 61fded9..f67ae7e 100644 --- a/src/config.js +++ b/src/config.js @@ -2,7 +2,7 @@ // CONFIG — default settings // ═══════════════════════════════════════════════════════════════════════ -const VERSION = '0.14.38'; +const VERSION = '0.14.39'; const CFG = { // — Battle automation diff --git a/src/header.user.js b/src/header.user.js index 05f7b98..f6ffb8d 100644 --- a/src/header.user.js +++ b/src/header.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name HV Unified // @namespace hvunified -// @version 0.14.38 +// @version 0.14.39 // @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse // @author GaboGG + Hermes // @match *://*.hentaiverse.org/* diff --git a/src/init.js b/src/init.js index ea75152..f7c9afc 100644 --- a/src/init.js +++ b/src/init.js @@ -25,6 +25,7 @@ function init() { if (STATE.page === 'character') showGuidancePanel(); if (STATE.page === 'settings') enhanceSettings(); if (STATE.page === 'armory') { enhanceArmory(); enhanceGearAnalysis(); } + if (STATE.page === 'equipshop') enhanceGearAnalysis(); if (STATE.page === 'abilities') enhanceAbilities(); if (STATE.page === 'monster') enhanceMonsterLab(); }