Commit Graph

268 Commits

Author SHA1 Message Date
Tarrembeau
0fd2cd9f84
[Gen 7 Random Battle]: Update movepools (#8752)
https://discord.com/channels/294651453279174656/763039843654565941/971799289040891934
2022-05-09 12:35:06 -07:00
Karthik
49149ea8fb
Properly handle Zacian/Zamazenta Crowned forms (#8753) 2022-05-09 14:23:15 -05:00
Karthik
eb49ac32ef
Fix Slow Start not halving Sp. Atk for special Z-Moves (#8739) 2022-04-28 14:03:57 -05:00
Leonard Craft III
e67281aa0f
Gen VIII: Implement Fly animation target leak (#8724) 2022-04-28 14:03:06 -05:00
Leonard Craft III
f033714eda
Implement held Poke Ball legality (#8722) 2022-04-18 12:16:58 -04:00
Annika
d09e2d8354 Random Battles: April 2022 patch 2022-04-04 16:22:31 -07:00
Annika
4d73b897b6 Random Battles: Support more value rules
This adds support for `Max Move Count` and `Adjust Level`
2022-03-30 21:56:43 -07:00
Annika
dce7f33b65 Random Battles: March 2022 balance patch 2022-03-03 18:26:01 -08:00
Marty
dbb0416561 Gen 8 CAP: Actually, nerf Pyroak
https://www.smogon.com/forums/posts/9136596/show
2022-02-27 19:39:59 -05:00
Karthik
2cbfac9b68
Fix Heal Bell/Aromatherapy in Multi Battles (#8671) 2022-02-21 14:22:52 -05:00
pokeblade101
530548b76a
Random Battle: Make Luvdisc level 100 in Gen 6 and 7 (#8664) 2022-02-12 21:09:26 -08:00
Marty
1ebaf62c06 Gen 8 CAP: Buff Pyroak
https://www.smogon.com/forums/posts/9106281/show
2022-02-11 15:12:58 -05:00
Annika
66c2f4b53a Random Battles updates 2022-02-04 20:08:27 -08:00
pyuk-bot
32892af464
Fix National Dex Eviolite checks (#8650) 2022-02-01 13:51:04 -05:00
Annika
70aac0296e Random Battle: Account for nonexistent evolutions 2022-01-30 18:02:29 -08:00
Tarrembeau
56a97e81e5
Random Battle: Add Rhydon to Gen 7 (#8632)
Remove stealth rock from rhyperior as well to differentiate them better.
2022-01-23 17:48:47 -08:00
Tarrembeau
342129d44a
Gen 7 Battle Factory: Fix Combusken's EVs (#8634) 2022-01-23 17:47:21 -08:00
WeWuzNidokangz
7097a9ac75
Hackmons Cup: Support custom team bans/unbans (#8607) 2022-01-09 14:46:41 -08:00
Leonard Craft III
eb93b88875
Fix healing moves to use healing failure messages (#8596) 2022-01-03 17:26:07 -06:00
Annika
e082ce9434 Random Battles: Alphabetize move arrays 2022-01-02 21:09:20 -08:00
Annika
4652c56020 Random Battles: Fix Hidden Power IVs
Fixes #8549
2021-12-04 18:10:38 -08:00
sexy90gxebattlefactoryplayer
84fe802b50
Battle Factory: Force Prankster on Liepard set with Copycat (#8525) 2021-11-16 12:17:24 -08:00
Annika
f7cdeb5b20 November 2021 Random Battles updates
[Gen 8] Random Battle levels were nerfed or buffed for winrates greater than 7 or less than -7 deviations from the mean respectively.

[Gen 8] Random Doubles Battle levels were nerfed or buffed for winrates greater than 4 or less than -4 deviations from the mean respectively.
2021-11-07 18:40:58 -08:00
Leonard Craft III
10b0c72140 Gens 7-8: Correct allyanim flags 2021-10-30 14:33:52 -05:00
sexy90gxebattlefactoryplayer
02173dce01
Battle Factory: Give Passimian Defiant (#8493) 2021-10-11 12:25:33 -07:00
Annika
5d90cc66f4 Add [Gen 7] Monotype Battle Factory
Also removes Monotype teams from regular Battle Factory, as per https://www.smogon.com/forums/threads/monotype-in-gen-7-battle-factory-and-going-forward.3688757/#post-9001460
2021-10-10 20:27:17 -07:00
ACakeWearingAHat
fc1c3e17c5
Random Battles updates (#8473) 2021-09-19 15:50:11 -07:00
Annika
1fc5e3a787 Random Battles updates 2021-09-06 20:46:44 -07:00
Annika
c134195915
Use ts-node instead of Sucrase (#8369) 2021-07-09 19:59:22 -07:00
Annika
33e82d85d5 Random Battles update 2021-07-01 16:33:40 -07:00
Marty-D
965eaff862
Gen 7 UU: Ban Quagsire
https://www.smogon.com/forums/posts/8900000/
2021-06-27 18:22:35 -04:00
Kris Johnson
a1ec8acea4 CAP: Nerf Chromera and Buff Voodoom 2021-06-12 22:52:49 -06:00
Karthik
9e19fea383
Gen 5: Reveal Mail in Team Preview (#8363) 2021-06-12 18:02:36 -07:00
Annika
6363a1854c Random Battles: Don't allow unreleased HAs 2021-06-07 18:45:22 -07:00
Annika
c55658ce06 Random Battles: Fix 3-move Pokemon 2021-06-05 20:33:44 -07:00
Annika
d8988bb250 Random Battles: Fix double-Hidden Power bug 2021-06-05 12:24:08 -07:00
Instruct
da8c1580ea
Gen 5: Refactor to use unreleasedHidden (#8349) 2021-06-05 09:00:15 -07:00
Leonard Craft III
d946308900
Fix the order of many end-turn resolution effects (#8307)
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
2021-05-17 11:53:52 -04:00
Annika
e2d468b6b1 Random Battles: Bugfixes 2021-05-12 14:42:19 -07:00
Guangcong Luo
7e965b41a7 Revert timing for adding rules to field in #8274
It turns out rules need to be added before sides are initialized,
so that they can hook `ModifySpecies` during side initialization.

The proper way to fix this is pretty complex so this is just a hack.
2021-05-11 23:02:01 -07:00
Annika
071e21da5c
Random Battles: Refactor to use Sets and Multisets more (#8292) 2021-05-11 09:16:28 -07:00
Annika
0b438673a6 Fix BSS Factory item generation 2021-05-09 13:00:36 -07:00
Annika
15e6f9406f
Random Battles: Remove Normalium Z Porygon-Z 2021-05-08 18:13:19 -07:00
pyuk-bot
a76052af54
Scale team limits in Random Battles to maxTeamSize (#8281) 2021-05-07 23:52:20 -07:00
Annika
5d177a8384 Random Battles: Remove wrongly-implemented rules 2021-05-07 10:19:45 -07:00
Annika
0b4c904331 Random Battles: Fix crash 2021-05-06 23:27:48 -07:00
Annika
2b3741ec2f Random Battles: Support more Value Rules
Specifically, randomized formats will now support Max Team Size, Min Source Gen, Adjust Level, Adjust Level Down, and Force Monotype.

This fixes the issue with randomly-generated Multi Battle teams containing six Pokémon, instead of three as desired.
2021-05-06 22:45:08 -07:00
Karthik
367b4e7c2d
Implement Zacian/Zamazenta/Xerneas forme leak (#8261) 2021-05-06 19:24:59 -07:00
Guangcong Luo
36295dc27a
Simplify Team Preview events (#8274)
In format events:

`onFieldTeamPreview` has been renamed back to `onTeamPreview`. It's now
a custom event (like `onBegin`), rather than a field event.

Team Preview data has been entirely moved from `onBegin` into
`onTeamPreview`.

`onFieldStart` for formats/rules now happens after Team Preview, rather
than before. Use `onBegin` for things that happen before Team Preview.
2021-05-06 18:53:58 -07:00
Guangcong Luo
55980d416c
Support value rules (#8267)
`teamLength`, `maxLevel`, `cupLevelLimit`, and `minSourceGen` no longer
exist as properties of `Format`. Instead, they're value rules that
become properties of `RuleTable`, and can be specified as custom rules
and inherited through rulesets like anything else.

See the PR for a full reckoning of changes:

https://github.com/smogon/pokemon-showdown/pull/8267
2021-05-06 01:16:16 -07:00