TeamLumi / luminescent-team

GNU Affero General Public License v3.0
13 stars 6 forks source link

Better dropdown data getter #56

Closed Denmark14 closed 12 months ago

Denmark14 commented 1 year ago

Currently the Pokedex dropdown gets all the Pokemon in Lumi, whether they're enabled or not. This is detrimental as it will give players the expectation that megas and dynamax Pokemon are coming en masse. We need to alter the algorithm to only accept valid Pokemon. Thankfully we can simply filter the Personal table by the isValid tag, which was corrected for every Pokemon a few updates ago.