Commit Graph

114 Commits

Author SHA1 Message Date
V4Victini
e783243a4f Mail is unreleased 2013-12-23 19:53:11 -05:00
Guangcong Luo
4e30ad6e79 Custap Berry is unreleased 2013-12-22 23:32:11 -08:00
1338h4x
1697ae019b Update Binding Band description to match gen VI buff 2013-12-04 21:38:13 -05:00
V4Victini
e04ccd46b7 Soul Dew is not available in Gen 6 2013-12-04 02:59:35 -05:00
The Immortal
71c6d943a2 Update Gems description 2013-11-08 00:06:49 +04:00
V4Victini
d27ceb40b9 Update item names
BlackGlasses -> Black Glasses
NeverMeltIce -> Never-Melt Ice
2013-11-05 00:57:04 -05:00
V4Victini
06911f51d7 Fix Grass Gem 2013-11-03 01:36:43 -04:00
V4Victini
91509db3e2 Add Mega Stone item numbers 2013-10-31 18:26:35 -04:00
Guangcong Luo
8878feb95d Gems are apparently unreleased 2013-10-27 22:13:19 -07:00
Bill Meltsner
453f655c8d berries are delicious 2013-10-24 11:31:01 -07:00
The Immortal
dd7b4e67a3 Add new item: Maranga Berry 2013-10-24 20:13:09 +04:00
The Immortal
fac395a31f Add new item: Kee Berry 2013-10-24 20:11:44 +04:00
mal20k
2523af0b08 Implement item Safety Goggles 2013-10-22 16:23:51 -07:00
mal20k
2edfec41af Added item Assault Vest 2013-10-22 13:02:50 -07:00
The Immortal
514dd8af1d Weakness Policy shouldn't activate if the holder faints 2013-10-21 19:31:52 +04:00
The Immortal
82b8e86640 Prevent Status moves from activating Weakness Policy 2013-10-20 21:12:06 +04:00
The Immortal
e84b1d8ca2 Implement new item: Weakness Policy
Note: unsure if single use
2013-10-20 01:28:02 +04:00
The Immortal
890a7217db Add new item: Roseli Berry 2013-10-19 13:34:32 -07:00
The Immortal
50f9ece64c Add new item: Luminous Moss 2013-10-19 13:27:43 -07:00
The Immortal
1a91902b61 Add new item: Snowball 2013-10-19 12:35:17 +04:00
The Immortal
2272efcba6 Add megaStone field for mega evolution stones 2013-10-19 01:09:36 +04:00
ALAKTORN
8afad720a7 Mega Stones onTakeItem: false,
Mega Stones are confirmed to be unremovable, even by Knock Off. http://www.smogon.com/forums/threads/pok%C3%A9mon-battle-mechanics-research.3489239/page-3#post-4876344
2013-10-15 01:44:13 +02:00
The Immortal
aa473406bb Add all known Mega Stones 2013-10-14 23:39:45 +04:00
V4Victini
568a568d1a Add Abomasite 2013-10-14 15:17:04 -04:00
Oesher Ayenew
f0694fe6f2 add scizornite 2013-10-13 11:22:15 -07:00
The Immortal
c075a28627 Pixie Plate is the correct name 2013-10-13 21:21:46 +04:00
The Immortal
9a8463d498 Add Pixel Plate 2013-10-13 20:10:31 +04:00
The Immortal
93d40e0eb9 Add official Mega Evolutions 2013-10-12 01:07:50 +04:00
V4Victini
26f4943cc1 Remove unused variables 2013-10-11 15:49:17 -04:00
V4Victini
4e663da55e Use this.chainModify for base power modifiers
This also fixes Technician
2013-10-11 15:09:47 -04:00
V4Victini
fb33b72e87 Use this.chainModify for stat modifiers
Also apply Sandstorm and Hustle boosts directly to the stat.
2013-10-11 14:05:51 -04:00
V4Victini
d5c84dc134 Use this.chainModify for final modifiers 2013-10-11 13:25:14 -04:00
V4Victini
52b53a325e Fix Gems
They should only activate on attacking moves.
2013-10-10 22:02:24 -04:00
V4Victini
f7e1b0e80c Properly implement Ring Target
Only negate natural immunities
2013-10-08 11:49:40 -04:00
V4Victini
9635ea7d56 Chain base power modifiers in proper order
8: User Ability
7: Target Ability
6:  User Item
5: Target Item
4: Move Modifers
3: Other User Modifiers (Helping Hand, Charge)
2: Other Target Modifiers
1: Field Modifiers (Water Sport, Mud Sport)
2013-10-05 19:12:10 -04:00
V4Victini
8a119fefeb Chain base power modifiers
onBasePower events now affect the base power modifier as opposed to the
base power directly. Also some moves had their base power changes moved
from basePowerCallback to onBasePower. These moves affect the modifier
and not the base power.

Note: The effects of weather and burn are still incorrectly applied as
base power modifiers
2013-10-05 18:56:32 -04:00
V4Victini
bed7316a14 Chain stat modifiers in the proper order
10: Figure out a way to apply these directly to the stat later
...
6: Target Ability
5: User Ability
4: Target's Ally Abilities
3: User's Ally Abilities
2: Target's Item
1: User's Item

To be honest it's mostly for posterity's sake as well as to match the
soon-to-be-corrected base power modifiers. At the moment all stat
modifiers are either *1.5 or *2 which have the same result no matter
which order you chain them in. However a mod or ability/item in the
future could add a value that isn't as clean.
2013-10-05 01:14:11 -04:00
Guangcong Luo
2e7caa0f53 Fix crash in Life Orb 2013-09-30 08:39:08 -07:00
V4Victini
f691e10532 Correct Metronome Implementation
Fixes an abusable bug with multi-hit moves
2013-09-28 13:34:17 -04:00
V4Victini
1c2a9a76c0 Chain Final Modifiers 2013-09-27 23:30:55 -04:00
V4Victini
0ef4a02b0c Run ModifyDef/SpD events properly
and remove Chlorophyll's debug message
2013-09-11 04:10:14 -04:00
V4Victini
c50d30f11f Overhaul the stat system and implement chaining
onModifyStat events now alter the returning modifier instead of
affecting the stat directly
2013-09-11 03:17:13 -04:00
Guangcong Luo
70f78202e1 Fix Red Card activating on inactive pokemon 2013-08-11 21:33:58 -07:00
V4Victini
90694f4e8b Use proper event for several effects
These effects should take place last in damage calculation during the
ModifyDamage event.
2013-07-09 22:51:15 -04:00
Marty-D
51ba6b51ce Update several short descriptions. 2013-07-06 20:51:27 -04:00
Bill Meltsner
84f6173c11 Items cleanup
- Fix Micle Berry (and Custap Berry, in Gen 4) to properly trigger with Gluttony
 - Make Micle Berry's volatile references consistent with the rest of the codebase
 - Properly alphabetize Moon Ball
2013-06-30 13:57:09 -07:00
Joim
b22269422a Fix Life Orb
Life Orb uses now BattlePokemon.prototype.modify which does the correct calculator for damage modifiers and in the correct order thanks to the ModifyDamage event.
2013-06-27 23:46:31 +02:00
Marty-D
206ce377e0 Fix Ring Target. 2013-06-13 21:16:11 -04:00
Marty-D
16747e8076 Implement a generic Mail item. 2013-05-30 19:56:01 -04:00
Marty-D
109a3da4f6 Correct mechanics for signature items. 2013-05-05 17:07:56 -04:00