Ephenia / Pokeclicker-Scripts

Various scripts & enhancements for the game Pokéclicker.
https://github.com/Ephenia/Pokeclicker-Scripts
GNU General Public License v3.0
184 stars 263 forks source link

[feature request] max stage cleared on bf while one click attack is on #328

Open cacahueteone opened 11 months ago

cacahueteone commented 11 months ago

this is by no means something important but i think i would be cool if the max stage would be shown in some way, like in the logbook or a record like the stage counter on the og How it actually looks pc suj 1 how it could look pc suj 2

umbralOptimatum commented 11 months ago

This unfortunately isn't possible because the maximum one-shottable stage varies with the enemies' types.

cacahueteone commented 11 months ago

yeah, same as the max stage reached

JohnyDL commented 11 months ago

If it's the battle frontier you could scan for the least theoretical total damage (there is the damage calculator, 11 weather, 18 type 1s, 18 type 2s is 1782 possible values assuming that type order doesn't matter and that's accounted for... it might be reducible further if weather doesn't matter and the number of type pairings can be simplified) and then look at the pokemon with the highest HP (I'm sure there is one) and find out the last level when the theoretical worst possible damage is still bigger than the pokemon with max possible HP. It's far from a perfect solution, especially as it ignores the typing of the 'hardest to beat pokemon' and just assumes it's the worst scenario the player can face.

In the vast majority of cases you could probably go more stages than the one that's calculated this way, on the other hand this one number would be close enough for most possible uses (like trimming the auto battle frontier script) and it would be the last one that's absolutely guaranteed to be passable in 'one click' though there is no clicking in the battle frontier