Kevin Lau
1c574c6c55
Critical Hit Ratio refactor: Use an event to modify crit ratios ( #2501 )
...
This allows for proper crit ratios when a Pokemon loses/gains an ability,
item, or other effect in the middle of a multi-hit attack.
2016-04-11 21:35:36 -04:00
Marty-D
9d496e00dc
Gen IV: Fix Focus Sash properly
2016-03-10 12:29:39 -05:00
Marty-D
56da976d87
Gen IV: Fix Focus Sash interaction with multi-hit moves
2016-03-10 11:25:11 -05:00
Konrad Borowski
81f602b8d8
Always use trailing comma for multiline objects
2016-01-01 00:20:07 +01:00
Konrad Borowski
79a5b23f25
Modify data and mods files to follow style rules
2016-01-01 00:18:00 +01:00
Marty-D
edc2b8f98a
Fix Jaboca and Rowap Berries' damage ordering
...
Corrects interactions with Bug Bite/Pluck/Knock Off, etc.
2015-12-28 17:40:30 -05:00
Konrad Borowski
133595c70f
Fix style issues in mods hidden by ESLint before
2015-12-10 23:14:32 +01:00
Juanma Serrano
c4ac8d6e2f
Use strict mode and let and const instead of var
...
This commit also fixes some duplicated variable declarations.
2015-11-06 21:56:52 -05:00
Guangcong Luo
803c202c5f
Actually fix gen 4 Custap
2015-07-12 15:14:59 -04:00
Guangcong Luo
a226bec668
Fix gen 4 Custap
2015-07-12 04:27:18 -04:00
Guangcong Luo
2ea5907f65
Refactor battle turn order
...
Instead of automatically sorting the queue, the queue is now only
sorted manually when committing decisions.
2015-07-11 18:10:11 -04:00
Marty-D
d32b69f48d
Fix Attract end messages
2015-06-25 12:29:30 -04:00
Kevin Lau
903853d91b
Battle refactor: No longer reset negated immunity in pokemon.update()
...
Replace the pokemon.negateImmunity object with a new `NegateImmunity`
event that handles all the immunity negation.
Also deprecate 'IgnoreEffectiveness' in favor of having relevant moves
and items use `Effectiveness` event handlers instead.
2015-06-16 00:02:06 -07:00
Kevin Lau
5cbda47358
Generation 3-4: Species-specific items check current species
...
This means that Pokemon Transformed into other Pokemon will be treated as
the target species for the purpose of items like Thick Club.
2015-03-24 19:59:28 -07:00
Guangcong Luo
af2026436a
More style fixes and Gulpfile updates
...
JSHint is now a fair bit stricter, and is now correctly checking
files in `mods/`.
The code has been fixed to match the new stricter standards.
JSHint has now caught its second actual bug: Gen 5 Pinap Berry
was Ice instead of Grass.
2014-08-10 20:43:53 -04:00
The Immortal
6037535b5f
Update gen 4 Focus Sash
...
It activates on multi-hit moves. Removing the volatile in
AfterMoveSecondary is for doubles.
2014-07-25 17:47:07 +04:00
小太
5c8fc7b982
Space after function for anonymous functions
2014-04-22 01:58:16 +10:00
小太
6fb3bc332a
Spaces around operators and === instead of ==
2014-04-22 01:56:11 +10:00
Slayer95
3be767238a
Update some descriptions
2014-03-30 15:51:20 -05:00
V4Victini
2193eeec53
Merge pull request #634 from Slayer95/heavy-gravity
...
Ground moves do 1x on mons with Iron Ball/Gravity
2014-02-22 15:53:01 -05:00
Ivo Julca
d0dbea2171
Fix misusage of null in mods data
2014-02-12 17:58:01 -05:00
Ivo Julca
6ed52d85b6
Ground moves do 1x on mons with Iron Ball/Gravity
2014-02-12 13:25:41 -05: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
Marty-D
65050444bf
Gen IV: Stopgap fix for Life Orb.
2013-06-27 22:21:41 -04:00
Guangcong Luo
cca66ef1fe
Fix some doubles incompatibilities
...
Specifically, pokemon.id should never be passed to battle.add()
2013-06-16 03:18:32 -07:00
Marty-D
f5326eed39
Gen IV: Fix Choice locking.
...
- Specifically, using Trick / Switcheroo while holding a Choice item and
receiving the same or a different Choice item keeps the user locked into
the move.
2013-05-10 09:10:54 -04:00
Marty-D
9e53be53c4
Gen IV: Fix Life Orb.
2013-05-07 16:28:44 -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
Guangcong Luo
7913d28286
Gen 4 Custap Berry
2012-06-23 19:11:01 -07:00