mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-10 22:44:11 -05:00
* 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 |
||
|---|---|---|
| .. | ||
| abilities | ||
| items | ||
| misc | ||
| moves | ||
| team-validator | ||
| tools | ||
| choice-parser.js | ||
| data.js | ||
| decisions.js | ||
| dex.js | ||
| events.js | ||