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
This commit is contained in:
GaboGG 2026-07-26 13:49:20 -04:00
parent c0c626c0bf
commit 5f9297435d
5 changed files with 18 additions and 6 deletions

View file

@ -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');

View file

@ -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');

View file

@ -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');

View file

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

View file

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