-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rarity Exclusion first displays pokemon, then removes them #2470
Comments
Maybe you can include a screen recording of the behavior issue you're having? |
Will work on it |
https://www.youtube.com/watch?v=IplFGdpOOQ8 Video quality is terrible, but you'll see what I mean |
@sebastienvercammen see video above |
I can confirm it does draw the pokemon then removes them afterwards, when I load the map it draws everything then removes common |
The problem is that I'll submit a PR to fix this behavior. |
…m to excludedPokemonByRarity excludedPokemon is now used as a global list of excluded Pokemon, made up of any number of individual exclusion lists (rarity and hidden, for now) In accordance with the above two points, refactored all code that controls excluding Pokemon, including adding new functions to help add/remove from list Fixes Issue RocketMap#2470 Signed-off-by: trunksbomb <trunskbomb@msn.com>
…m to excludedPokemonByRarity excludedPokemon is now used as a global list of excluded Pokemon, made up of any number of individual exclusion lists (rarity and hidden, for now) In accordance with the above two points, refactored all code that controls excluding Pokemon, including adding new functions to help add/remove from list Fixes Issue RocketMap#2470 Signed-off-by: trunksbomb <trunskbomb@msn.com>
Expected Behavior
When the "Exclude Rarity" option is used, e.g. to exclude pokemon that are "Uncommon and below", those pokemon should never be drawn.
Current Behavior
RocketMap first displays all pokemon and then removes the excluded rarities en masse. This makes panning the map awkward and slow.
In contrast, when individual pokemon are excluded Via the "Hide Pokemon" feature, they are never drawn.
Possible Solution
Move the check for rarity exclusion to the same location as the check for individual exclusion?
Steps to Reproduce (for bugs)
Context
The "exclude by rarity" feature is potentially much more useful now with the new dynamic rarity, but currently runs slowly and awkwardly.
Your Environment
The text was updated successfully, but these errors were encountered: