doshidak / showdex

Pokémon Showdown extension that harnesses the power of parabolic calculus to strategically extract your opponents' Elo.
GNU Affero General Public License v3.0
106 stars 20 forks source link

FEAT: Add option to auto select mega evolution in nat dex battles #169

Closed Fubs closed 1 year ago

Fubs commented 1 year ago

Currently, you need to manually change the form of a pokemon to see the damage values it would deal/receive after mega evolving. I think it would be useful to automatically do that.

Some considerations:

doshidak commented 1 year ago

hey Fubs!

actually, the calc should be syncing the Mega forme changes for you, but due to a bug introduced in v1.1.7 that re-applies the set once the forme changes, a set with a non-Mega forme (since Megas typically don't have their own unique sets) will reapply the base forme again.

also gave your suggestion a little think, but auto-switching to Mega formes might be a little too complicated to implement for this upcoming version (as you've pointed out, there are quite a bit of nuances that we must consider!).

for now, see if the current fix works for you (once it drops). I'll close this issue when I merge the PR for the upcoming version, but feel free to re-open this or create another one if you still feel the need.

thanks!