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.
This commit is contained in:
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"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-N08",
|
||||
"R1-C01-N09",
|
||||
"R1-C01-N10"
|
||||
],
|
||||
"crystal": 5,
|
||||
"gold": 85,
|
||||
"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": 3.0,
|
||||
"gold": 30,
|
||||
"heroes": 3,
|
||||
"node": "R1-C01-N01",
|
||||
"result": "win",
|
||||
"type": "normal"
|
||||
},
|
||||
{
|
||||
"dps": 42.0,
|
||||
"duration": 5.1,
|
||||
"gold": 70,
|
||||
"heroes": 4,
|
||||
"node": "R1-C01-N02",
|
||||
"result": "win",
|
||||
"type": "normal"
|
||||
},
|
||||
{
|
||||
"dps": 57.0,
|
||||
"duration": 12.2,
|
||||
"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": 5.2,
|
||||
"gold": 95,
|
||||
"heroes": 5,
|
||||
"node": "R1-C01-N05",
|
||||
"result": "win",
|
||||
"type": "normal"
|
||||
},
|
||||
{
|
||||
"dps": 59.2,
|
||||
"duration": 8.2,
|
||||
"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": 62.2,
|
||||
"duration": 11.5,
|
||||
"gold": 5,
|
||||
"heroes": 5,
|
||||
"node": "R1-C01-N08",
|
||||
"result": "win",
|
||||
"type": "normal"
|
||||
},
|
||||
{
|
||||
"dps": 62.2,
|
||||
"duration": 13.6,
|
||||
"gold": 105,
|
||||
"heroes": 5,
|
||||
"node": "R1-C01-N09",
|
||||
"result": "win",
|
||||
"type": "elite"
|
||||
},
|
||||
{
|
||||
"dps": 74.8,
|
||||
"duration": 3.9,
|
||||
"gold": 85,
|
||||
"heroes": 6,
|
||||
"node": "R1-C01-N10",
|
||||
"result": "win",
|
||||
"type": "boss"
|
||||
}
|
||||
],
|
||||
"seed": 10001
|
||||
}
|
||||
Reference in New Issue
Block a user