Commit Graph

3360 Commits

Author SHA1 Message Date
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
Kevin Lau
06b5987bfb Seasonals: Pokemon now have five moves
Magikarps now gain Aqua Ring, which has been modified to heal 1/8 of
maximum HP.

Also fixed some minor typos.
2015-10-09 16:22:46 -07:00
Juanma Serrano
d18e90fd93 Implement October Seasonal, Spoopy Party
This is going to be the Seasonal Ladder for the remainder of October.
Super Squad Showdown will be finished and implemented for November.
2015-10-09 13:12:36 +02:00
The Immortal
d2bb5bf545 Random Battle: Don't count Clear Smog as STAB 2015-10-08 16:47:49 +04:00
Guangcong Luo
836eaa2553 Allow Starf Berry in Baton Pass Clause 2015-10-07 02:13:23 -04:00
Kevin Lau
1fa49099ce Random Battle Move and Ability Updates
Add new sets for Cherrim-Sunshine specifically.

Reject Mach Punch as the only STAB move if the Pokemon does not have
Technician. Affects almost every Fighting Pokemon except Breloom.

Reject Bullet Punch as the only STAB move if the Pokemon does not have
Technician. Affects Metagross and Mega Lucario.

Don't count Charge Beam as singular STAB, and add checks for redundancy
with Thunderbolt based on the number of remaining Special moves. Affects
Emolga and Magnezone.

Reject Sheer Force with Fake Out in Doubles. Affects Hariyama.

Reject Flash Cannon with Iron Head in Doubles to match the rule in
Singles. Affects Aegislash.

Add Freeze-Dry as an option to Mega Glalie sets. Removed Crunch from its
Singles set and Taunt from both sets. Reject Ice Shard with Freeze-Dry so
it doesn't get too many Ice-type moves.
2015-10-05 17:07:47 -07:00
Marty-D
e8a6747e02 Fix multi-hit moves returning false damage when hitting subs 2015-10-03 15:00:29 -04:00
The Immortal
e2ef6ec36a Random Battle: Modify levels and Ability ratings
- Set Pokemon whose Ability is banned from UU at UU level
- Change weather Ability ratings, primarily to make sure Politoed
always gets Drizzle
2015-10-02 20:29:19 +04:00
The Immortal
f980e57fb6 Add tier changes 2015-10-02 19:45:24 +04:00
The Immortal
25491fdcdf Add new OMs of the Month 2015-10-01 22:21:03 +04:00
The Immortal
849a48de9d Random Battle updates
- Add Protect and Sleep Talk to Registeel
- Allow Shadow Sneak as the only STAB on mono-Ghosts
- Prevent Night Shade/Seismic Toss with STAB
- Reject Thunder Wave with Toxic instead of the reverse
2015-10-01 00:33:01 +04:00
Kevin Lau
6e486f9411 Random Battle: Update Cinccino
- Remove Wake Up Slap because it's no longer Technician boosted.
- Change Technician to reject if a Pokemon has Skill Link and all their
Technician-boosted moves are Skill Link moves.
- Added Aqua Tail.

Miscellaneous changes:

- Placed Sheer Force within the counterAbilities section.
- Sorted the coutnerAbilities in the Random Doubles Battle code.
2015-09-29 15:07:15 -07:00
The Immortal
4a8a776b83 Merge pull request #2174 from ascriptmaster/randoms
Random Battle: Ability and Move Updates
2015-09-28 21:41:13 +04:00
Kevin Lau
1a528be0c3 Random Battle: Ability and Move Updates
Reject Solar Power if there are no Special moves (affects Charizard).

If Rampardos does not have Head Smash, make sure it gets Sheer Force.

Don't set the setup type to Physical if there are no Physical moves and at
least two Special moves (or vice versa for Special setup)
2015-09-28 10:30:33 -07:00
Marty-D
cd36cdd287 Make Natural Gift fail while items are disabled 2015-09-27 16:38:21 -04:00
Marty-D
c86660ec4b Fix Punishment's base power 2015-09-27 15:30:02 -04:00
Marty-D
d6fb61c4c6 Correct Grass/Water Pledge descriptions 2015-09-25 23:08:43 -04:00
The Immortal
486d7991e0 Random Battle: Do not count Shadow Sneak as STAB 2015-09-24 19:30:24 +04:00
Kevin Lau
cf4113c43a Improve Hyperspace Fury shortdesc and add a hint when it fails 2015-09-23 15:07:34 -07:00
Guangcong Luo
afaa6d225a Fix Gen 2 Belly Drum display
We now use a -hint to convey that a +2 boost still happens in Gen 2
when Belly Drum fails.

Also, a bug in which 'x2 Atk' didn't appear was fixed.
2015-09-22 23:56:14 -05:00
Slayer95
710fa6af53 Merge pull request #2172 from sobolews/magnitude
Display value of magnitude after move is used
2015-09-22 23:21:10 -05:00
Carl Sobolewski
02c473e8f3 Display value of magnitude after move is used 2015-09-22 21:51:12 -06:00
The Immortal
3e88eeb8dc Random Doubles: Remove Trick on Mega Latios 2015-09-22 21:53:24 +04:00