hv-unified/src/config.js
GaboGG 949aab915f v0.13.33 - Persist maxBuffDur to localStorage (no more warm-up)
- maxBuffDur now saved to localStorage['hvunified_maxBuffDur'] on every
  new high observation and loaded on STATE init
- Survives page reloads: Heartseeker's 180-turn max stays learned
- Removed the unreliable-max fallback hack — no longer needed
- First Q press of a fresh session has accurate fill-level scores
  for all buffs that were observed in previous sessions
2026-07-27 13:26:51 -04:00

48 lines
1.8 KiB
JavaScript

// ═══════════════════════════════════════════════════════════════════════
// CONFIG — default settings
// ═══════════════════════════════════════════════════════════════════════
const VERSION = '0.13.33';
const CFG = {
// — Battle automation
hotkey: 'KeyQ',
hotkeyMod: '',
hoverEnabled: true,
autoBuff: true,
autoDebuff: true,
autoCure: true,
autoSpirit: false, // Manual spirit stance only (auto-disable at 65% SP for Spark)
// — Thresholds (simulation-backed)
cureHP: 0.45, // Cast Cure below this HP
cureItemHP: 0.50, // Use health items at this HP
cureRegenHP: 0.65, // Cast Regen below this HP
manaGemMP: 0.45, // Use mana gems below this MP
manaPotionMP: 0.25, // Use mana potions at this MP
spiritPotionSP: 0.60, // Use spirit gems/potions below this SP (Spark costs 50%)
spiritStanceOC: 80, // Manual spirit stance only (auto-disable at 65% SP for Spark)
skillOC: 75, // Use weapon skills at this OC
useAttackSpells: false, // Don't use attack spells (let channel proc naturally)
// — Out of battle
autoSell: true,
sellQuality: 'Average',
bulkShrine: true,
reTimer: true,
trainingQueue: true,
// — UI
showCooldowns: true,
showMonsterHP: true,
showDurations: true,
alertColours: true,
showMonsterNumbers: true,
cfgButton: true,
showGuidance: true,
showEquipAdvice: true,
autoDifficulty: true,
// — Combat style
useAttackSpells: true,
};