pokemon-showdown/test/sim
Guangcong Luo ed454ef76a
Refactor scripts to battle-actions (#8138)
This introduces a new class, BattleActions, available as `battle.actions`,
moving all functions from `data/scripts.ts` to `sim/battle-actions.ts`.

This makes it so that "go to definition" will now work correctly for
functions previously in scripts; we no longer need UnimplementedError,
and there's now a clean conceptual separation between `battle` and
`battle-actions` (whereas the previous distinction between `battle` and
`scripts` was basically nonexistent).

This will be a difficult migration if you maintain a fork with custom
scripted mods. I'm sorry! Migration instructions are here:

https://github.com/smogon/pokemon-showdown/pull/8138
2021-03-28 12:01:38 -07:00
..
abilities Improve Thick Fat tests 2021-03-19 21:46:54 -05:00
items Shell Bell should heal from all damage 2021-01-05 17:29:35 +00:00
misc Refactor scripts to battle-actions (#8138) 2021-03-28 12:01:38 -07:00
moves End Uproar if the user is under the effect of Throat Chop (#8135) 2021-03-23 17:42:41 -04:00
tools
choice-parser.js Add various mechanics tests (#7857) 2021-01-04 23:47:10 -08:00
data.js Validate Natures in tests 2020-10-29 16:19:07 +00:00
decisions.js Stop using assert.strict.strictEqual (#7515) 2020-10-14 01:19:03 -07:00
dex.js Stop using assert.strict.strictEqual (#7515) 2020-10-14 01:19:03 -07:00
events.js
team-validator.js Validator: Fix Diancie exception 2021-03-08 12:57:53 -05:00