pokemon-showdown/test/simulator/moves
Guangcong Luo 72d4f73160 Improve seed-passing experience in test API
Now, seeds are passed as arrays, rather than needing to pass an entire
PRNG object. In addition, they're now passed in the options object,
instead of as a separate argument.

This is done mostly so the Miracle Eye can be rewritten with a custom
seed, which requires fewer turns and should overall be faster. Which
was in turn done because a Miracle Eye timed out on Travis CI earlier.
Overall, the speed increase is pretty negligible, so this is mostly
just about improving the test API.
2018-01-18 03:31:13 -06:00
..
belch.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
bellydrum.js Force linebreaks at the ends of files 2017-10-08 03:05:29 -05:00
boomburst.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
bugbuzz.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
chatter.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
clangoroussoulblaze.js Tests: Fix Clangorous Soulblaze choices 2017-12-11 21:27:55 -05:00
clearsmog.js Move text processing from Tools to CommandParser 2016-09-30 18:04:13 -07:00
curse.js Implement Curse targetting glitch 2016-06-20 11:57:23 -05:00
destinybond.js add mock for battle tests that can reset the RNG 2017-02-22 20:44:20 -05:00
disable.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
echoedvoice.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
electricterrain.js Refactor simulator into new sim/ directory 2017-05-05 16:48:38 -05:00
embargo.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
focuspunch.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
followme.js Rename Battle#on to Battle#onEvent 2017-05-05 16:48:38 -05:00
foresight.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
futuresight.js Test Future Sight 2017-12-01 13:05:57 -06:00
glare.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
grassyterrain.js Refactor simulator into new sim/ directory 2017-05-05 16:48:38 -05:00
gravity.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
haze.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
healblock.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
healingwish.js Refactor moveset -> moveSlots 2017-12-05 11:12:44 -06:00
hypervoice.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
imprison.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
ingrain.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
judgment.js Fix Judgment test 2016-11-18 15:14:27 -05:00
kingsshield.js King's Shield Atk drop now triggers even if immune 2016-11-18 12:48:50 -05:00
knockoff.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
magicroom.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
miracleeye.js Improve seed-passing experience in test API 2018-01-18 03:31:13 -06:00
mistyterrain.js Refactor simulator into new sim/ directory 2017-05-05 16:48:38 -05:00
partingshot.js Parting Shot shouldn't switch if it doesn't change stats (#4105) 2017-11-13 22:23:20 -05:00
pursuit.js Fix Pursuit KO canceling a switch in Gen 3 2017-12-02 08:27:44 -06:00
quash.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
ragepowder.js Refactor simulator into new sim/ directory 2017-05-05 16:48:38 -05:00
reflecttype.js Tests: Moltres doesn't get Intimidate (#4061) 2017-10-15 19:13:30 +04:00
relicsong.js Fix Relic Song 2016-08-04 03:41:15 +04:00
rollout.js Refactor old gens to for...of (#4274) 2017-12-23 21:46:04 -06:00
roost.js Refactor simulator into new sim/ directory 2017-05-05 16:48:38 -05:00
round.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
sheercold.js Sheer Cold no longer affects Ice-type Pokémon 2016-11-18 01:53:24 -05:00
skydrop.js Sky Drop only makes contact on the way down 2017-12-06 12:05:42 -06:00
smellingsalts.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
snarl.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
spectralthief.js Spectral Thief should zero boosts despite of target abilities (#2906) 2016-11-19 14:38:54 -05:00
stealthrock.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
stompingtantrum.js Update Stomping Tantrum's description (#4231) 2017-12-10 16:18:53 -05:00
substitute.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
taunt.js Change lastMove from a string to a Move (#4298) 2018-01-03 11:54:35 -06:00
thief.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
thousandarrows.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
thunderwave.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
transform.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
trick.js Force linebreaks at the ends of files 2017-10-08 03:05:29 -05:00
trickroom.js Rename Battle#on to Battle#onEvent 2017-05-05 16:48:38 -05:00
uproar.js Test: Use the new common#createBattle method 2016-06-17 05:45:22 -05:00
zmove.js Add various Z-Status Move tests (#3279) 2017-02-23 04:54:04 -06:00