pokemon-showdown/mods
Juanma Serrano 5749082c59 Gen 1: Implement proper Counter mechanics
We now have proper Counter mechanics for Gen 1. It works as follows:
When Counter is selected, after the move hit test and apply damage, it's calculated.
Counter misses if the opponent's last selected move's Base Power is 0.
Counter misses if the opponent's last selected move's type is not Normal or Fighting, or if the move is Counter.
Counter misses if the last move used in the battle did no damage to its target.
If these three tests were passed, damage dealt by Counter will be equal to twice the damage dealt by the last move used in battle.
Counter can still miss due to 1/256 chance.
Last move used by opponent is literal. If the opponent switches, last move used still applies.

Source: http://www.smogon.com/forums/threads/past-gens-research-thread.3506992/
2014-12-18 18:12:55 +01:00
..
350cup Apply jscs to the data files as well 2014-09-30 18:34:16 +10:00
averagemons Space after function for anonymous functions 2014-04-22 01:58:16 +10:00
gen1 Gen 1: Implement proper Counter mechanics 2014-12-18 18:12:55 +01:00
gen2 Gen 2: Counter and Mirror Coat fail against moves selected by Sleep Talk 2014-12-11 18:30:03 +01:00
gen3 Remove moves that did not exist in past gens 2014-12-13 07:59:12 +10:00
gen4 Fix typos in mod data 2014-12-13 07:54:48 +10:00
gen5 Update old moves to Gen 6 mechanics 2014-12-16 14:57:21 -05:00
gennext Remove redundant mod data 2014-12-13 07:58:28 +10:00
hiddentype Hidden Type: handle forme change mechanics in scripts.js 2014-09-27 19:33:27 -05:00
statswitch Add December's OMotM: Stat Switch 2014-12-01 11:32:03 -05:00
tiershift Apply jscs to the data files as well 2014-09-30 18:34:16 +10:00