The battle awards (streaks) of unlocks.blk are now judged by the local service from the battle's facts: the player's combat events, each life and whether it ended in death, the HUD kill log and the final scoreboard. The record patch also sends each fact live over the matching connection (wto_battle.fact); the awards it completes come back and are shown with the stock award banner and kill log entry. After the battle the awards become EULT_NEW_STREAK logs, which the stock debriefing lists on its left, and their Silver Lions are paid and shown in the Unlocks row. Modes whose facts are not reported, and best-player awards limited by battle rating, are never given.
24 lines
790 B
JSON
24 lines
790 B
JSON
// Report a finished LocalMP battle to the local service (cln_wto_finish_battle) and open the
|
|
// debriefing with the statistics it settled.
|
|
// Why the client: online the battle server reports the battle to the char server by itself; on a
|
|
// LocalMP host only the client knows the battle has ended, and there is no stock char action for it.
|
|
// Without it: battles pay nothing and the debriefing stays empty.
|
|
{
|
|
"id": "battle/report-local-battle-settlement",
|
|
"title": "Report LocalMP battle facts to local-service and show the settled debriefing",
|
|
"file": "scripts/debriefing/debriefingmodal.nut",
|
|
"features": [
|
|
"L-结算页",
|
|
"L-战斗奖章"
|
|
],
|
|
"verified_on": [
|
|
"2.61.0.37"
|
|
],
|
|
"edits": [
|
|
{
|
|
"find": "find.nut",
|
|
"replace": "replace.nut"
|
|
}
|
|
]
|
|
}
|