theastrogoth / tera-raid-builder

A tool for simulating Tera Raid battles in Pokémon Scarlet & Violet
https://theastrogoth.github.io/tera-raid-builder/
4 stars 3 forks source link

Add option to optimize boss moves #203

Closed theastrogoth closed 5 months ago

theastrogoth commented 5 months ago

Adds a move choice for bosses, "(Optimal Move)", that lets the boss choose any move from its regular movepool in an effort to

For this purpose, the following moves are selected to try:

These effects can be downstream of inducing changes in the raider's move. For example, causing a raider to flinch, thus preventing an Acid Spray, counts as a move that induces stat changes.

In the worst case, where all 4 moves are tried for each (Optimal Move), the number of combinations tested scales with 4^x. For long calculations, a loading backdrop will prevent user input.