Commit Graph

59 Commits

Author SHA1 Message Date
Guangcong Luo
801af59b98 Fix remaining build errors
- Centiskorch was misspelled in formats-data, causing a crash in the
  egg validator

- A few validation errors were due to Gen 6 not inheriting from Gen 7,
  Gen 7 not having a scripts file, and Gen 8 having a gen of 7

- Intimidate (Gen 7) wasn't inheriting from Intimidate (Gen 8), giving
  it no name, causing a few validation errors

  (Technically not a build error, but I also added Keen Eye to the list
  of Intimidate immunities, as reported by SadisticMystic.)

- A lot of tests relied on Teleport always failing; these have been
  switched to Gen 7 or swapped Teleport for Celebrate

- Inverse Mod suddenly stopped working; its implementation was a huge
  hack and I can't figure out what went wrong, so I've switched it to
	using the same system the other mod tests use. It's still a huge
	hack, but I don't have the free time to fix it right now.
2019-11-16 06:08:48 +13:00
The Immortal
a0e94eb2ca RandomTeams mods: Shorten path 2019-11-15 19:50:17 +04:00
The Immortal
85356c3a43 Clean up data
- Add missing flags to FormatsData
- Remove unnecessary flags and data
- Remove unreleased abilities in past gens
2019-11-15 15:40:08 +04:00
The Immortal
1caf446e58 Move RandomTeams to gen 7 mod 2019-11-15 15:36:22 +04:00
The Immortal
76db134959 Random Battle: Wigglytuff doesn't learn Memento 2019-10-11 23:09:51 +04:00
Alumn
eb083c46b8 Add a full ability description for Contrary + Simple (#5873) 2019-10-11 12:36:48 -04:00
The Immortal
a57ee0bfed Random Battle improvements 2019-10-09 04:01:33 +04:00
Guangcong Luo
7a023746ba
Refactor battle.dex out of battle (#5851)
In most other similar systems, like TeamValidator, we use `thing.dex` instead of having it extend `ModdedDex`. Battle has always extended `ModdedDex`, though. This changes Battle to match the others.

This should fix an issue with `Battle.data` not being cached.

This also frees up Battle to extend ObjectReadWriteStream<string> in a future update.
2019-10-06 07:38:08 +11:00
The Immortal
0e044687a6 Random Battle: Fix duplicate moves
Accidentally added in previous commit.
2019-09-25 22:40:53 +04:00
The Immortal
f005a5bfcf Random Battle updates 2019-09-25 17:14:39 +04:00
The Immortal
dad61c43d5 Random Battle fixes 2019-09-19 21:21:32 +04:00
fart
007215d311 Update random-teams.js (#5793) 2019-09-18 05:17:52 +04:00
The Immortal
2b76546d84 Random Battle updates
In addition to various improvements, this commit removes unused LC and NFE random moves as they are outdated.
2019-09-18 02:12:42 +04:00
The Immortal
b096c19aa9 Random Battle: Improve sets 2019-09-04 17:03:57 +04:00
The Immortal
e416b34129 Random Battle fixes 2019-09-02 04:58:35 +04:00
The Immortal
aba67d6db4 Random Battle: Add minimum speed for Life Orb 2019-09-01 21:16:54 +04:00
The Immortal
26dfe8fd9e Revamp Random Battle
- New ability ratings
- Improve move pools
- Allow non-status moves to be re-rolled if rejected (this fixes all undesired move set combinations)
- Update move & ability rejections
- New item possibilities
2019-09-01 19:40:53 +04:00
The Immortal
242b6bed9b Random Battle updates 2019-08-16 19:40:31 +04:00
The Immortal
9f8e20da8e Random Battle: Fix Monotype teams
And remove unused item selection.
2019-06-25 22:28:57 +04:00
The Immortal
e8eaa319a7 Random Battle: Improve Cloyster 2019-06-10 16:55:32 +04:00
Kevin Lau
09b6eba829 Random Battle: Update Heliolisk (#5523) 2019-06-10 16:25:14 +04:00
Kirk Scheibelhut
3d24166cdf toId -> toID
Closes #5479
2019-05-12 17:53:01 -07:00
The Immortal
8019aeec10 Random Battle updates 2019-05-12 18:31:56 +04:00
The Immortal
5ca2ddbbea Random Battle: Remove Water Spout Kyogre-Primal 2019-05-08 05:05:21 +04:00
The Immortal
034b936219 Random Battle updates 2019-04-24 02:50:51 +04:00
Kevin Lau
74d24d8dce Random Battle: Update Mandibuzz (#5449) 2019-04-16 00:15:56 +04:00
The Immortal
b0901e6fc9 Random Battle updates 2019-04-15 16:58:48 +04:00
Marty-D
ad4f80ee67 Fix Anticipation interaction with Hidden Power 2019-04-11 14:01:23 -04:00
Guangcong Luo
a33fc11d26 Refactor Actions, RandomTeamsTypes to namespace
They were previously some weird interface where their actual types
were properties. I guess whoever wrote this was unaware that TypeScript
namespaces were designed for this exact use-case.
2019-04-10 19:58:56 +09:30
urkerab
8034198c87 Camouflage and Soak should fail if they don't change the type (#5425) 2019-04-09 08:18:07 -04:00
The Immortal
e1c389a182 Random Battle updates 2019-04-08 16:39:19 +04:00
The Immortal
a864d38240 Random Battle updates 2019-04-01 19:05:08 +04:00
Slayer95
628f32e8fb Stricter type definitions for dex data (#5375)
BattleStatuses switched to PureEffectData
2019-03-30 22:31:04 +08:00
The Immortal
8d56dad32b Random Battle updates 2019-03-28 21:06:55 +04:00
Kevin Lau
9c226c5556 Reject Magnet Pull on non-Earth Power Probopass (#5354) 2019-03-28 17:20:21 +04:00
The Immortal
1cade1340a Random Battle improvements 2019-03-22 03:02:41 +04:00
Kris Johnson
f4300a8692 Add "(PU)" support for Gen 6 (#5316) 2019-03-18 22:50:48 +04:00
The Immortal
b0f9a9f493 Random Battle updates 2019-03-18 22:49:14 +04:00
Slayer95
7a7ad8453d Fix regressions in team generators (#5302) 2019-03-12 18:44:38 -07:00
The Immortal
6c3bee2ae6 Random Battle: More improvements
- Remove Dragon Tail from Lugia and replace Aeroblast with Psychic in current gen
- Revert previous Spiritomb change and instead remove Sucker Punch + Pain Split
- Give current gen Heatran Magma Storm (+Firium Z)
- Give Castform-Snowy Life Orb over Icy Rock
- Remove Air Balloon from 2x Ground weak Pokemon
2019-03-12 18:27:11 +04:00
The Immortal
91c1d661b9 Random Battle: Update Spiritomb 2019-03-12 00:16:51 +04:00
The Immortal
682cab6092 Random Battle improvements
- Update Castform sets
- Remove Psyshock from Hoopa-Unbound
- Allow Diggersby to get Choice Scarf
- Lower priority of Air Balloon selection
2019-03-11 23:15:46 +04:00
MacChaeger
a6d9afc356 Randbats: update Poliwrath (#5250) 2019-03-11 02:59:51 +04:00
The Immortal
7653384d20 Random Battle updates
- Only give Porygon-Z Z-Conversion under the right circumstances
- Slightly reduce the rating of Download so Porygon gets Adaptability a bit more
- Improve Haxorus' movepool
- Remove unviable Genesect sets
- Allow U-turn as the only STAB on Genesect
- Improve Magearna's movepool (+Fairium Z)
- Don't reject Flash Cannon with Special setup
- Give Fairies STAB when they need it
- Set Shift Gear as a Speed setup move
- Change the Life Orb bulk requirement to match Focus Sash
- Reject Trick with Speed setup
2019-03-08 17:27:44 +04:00
Kevin Lau
9a2d94220c Random Battle: Reduce range of Pokemon that get Focus Sash (#5259) 2019-03-06 23:44:04 +04:00
Kris Johnson
8373574337 CAP: Nerf Necturna (#5257) 2019-03-05 19:01:45 -06:00
The Immortal
2443d16df2 Random Battle: Improve Physical Rock-types 2019-03-06 00:18:35 +04:00
MacChaeger
33a872e029 Gen 7: Stockpile tracks individual stat alterations (#5246) 2019-03-04 17:59:44 -06:00
The Immortal
0bc1f96fc3 Random Battle: Improve Kyurem 2019-03-02 22:26:40 +04:00
Kirk Scheibelhut
6e122d5d74 Refactor lib/ to be native Typescript (#5217) 2019-03-02 11:12:24 -06:00