diff --git a/scripts/hv-unified.user.js b/scripts/hv-unified.user.js index 6b0d24f..3abd29f 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.15.1 +// @version 0.15.2 // @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.15.1'; +const VERSION = '0.15.2'; const CFG = { // — Battle automation @@ -1449,8 +1449,9 @@ function strategyVeteran() { } // 0d. Spirit Stance for burst clear — toggle on for 7+ mob, off after one skill + // Gated by CFG.autoSpirit (default OFF — manual toggle only) const is2H = STATE.skillsKnown.includes('Great Cleave') || STATE.skillsKnown.includes('Rending Blow'); - if (is2H && STATE.monsters && STATE.monsters.length >= 7 && STATE.oc >= (CFG.skillOC || 60)) { + if (CFG.autoSpirit && is2H && STATE.monsters && STATE.monsters.length >= 7 && STATE.oc >= (CFG.skillOC || 60)) { if (STATE._spiritForSkill >= 1 && STATE.spiritStance) { if (STATE._spiritForSkill === 1) { STATE._spiritForSkill = 2; diff --git a/scripts/latest.user.js b/scripts/latest.user.js index 6b0d24f..3abd29f 100644 --- a/scripts/latest.user.js +++ b/scripts/latest.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name HV Unified // @namespace hvunified -// @version 0.15.1 +// @version 0.15.2 // @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.15.1'; +const VERSION = '0.15.2'; const CFG = { // — Battle automation @@ -1449,8 +1449,9 @@ function strategyVeteran() { } // 0d. Spirit Stance for burst clear — toggle on for 7+ mob, off after one skill + // Gated by CFG.autoSpirit (default OFF — manual toggle only) const is2H = STATE.skillsKnown.includes('Great Cleave') || STATE.skillsKnown.includes('Rending Blow'); - if (is2H && STATE.monsters && STATE.monsters.length >= 7 && STATE.oc >= (CFG.skillOC || 60)) { + if (CFG.autoSpirit && is2H && STATE.monsters && STATE.monsters.length >= 7 && STATE.oc >= (CFG.skillOC || 60)) { if (STATE._spiritForSkill >= 1 && STATE.spiritStance) { if (STATE._spiritForSkill === 1) { STATE._spiritForSkill = 2; diff --git a/src/config.js b/src/config.js index c5e3c89..aeb9668 100644 --- a/src/config.js +++ b/src/config.js @@ -2,7 +2,7 @@ // CONFIG — default settings // ═══════════════════════════════════════════════════════════════════════ -const VERSION = '0.15.1'; +const VERSION = '0.15.2'; const CFG = { // — Battle automation diff --git a/src/header.user.js b/src/header.user.js index ae472b3..325ec74 100644 --- a/src/header.user.js +++ b/src/header.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name HV Unified // @namespace hvunified -// @version 0.15.1 +// @version 0.15.2 // @description HV Unified — battle automation, guidance, and UI enhancements for HentaiVerse // @author GaboGG + Hermes // @match *://*.hentaiverse.org/* diff --git a/src/strategy-engine.js b/src/strategy-engine.js index 77a8b26..c931b2d 100644 --- a/src/strategy-engine.js +++ b/src/strategy-engine.js @@ -723,8 +723,9 @@ function strategyVeteran() { } // 0d. Spirit Stance for burst clear — toggle on for 7+ mob, off after one skill + // Gated by CFG.autoSpirit (default OFF — manual toggle only) const is2H = STATE.skillsKnown.includes('Great Cleave') || STATE.skillsKnown.includes('Rending Blow'); - if (is2H && STATE.monsters && STATE.monsters.length >= 7 && STATE.oc >= (CFG.skillOC || 60)) { + if (CFG.autoSpirit && is2H && STATE.monsters && STATE.monsters.length >= 7 && STATE.oc >= (CFG.skillOC || 60)) { if (STATE._spiritForSkill >= 1 && STATE.spiritStance) { if (STATE._spiritForSkill === 1) { STATE._spiritForSkill = 2;