Skip to content

feat(match2): skirmish data input for valorant#7594

Open
ElectricalBoy wants to merge 8 commits into
mainfrom
val-skirmish-data
Open

feat(match2): skirmish data input for valorant#7594
ElectricalBoy wants to merge 8 commits into
mainfrom
val-skirmish-data

Conversation

@ElectricalBoy
Copy link
Copy Markdown
Collaborator

Summary

context: https://x.com/ValorantEsports/status/2011453254891110603

This PR adds parsing&display support for skirmish data input.

Why not store as a separate game?

Skirmish is not a "game" in the context of match2, as it (1) involves only a subset of players (1 player from each team), (2) does not use the full 'first to 13 with overtime' scheme and (3) its result does not affect the match score. Thus, it seems more fitting to store it under match2.extradata.

How did you test this change?

dev

@ElectricalBoy ElectricalBoy requested review from a team June 2, 2026 00:52
Copy link
Copy Markdown
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a fan
is this really needed?

@ElectricalBoy
Copy link
Copy Markdown
Collaborator Author

not a fan
is this really needed?

right now they are squishing this data into match2 comment which is arguably worse

return {
players = {player1, player2},
scores = scores,
winner = tonumber(skirmishData.winner) or (scores[1] > scores[2] and 1 or 2)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be incorrect in case someone enters scores for unfinished skirmishes, right?

Copy link
Copy Markdown
Collaborator Author

@ElectricalBoy ElectricalBoy Jun 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted the fallback to only be applied if the match is finished: 0bfc40f

@ElectricalBoy ElectricalBoy requested a review from mbergen June 4, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants