Files
windroost/data/chapter_simulation_passive.json
T
wushenghua 970cadb129 feat: add offline progress, rebuild and a full-chapter balance simulation
P3b. ProfileStore is now schema 3 with an 8-hour-capped offline report derived
from roster DPS, a claim-once guard, clock-rollback handling, and a rebuild
transaction that clears run state while keeping recruited heroes and granting
wind essence. The skyport shows the claimable report and a rebuild entry.

Balance. simulate_chapter.py plays the whole chapter with two profiles. The
minimum-effort profile clears 9/10 nodes (N08 needs taps); the active profile
clears 10/10 including the boss. This is the evidence that the chapter is
actually completable and that manual input changes the outcome. The boss's
1500 HP was being wrongly multiplied by the node scale; the content generator
now keeps it fixed as the data pack requires.

Paper parity. mvp_validation_sim.py now understands P3a enemy specs, node HP
scale and the recruited-roster filter, so the runtime and paper models stay
aligned beyond the P2 fixture. The 300-result parity gate still passes.

tools/run_p2_checks.sh now runs 15 gates; all pass. Recorded balance note:
an active player kills the boss in ~4s, so the 30s timer and phases are not
yet meaningful. That is a tuning item against the frozen data pack, not a
local fix to smuggle in.
2026-11-17 01:25:30 +08:00

123 lines
2.0 KiB
JSON

{
"final": {
"completed": [
"R1-C01-N01",
"R1-C01-N02",
"R1-C01-N03",
"R1-C01-N04",
"R1-C01-N05",
"R1-C01-N06",
"R1-C01-N07",
"R1-C01-N09",
"R1-C01-N10"
],
"crystal": 5,
"gold": 5,
"heroes": [
"H01",
"H02",
"H03",
"H04",
"H05",
"H06"
],
"levels": {
"H01": 2,
"H02": 2,
"H03": 1,
"H04": 2,
"H05": 1,
"H06": 2
}
},
"results": [
{
"dps": 33.0,
"duration": 19.9,
"gold": 30,
"heroes": 3,
"node": "R1-C01-N01",
"result": "win",
"type": "normal"
},
{
"dps": 42.0,
"duration": 34.0,
"gold": 70,
"heroes": 4,
"node": "R1-C01-N02",
"result": "win",
"type": "normal"
},
{
"dps": 57.0,
"duration": 65.4,
"gold": 0,
"heroes": 5,
"node": "R1-C01-N03",
"result": "win",
"type": "elite"
},
{
"dps": 57.0,
"gold": 35,
"node": "R1-C01-N04",
"result": "resolved",
"type": "event"
},
{
"dps": 57.0,
"duration": 29.9,
"gold": 95,
"heroes": 5,
"node": "R1-C01-N05",
"result": "win",
"type": "normal"
},
{
"dps": 59.2,
"duration": 40.1,
"gold": 45,
"heroes": 5,
"node": "R1-C01-N06",
"result": "win",
"type": "elite"
},
{
"dps": 59.2,
"gold": 45,
"node": "R1-C01-N07",
"result": "resolved",
"type": "event"
},
{
"dps": 59.2,
"duration": 45.0,
"gold": 45,
"heroes": 5,
"node": "R1-C01-N08",
"result": "loss",
"type": "normal"
},
{
"dps": 62.2,
"duration": 53.4,
"gold": 25,
"heroes": 5,
"node": "R1-C01-N09",
"result": "win",
"type": "elite"
},
{
"dps": 74.8,
"duration": 26.3,
"gold": 5,
"heroes": 6,
"node": "R1-C01-N10",
"result": "win",
"type": "boss"
}
],
"seed": 10001
}