From 0d57fead61fa19d1279d58201e36abe81a313d31 Mon Sep 17 00:00:00 2001 From: GaboGG Date: Tue, 21 Jul 2026 14:07:17 -0400 Subject: [PATCH] Shadow Veil fix: use correct icon key 'shadowveil', minTurns=3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shadow Veil buff icon is stored as 'shadowveil' (from img src filename, no underscore). Priority list now uses the correct key. minTurns=3 prevents recasting while still active. Also moved to last priority position — only cast when MP is plentiful. --- scripts/hv-unified.user.js | 4 ++-- scripts/latest.user.js | 4 ++-- src/strategy-engine.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/hv-unified.user.js b/scripts/hv-unified.user.js index 240c50f..44a8d3b 100644 --- a/scripts/hv-unified.user.js +++ b/scripts/hv-unified.user.js @@ -681,8 +681,8 @@ const BUFF_PRIORITY = [ { icon: 'spark_of_life', spell: 'Spark of Life', minTurns: 1 }, { icon: 'regen', spell: 'Regen', minTurns: 2 }, { icon: 'absorb', spell: 'Absorb', minTurns: 2 }, - // Shadow Veil excluded from auto-buff rotation — expensive and drains MP - // from Cure. Cast manually when MP is plentiful. + // Shadow Veil: icon key = lowercased spell name without spaces + { icon: 'shadowveil', spell: 'Shadow Veil', minTurns: 3 }, ]; // Known important monster names (bosses, legendaries, ultimates) diff --git a/scripts/latest.user.js b/scripts/latest.user.js index 240c50f..44a8d3b 100644 --- a/scripts/latest.user.js +++ b/scripts/latest.user.js @@ -681,8 +681,8 @@ const BUFF_PRIORITY = [ { icon: 'spark_of_life', spell: 'Spark of Life', minTurns: 1 }, { icon: 'regen', spell: 'Regen', minTurns: 2 }, { icon: 'absorb', spell: 'Absorb', minTurns: 2 }, - // Shadow Veil excluded from auto-buff rotation — expensive and drains MP - // from Cure. Cast manually when MP is plentiful. + // Shadow Veil: icon key = lowercased spell name without spaces + { icon: 'shadowveil', spell: 'Shadow Veil', minTurns: 3 }, ]; // Known important monster names (bosses, legendaries, ultimates) diff --git a/src/strategy-engine.js b/src/strategy-engine.js index 50d129d..2036303 100644 --- a/src/strategy-engine.js +++ b/src/strategy-engine.js @@ -37,8 +37,8 @@ const BUFF_PRIORITY = [ { icon: 'spark_of_life', spell: 'Spark of Life', minTurns: 1 }, { icon: 'regen', spell: 'Regen', minTurns: 2 }, { icon: 'absorb', spell: 'Absorb', minTurns: 2 }, - // Shadow Veil excluded from auto-buff rotation — expensive and drains MP - // from Cure. Cast manually when MP is plentiful. + // Shadow Veil: icon key = lowercased spell name without spaces + { icon: 'shadowveil', spell: 'Shadow Veil', minTurns: 3 }, ]; // Known important monster names (bosses, legendaries, ultimates)