pokemon-showdown/test/sim/moves
Guangcong Luo 2d78044604 Fix activeTurns/activeMoveActions bugs
`activeTurns` was previously a horrible hack, used for "first full turn
only" effects like Speed Boost as well as "first move action" effects
like Fake Out.

In addition to being a huge hazard for API users such as OMs, this also
means weird bugs such as Speed Boost not working if you get hit by
Sky Drop on your first turn.

This commit fixes them by splitting these counters into two - an
`activeTurns` counter for Speed Boost, and an `activeMoveActions`
counter for Fake Out.
2020-03-30 04:07:05 -07:00
..
aurawheel.js Add test for Aura Wheel 2019-12-10 02:05:41 +04:00
belch.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
bellydrum.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
boomburst.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
brickbreak.js Fix Gmax validation 2020-03-06 10:41:33 -08:00
bugbuzz.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
chatter.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
clangoroussoulblaze.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
clearsmog.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
counter.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
curse.js Improve eslintrc 2020-03-06 22:35:55 -08:00
destinybond.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
disable.js Fix remaining build errors 2019-11-16 06:08:48 +13:00
dragondarts.js Refactor Dragon Darts (#6378) 2020-02-21 06:36:41 -08:00
echoedvoice.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
electricterrain.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
embargo.js Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
encore.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
fakeout.js Fix activeTurns/activeMoveActions bugs 2020-03-30 04:07:05 -07:00
focuspunch.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
followme.js Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
foresight.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
futuresight.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
gearup.js Refactor unit test battle formats again 2019-12-11 16:26:45 +09:00
glare.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
gmaxvolcalith.js Fix G-Max Volcalith and add tests for G-Max Wildfire/Volcalith (#6442) 2020-03-11 12:53:49 +04:00
gmaxwildfire.js Fix G-Max Volcalith and add tests for G-Max Wildfire/Volcalith (#6442) 2020-03-11 12:53:49 +04:00
grassyterrain.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
gravity.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
haze.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
healblock.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
healingwish.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
highjumpkick.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
hypervoice.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
imprison.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
ingrain.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
judgment.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
kingsshield.js Fix tests to run on Gen 8 instead of Gen 7 2019-12-04 13:36:37 +09:00
knockoff.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
magicroom.js Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
magneticflux.js Refactor unit test battle formats again 2019-12-11 16:26:45 +09:00
mindblown.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
miracleeye.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
mistyterrain.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
painsplit.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
partingshot.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
perishsong.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
photongeyser.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
pledge.js Properly fix Pledge moves 2020-02-15 15:40:59 -08:00
psychup.js Add tests for Psych Up (#5624) 2019-07-18 09:17:05 -07:00
pursuit.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
quash.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
ragepowder.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
rapidspin.js Fix Rapid Spin not activating against Sub 2020-02-17 14:10:29 -08:00
reflecttype.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
relicsong.js Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
rollout.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
roost.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
round.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
sheercold.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
shelltrap.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
skydrop.js Fix activeTurns/activeMoveActions bugs 2020-03-30 04:07:05 -07:00
smellingsalts.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
snarl.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
spectralthief.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
stealthrock.js Fix G-Max Steelsurge damage against Eiscue 2020-03-07 14:52:45 -08:00
stockpile.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
stompingtantrum.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
substitute.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
taunt.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
thief.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
thousandarrows.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
thunderwave.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
transform.js Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
trick.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
trickroom.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
trumpcard.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
u-turn.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
uproar.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
weatherball.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
wish.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
yawn.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
zmove.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30