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.
This commit is contained in:
GaboGG 2026-07-31 10:45:17 -04:00
parent 2f711db66c
commit 7442d7c512
5 changed files with 9 additions and 6 deletions

View file

@ -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();
}

View file

@ -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();
}

View file

@ -2,7 +2,7 @@
// CONFIG — default settings
// ═══════════════════════════════════════════════════════════════════════
const VERSION = '0.14.38';
const VERSION = '0.14.39';
const CFG = {
// — Battle automation

View file

@ -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/*

View file

@ -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();
}