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