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:
parent
c0c626c0bf
commit
5f9297435d
5 changed files with 18 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name HV Unified
|
// @name HV Unified
|
||||||
// @namespace hvunified
|
// @namespace hvunified
|
||||||
// @version 0.13.8
|
// @version 0.13.13
|
||||||
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
||||||
// @author GaboGG + Hermes
|
// @author GaboGG + Hermes
|
||||||
// @match *://*.hentaiverse.org/*
|
// @match *://*.hentaiverse.org/*
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
// CONFIG — default settings
|
// CONFIG — default settings
|
||||||
// ═══════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
const VERSION = '0.13.8';
|
const VERSION = '0.13.13';
|
||||||
|
|
||||||
const CFG = {
|
const CFG = {
|
||||||
// — Battle automation
|
// — 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 ──
|
// ── Level & difficulty ──
|
||||||
const container = document.querySelector('#level_readout > div');
|
const container = document.querySelector('#level_readout > div');
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name HV Unified
|
// @name HV Unified
|
||||||
// @namespace hvunified
|
// @namespace hvunified
|
||||||
// @version 0.13.8
|
// @version 0.13.13
|
||||||
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
||||||
// @author GaboGG + Hermes
|
// @author GaboGG + Hermes
|
||||||
// @match *://*.hentaiverse.org/*
|
// @match *://*.hentaiverse.org/*
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
// CONFIG — default settings
|
// CONFIG — default settings
|
||||||
// ═══════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
const VERSION = '0.13.8';
|
const VERSION = '0.13.13';
|
||||||
|
|
||||||
const CFG = {
|
const CFG = {
|
||||||
// — Battle automation
|
// — 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 ──
|
// ── Level & difficulty ──
|
||||||
const container = document.querySelector('#level_readout > div');
|
const container = document.querySelector('#level_readout > div');
|
||||||
|
|
|
||||||
|
|
@ -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 ──
|
// ── Level & difficulty ──
|
||||||
const container = document.querySelector('#level_readout > div');
|
const container = document.querySelector('#level_readout > div');
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// CONFIG — default settings
|
// CONFIG — default settings
|
||||||
// ═══════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
const VERSION = '0.13.8';
|
const VERSION = '0.13.13';
|
||||||
|
|
||||||
const CFG = {
|
const CFG = {
|
||||||
// — Battle automation
|
// — Battle automation
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name HV Unified
|
// @name HV Unified
|
||||||
// @namespace hvunified
|
// @namespace hvunified
|
||||||
// @version 0.13.8
|
// @version 0.13.13
|
||||||
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
// @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse
|
||||||
// @author GaboGG + Hermes
|
// @author GaboGG + Hermes
|
||||||
// @match *://*.hentaiverse.org/*
|
// @match *://*.hentaiverse.org/*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue