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

Fixes relevant to Iron Bundle event (and others) #170

Closed theastrogoth closed 8 months ago

theastrogoth commented 9 months ago

Changes:

Ericzklm commented 8 months ago

Something weird is happening when loading strats

Also the Steely Spirit Gholdengo and Metagross strats fail in the test suite

theastrogoth commented 8 months ago

Something weird is happening when loading strats

I'm noticing this, too. It might be due to some of the changes from trying to get Transform/Mimic to work. I'm taking a look now.

Regarding #171, YETI's strat as currently saved in the builder seems to work if Ston gets Power Spot. I've logged each move, and it seems like stat changes are being properly applied after each hit.

Ericzklm commented 8 months ago

Regarding #171, YETI's strat as currently saved in the builder seems to work if Ston gets Power Spot. I've logged each move, and it seems like stat changes are being properly applied after each hit.

Whoops I somehow have it in the link in the issues but not in the version in TRB. I can fix that in the next commit since there's a couple more strategies to be added anyways.

theastrogoth commented 8 months ago

Screens were the culprit for the failing tests. Their damage modifier is controlled by the gameType parameter of Field, which doesn't affect anything else as far as I can tell.