From 5f9297435daf20e43934aaa055953958324a80a1 Mon Sep 17 00:00:00 2001 From: GaboGG Date: Sun, 26 Jul 2026 13:49:20 -0400 Subject: [PATCH] v0.13.13 - Fix channeling detection from effects pane (not just log) - Channeling detection was ONLY from battle log text entries - When log entries scroll off (new round starts), the 'gains the effect' message is lost and STATE.channeling stays false permanently - Added effects pane check: if channeling.png is visible, force channeling=true - This fixes the root cause of channeling being ignored when the log has scrolled past the proc message - Also bumped version properly this time --- scripts/hv-unified.user.js | 8 ++++++-- scripts/latest.user.js | 8 ++++++-- src/battle-parser.js | 4 ++++ src/config.js | 2 +- src/header.user.js | 2 +- 5 files changed, 18 insertions(+), 6 deletions(-) diff --git a/scripts/hv-unified.user.js b/scripts/hv-unified.user.js index c7c38e5..73dad37 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.13.8 +// @version 0.13.13 // @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.13.8'; +const VERSION = '0.13.13'; const CFG = { // — Battle automation @@ -367,6 +367,10 @@ function parseBattleState() { } }); } + // Also check the effects pane for channeling (more reliable — log entries scroll off) + if ($('#pane_effects img[src$="channeling.png"]')) { + STATE.channeling = true; + } // ── Level & difficulty ── const container = document.querySelector('#level_readout > div'); diff --git a/scripts/latest.user.js b/scripts/latest.user.js index c7c38e5..73dad37 100644 --- a/scripts/latest.user.js +++ b/scripts/latest.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name HV Unified // @namespace hvunified -// @version 0.13.8 +// @version 0.13.13 // @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.13.8'; +const VERSION = '0.13.13'; const CFG = { // — Battle automation @@ -367,6 +367,10 @@ function parseBattleState() { } }); } + // Also check the effects pane for channeling (more reliable — log entries scroll off) + if ($('#pane_effects img[src$="channeling.png"]')) { + STATE.channeling = true; + } // ── Level & difficulty ── const container = document.querySelector('#level_readout > div'); diff --git a/src/battle-parser.js b/src/battle-parser.js index d0c40fe..decbecb 100644 --- a/src/battle-parser.js +++ b/src/battle-parser.js @@ -27,6 +27,10 @@ function parseBattleState() { } }); } + // Also check the effects pane for channeling (more reliable — log entries scroll off) + if ($('#pane_effects img[src$="channeling.png"]')) { + STATE.channeling = true; + } // ── Level & difficulty ── const container = document.querySelector('#level_readout > div'); diff --git a/src/config.js b/src/config.js index 2253321..0cd03f6 100644 --- a/src/config.js +++ b/src/config.js @@ -2,7 +2,7 @@ // CONFIG — default settings // ═══════════════════════════════════════════════════════════════════════ -const VERSION = '0.13.8'; +const VERSION = '0.13.13'; const CFG = { // — Battle automation diff --git a/src/header.user.js b/src/header.user.js index 6d41e96..d76e8f1 100644 --- a/src/header.user.js +++ b/src/header.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name HV Unified // @namespace hvunified -// @version 0.13.8 +// @version 0.13.13 // @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse // @author GaboGG + Hermes // @match *://*.hentaiverse.org/*