Guangcong Luo
ded9f1cd5d
Fix duplicate cases in random set generators
2015-11-07 23:12:19 -06:00
Ivo Julca
04c64c143e
Cleanup: remove several unused variables
2015-11-07 17:34:21 -05:00
Ivo Julca
90973d5c0c
Style fixes
...
- Cut down excessive spacing
- Add braces to missing conditionals
2015-11-07 17:08:09 -05:00
Ivo Julca
2c2a3bdf58
Fix misplaced cases in random sets generators
2015-11-07 16:50:51 -05:00
Guangcong Luo
52dece0d09
Merge pull request #2255 from Zarel/block-bindings
...
Use strict mode and let and const instead of var
2015-11-06 22:42:32 -06:00
Marty-D
c4b4fe06ef
Learnsets: Mewtwo learns Dive in ORAS
2015-11-06 22:41:19 -05:00
Ivo Julca
38eb5d373d
Lint: fix variable name collisions in data
2015-11-06 22:31:36 -05:00
Ivo Julca
0479d2b729
Clean up handling of variable bindings in switch statements
2015-11-06 21:58:36 -05: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
Ivo Julca
ef4963e030
Battle Factory: PU is now playable
2015-11-06 01:00:43 -05:00
The Immortal
ef4e63b024
Add shiny Yveltal event
2015-11-05 20:28:47 +04:00
The Immortal
7b625b7380
Random Battle: Update levels for megas without stones
2015-11-05 03:18:43 +04:00
Marty-D
f2191c156c
Add Zororark event
2015-11-03 21:55:21 -05:00
Ivo Julca
71fa5e5c4a
Battle Factory: tier shift update
...
Granbull promoted to RU.
2015-11-03 21:02:18 -05:00
Juanma Serrano
41167748b6
Seasonal: Keep naming convention for team generator
...
Seasonal team generators all should be randomSeasonalNameTeam.
2015-11-04 01:18:23 +01:00
The Immortal
4b26f16e57
November tiers update
2015-11-03 23:04:41 +04:00
Ivo Julca
99ac2cad62
Inheritance: work around overly strict Pokémon ruleset using format flags
...
This change also allows to
- Fix inheritance from Giratina-Origin.
- Remove set cloning for good.
2015-11-02 21:37:10 -05:00
Ivo Julca
6742c1e2a6
Fix Seasonal corrupting randbats moves
2015-11-02 07:53:47 -05:00
Juanma Serrano
22d6f81294
Merge pull request #2201 from ascriptmaster/seasonal
...
Implement November Seasonal, Super Squad Showdown
2015-11-02 08:16:13 +01:00
Guangcong Luo
fa7263eacd
Fix Trick with one item holder
2015-11-01 19:44:11 -05:00
Ivo Julca
0e47aab76b
Add new OM of the Month
...
Inheritance`s implementation rewritten from scratch and updated.
Leaders`s Choice: Same Type Stealth Rock
2015-11-01 19:11:02 -05:00
The Immortal
11fd83d7f8
Random Battle: Move and Item updates
...
- Prevent Hidden Power as the only STAB on dual-typed Pokemon
- Prevent U-turn and Volt Switch with Baton Pass
- Prevent Life Orb on Forretress
2015-11-02 01:31:47 +04:00
Kevin Lau
a38aa59eaa
Implement November/December Seasonal, Super Squad Showdown
2015-10-29 17:15:43 -07:00
The Immortal
57086e015e
Add Xerneas event
2015-10-29 16:44:46 +04:00
Kevin Lau
68412c989b
Random Battle: Update Flareon
...
Wish/Protect isn't very useful when it needs Guts.
2015-10-28 15:30:08 -07:00
Kevin Lau
fc0237649c
Random Battle: Update Swellow
...
Remove Endeavor.
Force Guts on Pokemon with the ability and have Protect.
2015-10-28 15:29:45 -07:00
Guangcong Luo
a2fce9d33e
Merge pull request #2239 from Marty-D/master
...
Update weather Ability activation
2015-10-27 02:36:59 -05:00
The Immortal
872c4995a6
Merge pull request #2237 from ascriptmaster/randoms
...
Random Battle: Ability and STAB Changes
2015-10-26 22:59:22 +04:00
Kevin Lau
ea1a2dee8c
Random Battle: Setup and STAB Fixes
...
Reject Sucker Punch if it is the only STAB move on a Pokemon with moves
that boost Special attacks.
Fix issues with setupType not being set properly with setup moves
appearing in mixed sets.
2015-10-26 10:41:05 -07:00
Marty-D
05997e3bde
Update weather Ability activation
2015-10-25 15:43:42 -04:00
The Immortal
5620f59553
Random Battle: Prevent Roar with setup
2015-10-25 16:37:20 +04:00
The Immortal
29b7b3b38e
Random Battle: Update Tentacruel and Genesect
2015-10-23 13:39:23 +04:00
Ivo Julca
40cb48bf9f
Improve error message for illegal shinies
2015-10-22 23:01:23 -05:00
Ivo Julca
ddd87205ab
AAA: do not autofix ability in Pokemon rule
2015-10-22 22:01:35 -05:00
Marty-D
5c5d442a40
Fix Dry Skin and Solar Power damage display
2015-10-21 16:28:44 -04:00
Ivo Julca
724675b4e5
Fix legality check for shiny megas
2015-10-21 13:55:32 -05:00
The Immortal
f59bea9ba3
Merge pull request #2234 from Marty-D/master
...
Improve support for Ability activation
2015-10-21 21:03:21 +04:00
Marty-D
3d3938723e
Improve support for Ability activation
2015-10-21 09:37:57 -04:00
Ivo Julca
1a8c51e9a9
Consolidate Pokémon forme validation
...
- Introduces `battleOnly` to Pokémon formats-data to flag which formes are forbidden on battle start.
- Adds back Secret Sword as Keldeo-Resolute's required move.
- Introduces `requiredAbility` to handle Darmanitan-Zen.
- Introduces `forcedForme` to items' data to flag the formes that some items enforce.
2015-10-20 23:13:32 -05:00
Ivo Julca
eb6bc80de1
Battle Factory: fix shinyness of event Entei
2015-10-20 18:41:15 -05:00
The Immortal
071f06dbfb
Random Battle: Prevent Sleep Talk without Rest
...
And prevent an Orb on Guts RestTalk Throh.
2015-10-21 02:44:53 +04:00
Ivo Julca
7cefd67626
Reject illegal non-shiny sets rather than fixing
...
Closes #2197
2015-10-20 16:49:09 -05:00
The Immortal
f52d50be27
Random Battle: Ability and move updates
...
- Prevent Quick Attack as the only STAB on -ate
- Make Adaptability Pokemon get more than one STAB
- Allow Guts with RestTalk
- Make sure Milotic has Marvel Scale with RestTalk
2015-10-21 00:32:35 +04:00
Ivo Julca
488a54b5c2
Formats now declare their team length requirements as teamLength
...
E.g., to enforce players to bring teams with 4-6 Pokémon to Team Preview,
and make them choose 2 of them there to battle with:
```
teamLength: {
validate: [4, 6],
battle: 2
}
```
2015-10-19 15:44:09 -05:00
Marty-D
48e4bc46f3
Apply more accurate modifiers in damage calculations
2015-10-18 21:03:37 -04:00
Juanma Serrano
2b0d9cd5b7
Seasonal: Remove items that clash with Trick-o-treat
...
Assault Vest disallows it.
Choice Band and Specs lock into it without giving a proper boost.
We give Life Orb to those so they can get a general damage boost.
2015-10-15 10:12:13 +02:00
The Immortal
5ecdfd8dc9
Random Battle: Update Swellow and Contrary
...
- Add Protect to Swellow and prevent Endeavor with Quick Attack
- Make sure Pokemon with Contrary always have a move that benefits
(except Shuckle)
2015-10-14 19:54:13 +04:00
The Immortal
b6bb84323c
Random Battle: Modify what's acceptable as two attacks
...
- BoltBeam is now only acceptable on Special Attacking Normal-type
Pokemon
- Night Shade / Seismic Toss with another non-STAB move is acceptable
2015-10-14 03:45:06 +04:00
The Immortal
d38b8d8bd8
Random Battle improvements
...
- Don’t count Pursuit as STAB
- Prevent phazing moves with setup (unless with RestTalk)
- Prevent Fire Fang with Fire Blast
- Prevent Zen Headbutt with Psychic
- Prevent Substitute with Rest
- Remove Counter exception so Pokemon with it get their sets checked
- Make sure certain Pokemon always get a recovery move (currently:
Alomomola, Chansey, Blissey)
2015-10-13 02:14:13 +04:00
Kevin Lau
2cabcc0c69
Update NFE Random Battle sets being used in Seasonals
...
Also, allow Pumpkaboo/Gourgeist formes in Seasonals and add a nickname for
Espurr.
2015-10-12 13:59:38 -07:00