Commit Graph

1305 Commits

Author SHA1 Message Date
The Immortal
302c0b3e12 Set OM mods to gen 6 2016-11-19 17:11:52 +04:00
The Immortal
838d047696 Update unreleased items 2016-11-19 15:12:59 +04:00
urkerab
973e686350 Tentative damage modifier changes on -ate and -ize abilities (#2894) 2016-11-18 23:21:45 -06:00
The Immortal
d43b50ce83 Update moves viability 2016-11-19 06:49:56 +04:00
Ivo Julca
ff6776074a Sync scripted mods with the battle engine 2016-11-18 19:31:38 -05:00
Ivo Julca
bf04094f08 Update BattlePokemon#formeChange to use Tools#spreadModify 2016-11-18 19:26:54 -05:00
Ivo Julca
5d04c4f2e0 King's Shield Atk drop now triggers even if immune 2016-11-18 12:48:50 -05:00
The Immortal
332ff1d49e Set Pichu-Spiky-eared to gen 4
And move eventOnly to the base data, for consistency.
2016-11-18 14:18:49 +04:00
Ivo Julca
c8308ccd89 Sheer Cold no longer affects Ice-type Pokémon 2016-11-18 01:53:24 -05:00
Ivo Julca
5f68ee5495 Misty Terrain blocks confusion 2016-11-18 01:18:03 -05:00
Ivo Julca
b2d2569c6e Destiny Bond may fail if used successively 2016-11-18 00:59:34 -05:00
Ivo Julca
511a45eb95 Implement immunity of Dark-types to Prankster
The immunity also applies to any moves, even non-Status, called by
other Prankster-boosted moves.
2016-11-18 00:35:52 -05:00
The Immortal
1cc5b9279f Gen 6 mod: Add FormatsData 2016-11-18 02:18:22 +04:00
The Immortal
f4dc69acbd Gen 5 FormatsData: Only inherit those with events 2016-11-17 23:05:06 +04:00
Guangcong Luo
b734d2f1c3 Make gen 7 the default mod
This makes gen 7 the default mod, updates the tests to match, and fixes
the corresponding build error.

Note that this only changes the default Tools mod, the default Formats
mod is now gen6. gen7 must be specified by name in a format, for that
format to be a gen 7 format.
2016-11-17 12:27:46 -06:00
Marty-D
5da62651ce Implement more new stuff and remove some TODOs 2016-11-17 11:06:13 -06:00
The Immortal
b9da0c1a95 Gen 6: Remove unreleased hidden abilities
I don’t know if unreleased Pokemon (Floette-Eternal) should be removed
as well. There’s probably an argument that it should be usable in
custom game.
2016-11-17 11:06:13 -06:00
Marty-D
9ace6d2391 Add Soul Dew change 2016-11-17 11:06:13 -06:00
Marty-D
18270f72c4 Add burn damage change 2016-11-17 11:06:12 -06:00
Marty-D
84a6761a90 Revert Unaware change 2016-11-17 11:06:12 -06:00
Marty-D
83acbc578d Add preliminary Gen 7 changes 2016-11-17 11:06:12 -06:00
Guangcong Luo
71249f48fe Make Gen 3 inherit from Gen 4
Due to a quirk of history (namely, programmers having a poor
understanding of the mod inheritance system), Gen 3 inherited from
Gen 5 for a long time, resulting in a lot of duplicate code.

This commit changes up the inheritance system and removes some
duplicate code (specifically, statuses.js and moves.js besides
Metronome and Mirror Move which need more investigation), the rest is
reserved for a future commit.
2016-11-14 09:18:30 -07:00
Marty-D
5388cba493 Gen II: Fix Detect/Endure/Protect success chances 2016-11-01 21:13:11 -04:00
Quinton Lee
55fa6c630e Rulesets: standardize types and names (#2838)
Rules that affect validation are now typed ValidatorRule and rule
names are no longer affected by Tools.getFormat input.
2016-10-12 14:24:53 -05:00
Marty-D
aac63d3e26 Fix various issues with Bide
Corrects all of the following
Gen 2: lasts 2-3 turns
Gen 3: can't hit Ghosts
Gen 4: can hit Ghosts, stops immediately when the user falls asleep or
becomes frozen
Gens 2-6: Stops immediately when the user is prevented from moving
2016-10-06 21:33:30 -04:00
Ben Davies
54d0ff203a Performance: replace direct references to arguments with rest parametres (#2818)
Replacing direct references to the arguments object of functions with rest
parametres prevents the function from being deoptimized while still allowing
use of arbitrary arguments. This may also fix some minor memory leaks related
to mishandling the arguments object.
2016-10-04 16:29:14 -07:00
Marty-D
25ff3aaadc Gen III: Update move descriptions 2016-09-28 16:18:58 -04:00
Marty-D
c3f24da150 Gen IV: Update move descriptions
Also removes unneeded Hidden Powers.
2016-09-26 17:06:08 -04:00
Marty-D
cd387d1847 Gen V, VI: Update several move descriptions
Also removes a handful of now-unnecessary base power callbacks from Gen
5.
2016-09-25 20:25:02 -04:00
Marty-D
bc652d4f62 Fix Struggle recoil timing
Fixes #2780
Also fixes a damage rounding issue.
2016-09-24 20:39:45 -04:00
Guangcong Luo
792866e74a Fix Gen 3 Surf
It was previously hitting all adjacent Pokémon instead of just foes.

Closes #2761
2016-09-21 05:09:01 -07:00
Ivo Julca
b684db5a81
Gen 1: Improve comments and refactor out volatile data for trap PP rollover 2016-09-17 15:51:05 -05:00
Marty-D
71c1858168 Gen II: Fix order of drag-outs and residual damage 2016-09-16 17:13:24 -04:00
The Immortal
bb456401f8 Update gen 4 tiers 2016-09-11 04:35:21 +04:00
The Immortal
4f5ac11d5d Mix and Mega: Move Genesect to Ubers 2016-09-05 15:02:44 +04:00
The Immortal
63233622b8 Mix and Mega: Improve code 2016-09-04 04:41:12 +04:00
The Immortal
59f4202309 Update gen 3 tier list to match Smogon 2016-09-02 01:51:09 +04:00
The Immortal
7fa0964f44 Fix Mix and Mega 2016-09-01 16:42:54 +04:00
The Immortal
07f494e780 Update OMs 2016-09-01 03:20:27 +04:00
Taylor Everding
1a1f64fe95 Remove .js extension from requires (#2725) 2016-08-30 00:04:40 -05:00
urkerab
5f8a608270 Quick Claw and Custap Berry should override Stall (#2709) 2016-08-23 10:35:41 -04:00
Marty-D
17e58b0bbd Gen IV: Fix Effect Spore 2016-08-22 17:06:36 -04:00
Guangcong Luo
2a90611718 Optimize Gen 1 boostBy 2016-08-18 16:15:09 -05:00
Marty-D
6953200e62 Gen I: Fix boosting resulting in a neutral stat stage 2016-08-18 16:10:15 -04:00
Marty-D
89ff8f5997 Gen III: Fix Sleep Talk when calling 0 PP moves
Sleep Talk may select a move with 0 PP but will fail to use it successfully.
2016-08-18 10:08:46 -04:00
urkerab
51fab2d10f Fix client-side activation of Aromatherapy and Heal Bell for all gens (#2699) 2016-08-17 22:35:35 -04:00
urkerab
74aa31dcf1 Use TryAddVolatile for confusion rather than a custom event (#2641) 2016-08-07 12:11:58 -04:00
The Immortal
fd7f611e8c Update gen 2 tiers 2016-08-02 02:47:43 +04:00
The Immortal
9e403b8b89 Add new OMs of the Month 2016-08-02 02:16:24 +04:00
The Immortal
f64388c8e3 BW LC: Ban Scraggy 2016-08-01 19:30:27 +04:00