pokemon-showdown/test/sim
livid washed d59bce51c6
Gen 1: Fix more Counter bugs (#9136)
* Gen 1: SonicBoom can be Countered

* OHKO moves do 65535 damage (matters for Counter against sub)

* Move damage comparison with target hp outside getDamage()

* Remove a blank line

* Move damage comparison with target hp outside getDamage() (Stadium)

* Add counter test

* Fix Metronome not failing if calling Counter (move setting lastDamage before tryMoveHit)

* Do the same for Stadium

* Start phasing out pokemon.lastDamage from Gen 1 code

* Failed Counter doesn't zero lastDamage

* When a move misses, battle.lastDamage is set to 0

* Remove all pokemon.lastDamage

* Remove a couple of comments
2022-12-08 16:07:39 -08:00
..
abilities Fix Commander vs Transform and Eject items (#9126) 2022-12-06 22:16:46 -06:00
items Unskip passing Ability Shield tests (#9089) 2022-11-29 20:54:08 -06:00
misc Add low BP Terastallizing behavior tests 2022-12-06 22:32:25 -06:00
moves Gen 1: Fix more Counter bugs (#9136) 2022-12-08 16:07:39 -08:00
team-validator Unit tests: Refactor validator tests (#9069) 2022-11-29 20:55:17 -06:00
tools Use ts-node instead of Sucrase (#8369) 2021-07-09 19:59:22 -07:00
choice-parser.js Unit Tests: Transition to Gen 9 (#9009) 2022-11-18 21:34:40 -08:00
data.js Fix Gen 9 species count 2022-12-01 21:28:11 -07:00
decisions.js Use ts-node instead of Sucrase (#8369) 2021-07-09 19:59:22 -07:00
dex.js Correct Max Move dex generation (#9027) 2022-11-23 13:39:20 -05:00
events.js Turn on prefer-const for .js files 2020-04-23 11:37:47 -07:00