question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for the Random Battle format

See original GitHub issue

https://randbatscalc.github.io/

  • Add a format selector (Standard vs. Random, later VGC and BSS etc) along with the generation and mode selectors
  • This mode should likely implemented as a separate page from index.template.html
  • This mode can include information about the ‘pools’ available (Ability/Move/Damaging move pool)

@LegoFigure11

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
scheibocommented, Sep 3, 2019

My plan here is currently to repurpose the actual random-teams.js code from PS to generate the correct pools of abilities/items/moves. The new UI will only be slightly different for random formats - the moves in the move pool will be sorted to the top of the select box (in the same way high usage moves are sorted to the top of the select box for non random formats), and there will be a divider line or some other visual distinction to separate which moves are part of the pool or not.

This will result in slightly more clicks to select moves in the pool than the randbats calc UI, but harmonizes it with the other formats. I’m open to revisiting the UI to make it more like the randbats calc (with buttons to quickly toggle through selections in the pool), but I’d like to try the simpler UI to begin with.

0reactions
scheibocommented, Mar 6, 2020

@AustinXII please see the initial comment here (ie. randoms should be a separate page in the current UI most likely).

As I mentioned, I’ve abandoned the idea of generating pools as I was doing above because its slightly intractable given how the random battle generators change often. @TheImmortal suggested usage stats, I’m going to process the latest random battle usage stats from January into the information we need and commit the data files (today or tomorrow) so that you have something to work with. Until https://github.com/pkmn/stats ships and makes processing more efficient such that we can always get random battle stats we can run randombattle stats on demand with the current processing logic as needed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pokémon Showdown Randbats Tooltip | Smogon Forums
All formats with 'Random' in their name should be supported (all generations, Singles/Doubles/Free-For-All/Multi, Unrated, Monotype, Let's Go, ...
Read more >
Showdown Randbats Tooltip
Enhanced tooltip functionality for Pokemon Showdown Random Battle formats.
Read more >
Pokémon Showdown Randbats Tooltip version history
Support has been added for the brand new "[Gen 9] Random Battle" format. In the new format, instead of having a single set...
Read more >
The Ultimate Guide to Random Battles : r/stunfisk - Reddit
It is also a largely untouched format as there is very little material covering it, so I aim to address this gap by...
Read more >
What Are The Best Random Battle Pokemon? Ft ... - YouTube
Ranking Every Gen 1 Pokemon AND THEIR REGIONAL VARIANTS in Pokemon Showdown Random BattlesCheck out PokeaimMD here ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found