pokemon-showdown/test/sim/moves
urkerab d3a3666e85
Fix bugs caused by not specifying effectiveness priority (#6765)
Inverse Mod needs to go first, to calculate the negated effectiveness.
Disguise goes second, to suppress effectiveness.
Delta Stream goes third, to weaken moves super-effective against Flying types.
Tar Shot goes last, to make its victim weak to Fire type moves.

This allows the existing test for Delta Stream with Tar Shot to pass.
Additionally a new test for Delta Stream with Inverse Mod now passes.
A test for Flying Press with Inverse Mod is also included.
2020-05-29 16:55:42 -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 Update Curse targeting 2020-05-14 13:23:37 -04: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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
embargo.js Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
encore.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
explosion.js Ensure explosion halves defense in Gen 3&4 2020-05-01 11:03:54 -07:00
fakeout.js Fix activeTurns/activeMoveActions bugs 2020-03-30 04:07:05 -07:00
fellstinger.js Fix Fell Stinger after redirection (#6572) 2020-04-13 14:20:37 -07:00
fling.js Add various mechanics tests (#6714) 2020-05-18 12:19:18 -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
gmaxchistrike.js Add a few G-Max Chi Strike tests (#6631) 2020-05-14 11:34:09 -07:00
gmaxvolcalith.js Fix residual order for G-Max Volcalith / Wildfire (#6565) 2020-04-15 12:20:27 -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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07: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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07: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 Fix Imprison test 2020-04-26 18:21:02 -07:00
ingrain.js Remove Dex.getForme etc 2020-04-28 17:38:54 -07: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
maxguard.js Add various mechanics tests (#6714) 2020-05-18 12:19:18 -07: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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
nightmare.js Gen II: Fix residual damage when opponent is KOed 2020-05-06 15:41:18 -04: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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
quash.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
ragepowder.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07: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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07: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 Unskip passing tests (#6662) 2020-05-07 16:53:10 -07:00
skydrop.js Fix Sky Drop Wonder Guard interaction (#6593) 2020-04-20 12:14:37 -04: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 Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
tarshot.js Fix bugs caused by not specifying effectiveness priority (#6765) 2020-05-29 16:55:42 -07:00
taunt.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
teattime.js Add Teatime tests (#6582) 2020-04-15 21:27:45 -07:00
thief.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
thousandarrows.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
thunderwave.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
transform.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00
trick.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
trickroom.js Remove Dex.getForme etc 2020-04-28 17:38:54 -07: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