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
104 stars 18 forks source link

Add switching out toggle for pursuit #133

Open Elitemagikarp opened 1 year ago

doshidak commented 1 year ago

Heya! Thanks for your great suggestion — I realize we don't have any way to set that currently, which is necessary for Pursuit.

The UI is cramped enough, as-is, so I would ideally not like to add another toggle, especially next to the move. I'm thinking if we should just have it always switching out, so the damages you see for Pursuit assume you are correct in your prediction.

But if you really want to control this, we can probably add the toggle to the move editor as well (when you have Edit Moves enabled & click on "EDIT" next to the "MOVES" header). If we do add the toggle, it would be on by default for Pursuit.

Let me know what you think!

jmynes commented 1 year ago

I guess the best spot it could fit would be in this gap left here:

image

With some icon indicating a swap, and a tooltip explaining that it's toggling the state for user swapping?


With the same panel component that you already use for HP and Types, one added here could even enable switching between more than one non-status'd state, such as: