mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-07 23:52:22 -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 |
||
|---|---|---|
| .. | ||
| lib | ||
| random-battles | ||
| replays | ||
| server | ||
| sim | ||
| tools | ||
| assert.js | ||
| common.js | ||
| main.js | ||
| users-utils.js | ||