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

fix async OHKO tests, various calc fixes #101

Closed theastrogoth closed 1 year ago

theastrogoth commented 1 year ago

All of the OHKO tests weren't actually being used, since the Promise wasn't being resolved during each test. This has been fixed.

Fixed end-of-turn damage application to instructor vs instructee.

Fixed use of extraMoveData for raid boss.

Fix Heal Cheer application to all allies.

Fix the useEffect() triggers for starting the calculator worker. It was being continually fired upon receiving a new array each render (even though its contents were the same).