Commit Graph

40 Commits

Author SHA1 Message Date
Marty-D
3810e728a8 Gen IV: Fix up formats-data. 2013-02-06 12:48:45 -05:00
Relados
24c0c642c4 Creating formats-data.js for gen4 tiers 2013-01-25 13:59:36 -08:00
TheImmortal
310eb90ac1 Implement Minus & Plus abilities 2013-01-25 02:04:17 +04:00
TheImmortal
fc09b6fe9d Mental Herb only cures infatuation in Gen 4 2013-01-23 21:03:19 +04:00
TheImmortal
40272f2b4a Metronome is a 10% boost in Gen 4 2013-01-23 20:36:12 +04:00
Marty-D
8bbeabb1a9 Correct Magic Coat in Gen IV and V.
- Magic Coat can only bounce one move per turn in Gen 4, while in Gen 5
it stays active until the end of the turn.
2013-01-22 15:46:50 -05:00
Cathy Fitzpatrick
03d9da0d5b Use this.effect for constant effect property. 2013-01-15 22:56:45 -07:00
Cathy Fitzpatrick
8f6313a705 This commit makes several changes to Protect and related moves in both
Gen 4 and Gen 5:

1) In Gen 4, the chance of protecting succeeding does not fall below
   1/8, which has now been corrected in this commit. Previously, the
   chance of success in Gen 4 was allowed to drop all the way to
   1/(2**32) as in Gen 5.

   Please see upokecenter for the correct mechanics:
     http://upokecenter.dreamhosters.com/dex/?lang=en&move=182

   For Protect and friends, Smogon currently says that the chance of
   success does not fall below 50%, which is inconsistent both with the
   current Pokemon Showdown! behaviour and with upokecenter. It is
   pretty much certain that upokecenter is accurate here, since it is
   based directly on the in-game data. This commit implements the
   upokecenter mechanics.

2) This commit also consolidates some duplicate code with Protect and
   friends by moving the miss chance logic to an event of the 'stall'
   volatile called onStallMove. This allows me to remove some duplicate
   code from moves.js.

3) Currently, some but not all of Protect and friends have a flag
   called stallingMove set to true. This flag does not appear to be used
   for anything. However, for consistency, I have set it to true for all
   the "stall moves", as opposed to just a subset of them.
2013-01-15 22:33:54 -07:00
Marty-D
2515c59e9e Gen IV: Fix Early Bird. 2012-12-02 11:39:28 -05:00
Marty-D
2c6fb63efa Gen IV: Sleep is indeed 1-4 turns.
- tested in HGSS, Emerald, and Stadium 2 so far; same duration for all
2012-12-01 16:27:44 -05:00
Marty-D
1505e41a87 Gen IV: Some Substitute mechanics. 2012-10-04 15:48:36 -03:00
Marty-D
9b09e70e9a Gen IV Mimic.
- the copied move has its current PP set to 5, and its max PP set to the original move's max PP with Mimic's PP Ups applied
2012-09-26 19:12:07 -03:00
Guangcong Luo
61a0bd9c09 Make sure self-target moves ignore Soundproof 2012-09-09 00:39:31 -07:00
Marty-D
b8d2efafd2 Gen IV Dream Eater.
Pokemon behind Substitutes are unaffected.
2012-08-29 23:28:15 -03:00
Marty-D
d186ef1df4 Partial-trapping duration for Gen IV. 2012-08-29 22:44:06 -03:00
TheImmortal
236dabf074 Gen 4 Sleep mechanics 2012-07-26 20:51:08 +04:00
Marty-D
96cca1fb00 Update mods/gen4/abilities.js
Gen IV Magic Guard users can't be poisoned by Toxic Spikes.
2012-07-24 22:43:04 -03:00
Marty-D
f70931bf12 Gen IV Magic Guard users can't be fully paralyzed. 2012-07-24 21:25:59 -04:00
Marty-D
8eb07a1759 Gen IV Chatter. 2012-07-23 21:29:26 -03:00
TheImmortal
b121b94f45 Lightning Rod/Storm Drain actually don't give immunities 2012-07-19 03:59:13 +04:00
TheImmortal
d77d22b24a Lightning Rod/Storm Drain/Synchronize 2012-07-19 03:48:53 +04:00
TheImmortal
bf4e78dc67 Lightning Rod/Storm Drain/Synchronize 2012-07-19 03:45:54 +04:00
Marty-D
a0c9f0317b Worry Seed can change Insomnia to Insomnia in Gen IV. 2012-07-10 23:26:24 -03:00
TheImmortal
ab2fb5a9ba Missing Trace change 2012-07-07 01:58:06 +04:00
Bill Meltsner
0ea1c82a51 Actually fix Trace properly. 2012-07-02 03:02:10 -05:00
TheImmortal
2cadc3e2e3 Make Trace work properly 2012-07-02 11:46:44 +04:00
TheImmortal
205f0e0de6 Anger Point & Trace 2012-07-02 03:45:25 +04:00
Marty-D
03100d9687 Roost fix for Gen IV. 2012-07-01 20:05:10 -03:00
Marty-D
fb29b5aa69 Shadow Tag works the same way in Gen IV as it does in Gen V.
This code would apply to Gen III, however.
2012-06-29 00:08:04 -03:00
TheImmortal
66272c6b8c Encore update 2012-06-28 19:50:25 +04:00
TheImmortal
9945a2d64b Missing inherit: true, in a few places 2012-06-25 03:46:18 +04:00
Guangcong Luo
7913d28286 Gen 4 Custap Berry 2012-06-23 19:11:01 -07:00
TheImmortal
a057a77970 Changed Gen 4 Move Effects 2012-06-22 11:44:51 +04:00
Guangcong Luo
538768d9a6 Stopgap implementation of Explosion/Selfdestruct
todo: do it properly later
2012-06-16 22:48:54 -07:00
Guangcong Luo
4c5d44462f Gen 4 Rotom formes are all Electric/Ghost 2012-06-16 22:48:12 -07:00
Guangcong Luo
cb4aae18a3 formats.js can now list alternate gens 2012-06-16 15:50:34 -07:00
Bill Meltsner
b6d3ccea17 Start on Gen 4 abilities. 2012-06-15 04:01:36 -05:00
TheImmortal
213e66b15c More moves 2012-06-15 03:26:07 +04:00
TheImmortal
c59eb84ad8 Complete all move changes 2012-06-14 20:31:56 +04:00
Guangcong Luo
d68f09d719 Start working on gen 4 2012-06-13 23:25:11 -07:00