Commit a37a693
mod: emit Observatory area_bonus column in /hero-computed-stats (+ cb_run COLS)
The damage calibration's static +5.9% C.DMG missing from every hero is the
in-game Total-Stats "Area Bonuses" (_areaBonus) column = the OBSERVATORY, NOT the
Great Hall (the Great Hall / Capitol affinity bonus is already captured as
affinity_bonus). Observatory bonuses are per-LOCATION, so every hero gets the same
AllianceBoss-location bonus regardless of affinity — matching the empirical
signature (static, uniform, present from tick 0). Grounded via the dump:
EffectContext-free static calc BuildingSetup.BuildObservatoryBonus(villageData,
ObservatoryLocationId.AllianceBoss=7) -> HeroExtensions.CalcBuildingsBonus.
Added the area_bonus column to /hero-computed-stats (mirrors the affinity_bonus
block) + area_bonus to cb_run.py COLS so future build snapshots sum it. Deployed.
This is the area-bonus half of the blocked joint un-stack (lands WITH the WM-over
fix — adding +C.DMG alone pushes the over-predictors further over).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SCKiWFsFcWRBkL4kWf1q6b1 parent 8690ad3 commit a37a693
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
1589 | 1624 | | |
1590 | 1625 | | |
1591 | 1626 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
0 commit comments