hv-unified/src/config.js
GaboGG 533fad252a v0.13.31 - Enhanced battle logging for deep diagnostics
- Q-key log now shows: HP, current MP, MP%, SP%, OC, monster count,
  buff durations, and per-monster SP bar levels (spBars: 0:120 1:95 ...)
- High-threat detection logs a red '⚠ HIGH THREAT' warning
- Emergency skill usage at low OC logs an orange '⚠ emergency' warning
- Now you can paste me the console log and I'll see exact threat levels,
  why skills did/didn't fire, and what the state was before each action
2026-07-27 13:13:59 -04:00

48 lines
1.8 KiB
JavaScript

// ═══════════════════════════════════════════════════════════════════════
// CONFIG — default settings
// ═══════════════════════════════════════════════════════════════════════
const VERSION = '0.13.31';
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,
};