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:
parent
2f711db66c
commit
7442d7c512
5 changed files with 9 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// CONFIG — default settings
|
||||
// ═══════════════════════════════════════════════════════════════════════
|
||||
|
||||
const VERSION = '0.14.38';
|
||||
const VERSION = '0.14.39';
|
||||
|
||||
const CFG = {
|
||||
// — Battle automation
|
||||
|
|
|
|||
|
|
@ -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/*
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue