pokemon-showdown/test/sim
Guangcong Luo 5c3d0f5eae Fix deterministic speed ties
We have apparently been sorting everything by switch-in order this
entire time, not just move redirection. This appears to be a mistake
in #5216

The actual bug fix is just the single line in `comparePriority`,
everything else is just documentation, and a bit of optimization of
how speed ties are resolved.

Fixes #6319
2021-04-10 09:41:22 -07:00
..
abilities Update Dex API (#8181) 2021-04-08 03:00:37 -07:00
items Shell Bell should heal from all damage 2021-01-05 17:29:35 +00:00
misc Fix deterministic speed ties 2021-04-10 09:41:22 -07:00
moves Fix deterministic speed ties 2021-04-10 09:41:22 -07:00
tools Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
choice-parser.js Add various mechanics tests (#7857) 2021-01-04 23:47:10 -08:00
data.js Add unit test for having valid formats 2021-04-09 18:04:40 -07:00
decisions.js Stop using assert.strict.strictEqual (#7515) 2020-10-14 01:19:03 -07:00
dex.js Update Dex API (#8181) 2021-04-08 03:00:37 -07:00
events.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
team-validator.js Remove duplicate test 2021-04-09 23:44:05 -05:00