Boosters (rateBooster items) now add to the settled battle as the stock client and the official wiki describe: each booster adds its percent of the base reward; boosters stack per event type and personal / all-allies group with the client's calc_public_boost factors; a battle uses one battle of a booster plus one per spentInSessionTimeMin span, and a booster with R battles left covers the first R spans; kill, ground kill and assist boosters add only to that event and end after their kill count. The debriefing table gets the booster columns, the session log lists affectedBoosters, the research breakdown carries boosterExpTotal, progress is saved and used-up boosters are removed with an EULT_REMOVE_ITEM log. The active wager now moves with each battle that meets its active conditions (lineup rank range, random battle, mission postfix): a stage when its win condition holds (battle won, players killed, or the listed battle awards, hidden ones included), otherwise a failed battle. It ends at maxWins or maxFails and pays a x stake x stages^b + c of the reached stage. Each counted battle logs EULT_CHARD_AWARD in the battle's room and the session log lists affectedWagers, which the stock debriefing shows. Hidden battle awards are now judged (not shown or logged) so wagers can name them; awards of mode missionsWon are supported, and "unlocks" awards honour num. The new GUI patch battle/match-settled-battle-room-logs matches the settled battle's logs by room id in isUserlogVisible, the one filter all "this battle's logs" queries use; it replaces the two per-call edits in use-settled-debriefing-stats. Not yet verified in game.
27 lines
840 B
JSON
27 lines
840 B
JSON
// Build the debriefing of a settled LocalMP battle from the statistics table the local service
|
|
// settled (its logs are matched by match-settled-battle-room-logs).
|
|
// Why the client: the debriefing reads stat_get_exp() (aces.exe 0x1053b70, the battle's
|
|
// SessionStatsNet), which online the battle server fills; a LocalMP host has no battle server.
|
|
// Without it: the debriefing shows no rewards or activity.
|
|
{
|
|
"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.nut",
|
|
"replace": "replace.nut"
|
|
}
|
|
]
|
|
}
|