* Make "All Pokemon" rules more convenient
Previously, "+All Pokemon" did nothing except override "-All Pokemon",
which switched from a default-allow to default-deny system.
They still do that, but they now also override all previous pokemon
bans/unbans. This makes it easier to replace a banlist/whitelist
from an inherited ruleset without needing to reverse every previous
ban/unban.
This also adds an error if you use `+All Pokemon` in a ruleset where
it doesn't do anything.
Fixes#10772
boolean -> number and number -> string should be explicit. Probably
string -> number should be, too, but I'm not ready to turn on the lint
option yet.
This was supposed to be part of the big ESLint refactor but I forgot
to push it. <_<
ESLint has a whole new config format, so I figure it's a good time to
make the config system saner.
- First, we no longer have separate eslint-no-types configs. Lint
performance shouldn't be enough of a problem to justify the
relevant maintenance complexity.
- Second, our base config should work out-of-the-box now. `npx eslint`
will work as expected, without any CLI flags. You should still use
`npm run lint` which adds the `--cached` flag for performance.
- Third, whatever updates I did fixed style linting, which apparently
has been bugged for quite some time, considering all the obvious
mixed-tabs-and-spaces issues I found in the upgrade.
Also here are some changes to our style rules. In particular:
- Curly brackets (for objects etc) now have spaces inside them. Sorry
for the huge change. ESLint doesn't support our old style, and most
projects use Prettier style, so we might as well match them in this way.
See https://github.com/eslint-stylistic/eslint-stylistic/issues/415
- String + number concatenation is no longer allowed. We now
consistently use template strings for this.
* CAP Kitsunoh Buff Process
Changelog:
Kitsunoh:
+14 Attack (103 to 117)
+18 Speed (110 to 128)
+Trace
+Encore
+Upper Hand
-Iron Fist
* Chuggalong 2.0
Speed: -7 (115 to 108)
+White Smoke
+Slow Start
Full movepool: https://www.smogon.com/forums/threads/cap-34-part-17-final-movepool-submissions.3748657/post-10221427
* Update learnsets.ts
Added Event to Chuggalong learnset
* Update learnsets.ts
* Added CAP35 (Shox)
* Added CAP 34 Prevos (Chuggon, Draggalong)
Implemented Chuggon, Draggalong
* Fixed Shox data
* Added evo/prevo entry in pokedex
* Add Evo Level + Entrainment Egg Move
* Added Toxic to Chuggalong line
I was informed we had decided to add Toxic to Chuggalong's movepool for flavor reasons, as it is given to most (all?) Poison types.
* Shox 2.0
Added Shox Full Movepool + PPL stat buff (+18 SpA, +6 Def, +10 SpD, -18 Atk)
* Update learnsets.ts
Oops
* Update learnsets.ts
Pajantom Substitute.
* Little Colosseum: New Ability + Ability Renaming
* Little Colosseum: Ability Renaming Pt. 2
* Little Colosseum: Add Eevee
* Little Colosseum: Add Eevee Pt. 2
* Gen 9 Battle Factory updates
* Force Stealth Rock on non-Uber teams
* update ru spreads for no conk
* Implement Mienshao NU ban
* Random Battles: January 2025 balance patch
* some work
* continued
* baby and lint
* lint and stuff
* Gen 5 Shuckle
* Fix doubles HP EVs
* Remove most terrain abilities from spotlight and add fur coat
* Fix Ursaring roles in old gens
* cacturne and seel
---------
Co-authored-by: livid-washed <115855253+livid-washed@users.noreply.github.com>
Co-authored-by: adrivrie <adriaan.de.vries@hotmail.com>
* PiC: Don't activate abilities when a solo switch-in faints to hazards
* Better namespacing
* Another nickel in the saveReplay jar
Co-authored-by: HiZo <96159984+HisuianZoroark@users.noreply.github.com>
---------
Co-authored-by: HiZo <96159984+HisuianZoroark@users.noreply.github.com>