Skip to content

feat(match2): reduce number of bans generated in deadlock copypaste - #8027

Open
Corsaka wants to merge 6 commits into
Liquipedia:mainfrom
Corsaka:patch-1
Open

feat(match2): reduce number of bans generated in deadlock copypaste#8027
Corsaka wants to merge 6 commits into
Liquipedia:mainfrom
Corsaka:patch-1

Conversation

@Corsaka

@Corsaka Corsaka commented Aug 31, 2026

Copy link
Copy Markdown

Summary

By default, deadlock drafting only has 2 bans (and rarely, 3). 6 is excessive and I've changed that here.

How did you test this change?

I implemented the custom code at .../wiki/dev/corsaka. I ran this edited BracketCopyPaste at my sandbox via {{GetBracketCopyPaste|dev=corsaka|...}}. The results correctly show only two bans.

By default, deadlock drafting only has 2 bans (and rarely, 3). 6 is excessive by default.
@Corsaka
Corsaka requested review from a team as code owners August 31, 2026 09:27
@ElectricalBoy ElectricalBoy changed the title Reduce ban size to 2 feat(match2): reduce number of bans generated in deadlock copypaste Sep 1, 2026

@ElectricalBoy ElectricalBoy left a comment

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.

By default, deadlock drafting only has 2 bans (and rarely, 3)

if there are valid cases that need 3 bans, then why not make it configurable with user input?

@Corsaka

Corsaka commented Sep 1, 2026

Copy link
Copy Markdown
Author

i somehow pinged myself in my own commit message. note to self to bite the bullet and clone the git repo in future

Implemented suggested changes with a lightly hacky solution, tested at my sandbox. Form:BracketCopyPaste will need to be updated if merged, since the parameter is changing from a boolean to an integer.

@hjpalpha hjpalpha left a comment

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.

" --> '
don't define globals!

Comment thread lua/wikis/deadlock/GetMatchGroupCopyPaste/wiki.lua Outdated
Comment thread lua/wikis/deadlock/GetMatchGroupCopyPaste/wiki.lua Outdated
Comment thread lua/wikis/deadlock/GetMatchGroupCopyPaste/wiki.lua
through implementation of hjpalpha's suggested changes, this increasingly complicated minor change is finally in a good state
@Corsaka
Corsaka requested a review from hjpalpha September 9, 2026 22:32
i've never seen this in lua before so i'm just gonna hope it works this way
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.

4 participants