Files
WT-Offline/gui-patches/battle/use-settled-debriefing-stats/patch.jsonc
T
N0VAN0M4LY de469b0d6b feat(battle): apply research efficiency rules to battle RP
Vehicle research points now follow rank.blk: the predecessor bonus
(expBonusPercentForChildForMode), the rank difference penalty
(expPenaltyPercentForHigherRank / LowerRank) and the Vehicle Research
Bonus (ExpNewNationBonus, five battles per nation and type per UTC day).
Modifications keep the research points before these terms.

The settlement records each vehicle's breakdown in the session log's
container.researchPoints, which the stock debriefing explains in its
research rows. The debriefing patch now selects the battle's logs by
room id, since a LocalMP host is in no matching room and the stock
current-room check cannot match them.
2026-11-28 08:20:40 +08:00

36 lines
1.1 KiB
JSON

// Build the debriefing of a settled LocalMP battle from what the local service settled: its
// statistics table, its room's logs and their Research Points breakdown.
// Why the client: the debriefing reads stat_get_exp() (aces.exe 0x1053b70, the battle's
// SessionStatsNet), which online the battle server fills, and picks the battle's logs with
// is_user_log_for_current_room (0x1799d30), which needs a matching room; a LocalMP host has neither.
// Without it: the debriefing shows no rewards, awards, activity or research.
{
"id": "battle/use-settled-debriefing-stats",
"title": "Use the local service's settled battle in the LocalMP debriefing",
"file": "scripts/debriefing/debriefingfull.nut",
"features": [
"L-结算页"
],
"verified_on": [
"2.61.0.37"
],
"edits": [
{
"find": "find-gather.nut",
"replace": "replace-gather.nut"
},
{
"find": "find-room-logs.nut",
"replace": "replace-room-logs.nut"
},
{
"find": "find.nut",
"replace": "replace.nut"
},
{
"find": "find-research-points.nut",
"replace": "replace-research-points.nut"
}
]
}