pokemon-showdown/data
Bill Meltsner 98b5775198 Reorder the various checks about whether a move hits or not, and add an immunity check before any move calculations are done.
A move cannot "miss" if there is no target, and if the target is immune to an attack, the game always displays the immunity message - the move will never register as "missing".

This fixes a bug where a Pokemon with a type-absorbing ability (e.g. Volt Absorb) behind a Substitute would not absorb status moves (e.g. Thunder Wave) - they'd be blocked by the Substitute before the immunity check was ever run.

There is still a graphical glitch where if a move fails its accuracy check against an immune opponent, the animation will still be that of the move missing, even though the text will be the immunity text. I'm not sure how to fix that given the current move message format.
2012-07-03 05:25:29 -05:00
..
abilities.js Overhaul Forecast to work more intelligently and to actually transform Castform instead of faking it (for better compatibility with things Transforming into it). 2012-07-03 01:24:25 -05:00
aliases.js Kyurem-B/W aliases 2012-06-24 00:31:33 +04:00
formats-data.js Dream World updates 2012-07-02 03:43:29 +04:00
formats.js haxclause fix 2012-07-02 17:46:52 +10:00
items.js Griseous Orb fixes 2012-06-29 23:26:39 +04:00
learnsets.js Some DW moves 2012-07-03 04:33:29 +04:00
moves.js Fix Relic Song preventing other Pokemon from transforming into Meloetta after its use. 2012-07-03 01:25:00 -05:00
pokedex.js Tornadus/Thundurus/Landorus Therian Formes Stats 2012-06-22 20:07:35 +04:00
scripts.js Reorder the various checks about whether a move hits or not, and add an immunity check before any move calculations are done. 2012-07-03 05:25:29 -05:00
statuses.js Convert battles to use the new, cartridge-simulating RNG. 2012-06-12 03:47:14 -05:00
typechart.js Move a bunch of files into data/ 2012-06-08 14:25:45 -07:00