hv-unified/simulator/results/test.json
GaboGG 6c2bb2f8f3 Add battle simulator and Forgejo repo setup
- Simulator: headless HV battle engine in Node.js
  - Player/Entity models with stats, gear, spells
  - Monster definitions and spawning
  - Strategy engine ported from userscript
  - Grindfest simulation with turn-by-turn logging
- Forgejo remote: git@git.gaboggamer.online:gabogg/hv-unified.git
- 3 config presets: default, aggressive, conservative
- Outputs summary stats (kills, damage, survival) per run
2026-07-20 19:36:55 -04:00

70 lines
No EOL
2 KiB
JSON

{
"config": {
"player": {
"level": 52,
"style": "2H",
"str": 85,
"dex": 34,
"agi": 24,
"end": 60,
"int": 6,
"wis": 15,
"difficulty": "Nightmare"
},
"strategy": {},
"rounds": 50
},
"rounds": [
{
"round": 1,
"kills": 0,
"monsters": 5,
"turns": 8,
"startHp": 670,
"endHp": 0,
"startMp": 77,
"endMp": 45,
"startSp": 34,
"endSp": 34,
"oc": 100,
"spirit": false,
"log": [
"Green Slime hits you, causing 29 points of damage.",
"You cast Protection.",
"Blue Slime hits you, causing 28 points of damage.",
"Cookie Monster hits you, causing 62 points of damage.",
"Punishment Dragon hits you, causing 45 points of damage.",
"Green Slime hits you, causing 39 points of damage.",
"Cookie Monster hits you, causing 27 points of damage.",
"Punishment Dragon hits you, causing 54 points of damage.",
"You cast Protection.",
"Blue Slime hits you, causing 48 points of damage.",
"Tentacle Monster hits you, causing 31 points of damage.",
"Punishment Dragon hits you, causing 50 points of damage.",
"You cast Cure.",
"Blue Slime hits you, causing 25 points of damage.",
"You cast Cure.",
"Blue Slime hits you, causing 65 points of damage.",
"Cookie Monster hits you, causing 52 points of damage.",
"Punishment Dragon hits you, causing 53 points of damage.",
"Tentacle Monster hits you, causing 53 points of damage.",
"Green Slime hits you, causing 60 points of damage."
]
}
],
"summary": {
"roundsCompleted": 1,
"playerDied": true,
"totalKills": 0,
"totalDmgDealt": 0,
"totalDmgTaken": 852,
"totalHealed": 0,
"totalExp": 608,
"totalCredits": 24,
"spellsCast": {},
"skillsUsed": {},
"itemsUsed": {},
"avgRounds": 0,
"survival": "Died at round 1"
}
}