Commit Graph

9469 Commits

Author SHA1 Message Date
Guangcong Luo
0cb51158aa
Make "All Pokemon" rules more convenient (#10932)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* 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
2025-03-02 14:47:30 -08:00
Kris Johnson
cc1fa09b47 Implement March 2025 tier shift 2025-03-01 10:35:56 -07:00
Kris Johnson
91198ac2c7 Add March 2025 rotational formats 2025-03-01 10:35:01 -07:00
Guangcong Luo
66c90ebd29 Make sure CI correctly stops warnings
`full-test-ci` doesn't run on push to master, only `full-test`, so both
need the `--no-warnings` eslint flag.
2025-02-26 15:18:46 -08:00
Guangcong Luo
73a04cdcba TypeScript: Enable noImplicitOverride
Some checks are pending
Publish to npm / test (push) Waiting to run
Publish to npm / get-version (push) Waiting to run
Publish to npm / npm-publish (push) Blocked by required conditions
Node.js CI / build (18.x) (push) Waiting to run
2025-02-26 14:38:32 -08:00
pyuk-bot
f03dbef9ff
CGT: Add command to view winrates + misc. updates (#10917)
* CGT: Add command to view winrates + misc. updates

* Update data/cg-team-data.ts

* Update data/cg-teams.ts

* Apply suggestions from code review

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-02-26 14:55:43 -07:00
André Bastos Dias
119fe0be36
Fix Heal Bell's interaction with Mold Breaker (#10918)
* Fix Heal Bell's interaction with Mold Breaker

* Update to ESLint 9
2025-02-26 13:51:50 -07:00
Guangcong Luo
e25bec3620 Remove some implicit conversions
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. <_<
2025-02-25 22:55:01 -08:00
ACakeWearingAHat
e71c915006
Gen 9 Battle Factory updates (#10914)
Some checks are pending
Publish to npm / test (push) Waiting to run
Publish to npm / get-version (push) Waiting to run
Publish to npm / npm-publish (push) Blocked by required conditions
Node.js CI / build (18.x) (push) Waiting to run
* Gen 9 Battle Factory updates

* hoodra

* Update factory-sets.json

* update UU

* more UU
2025-02-25 22:15:41 -07:00
Guangcong Luo
78439b4a02
Update to ESLint 9 (#10926)
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.
2025-02-25 20:03:46 -08:00
Guangcong Luo
deda1db857
Snowscape was incorrectly named Snow (#10920)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-19 21:34:55 -08:00
André Bastos Dias
6c57d481fe
Gen 7: Fix Snatch + Swallow interaction (#10916) 2025-02-18 20:55:50 -06:00
Leonard Craft III
b83894a642 DOU: Ban Archaludon
https://www.smogon.com/forums/posts/10447077/
2025-02-18 20:53:10 -06:00
dot-Comfey
ff2ab5b61a
Update Pokemon GO data (#10919) 2025-02-18 18:43:52 -06:00
André Bastos Dias
08ad712a76
Fix Tera Shell + future moves + mid turn switches (#10903)
* Fix Tera Shell

* Ups
2025-02-14 16:55:29 -07:00
Spammernoob69
95f9707e44
CAP: Update Shox (#10906)
* 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.
2025-02-14 16:49:08 -07:00
shrianshChari
04c9ce4dd4
UU: Ban Polteageist (#10901)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
https://www.smogon.com/forums/threads/polteageist-has-been-quickbanned-in-sv-uu.3759857/
2025-02-13 20:14:44 -05:00
pokewillpower
b7f62a84ad
Aliases: Add Genesect namings by type (#10896) 2025-02-13 20:11:50 -05:00
André Bastos Dias
6520ac5b1b
Fix Tera Shell interaction with future moves (#10889)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-12 14:27:30 -07:00
Yoshiblaze
ccd913169a
Little Colosseum: Add Eevee + Ability Renames (#10868)
* Little Colosseum: New Ability + Ability Renaming

* Little Colosseum: Ability Renaming Pt. 2

* Little Colosseum: Add Eevee

* Little Colosseum: Add Eevee Pt. 2
2025-02-12 14:25:51 -07:00
Kris Johnson
a02650e1ab National Dex: Formally reintroduce Roaring Moon to OU 2025-02-12 12:13:45 -07:00
Kris Johnson
2050e9d812
Mix and Mega: Fix validation (again)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-12 00:14:26 -07:00
Kris Johnson
777178d402 Mix and Mega: Fix Mega Stones 2025-02-11 23:25:03 -07:00
Spammernoob69
5876797908
CAP: Add Chuggalong evolution line (#10884) 2025-02-11 20:50:30 -05:00
André Bastos Dias
e11af8036b
Simplify Gen 5 Magic Bounce inheritance (#10880)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-10 17:43:33 -06:00
dot-Comfey
8ecd61e535
Fix crash in team validation (#10879)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-10 07:50:28 -06:00
André Bastos Dias
ef97b292fb
Fix Enamorus shiny validity (#10864)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-09 23:40:13 -06:00
pyuk-bot
e97ea8c7fd
CGT: Count wins/losses in public-room tour-battles (#9999) 2025-02-09 23:34:45 -06:00
Leonard Craft III
3464f7d441 Fix Perish Body check
See https://github.com/smogon/pokemon-showdown/pull/10872#issuecomment-2646631685
2025-02-09 20:59:54 -06:00
André Bastos Dias
01645f6880
Disable Magic Bounce during semi-invulnerability (#10862) 2025-02-09 20:50:45 -06:00
André Bastos Dias
920a0e0773
Fix Rockruff-Dusk's Pokédex entry (#10871) 2025-02-09 20:17:52 -06:00
HiZo
8994a46899
Mix and Mega: Don't free Z-Crystals (#10876) 2025-02-09 17:21:04 -07:00
missangelic
d516e024e9
ADV ZU: Implement VR update (#10875)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
https://www.smogon.com/forums/threads/adv-zu-metagame-discussion-vr-update-samples.3730430/#post-9839941
2025-02-09 11:32:17 -07:00
rorypfister
374a3e94ba
NU: Ban Cetitan (#10873)
Cetitan banned from NU https://www.smogon.com/forums/threads/np-stage-15-labyrinth-cetitan-quickbanned.3757540/post-10432456
2025-02-09 11:20:47 -07:00
André Bastos Dias
d26e34e403
Don't activate Perish Body if either Pokémon has a perish count (#10872)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-08 22:36:27 -06:00
Leonard Craft III
ae3e1147ab Fix inheritance forColosseum Suicune event
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-07 18:42:56 -06:00
André Bastos Dias
ee08ffaae5
Fix interaction of Heal Bell and Good as Gold (#10863)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-06 22:26:24 -06:00
Leonard Craft III
e2a482b82a Add Colosseum Suicune event 2025-02-06 22:15:04 -06:00
Kris Johnson
355f6b00f4 Mix and Mega: Fix some validation
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-03 23:38:17 -07:00
Kris Johnson
3281f6adb0
Mix and Mega: Expand usable items (#10865)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-03 19:18:22 -07:00
HiZo
f46a51a334
Partners in Crime: Don't activate innates while Neutralizing Gas is up (#10861)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
* Partners in Crime: Don't activate innates while Neutralizing Gas is up

* Actually return is unviable here
2025-02-03 10:58:35 -07:00
Kris Johnson
4df5bb20ac Add February 2025 tier shifts 2025-02-01 12:38:34 -07:00
ACakeWearingAHat
aa000fb8a2
Randomized format set updates (#10854)
* 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>
2025-02-01 00:29:39 -07:00
adrivrie
16c3f42d1f
Random Battles: January 2025 balance patch (#10852) 2025-02-01 00:28:46 -07:00
pyuk-bot
614d56b532
PiC: Don't activate abilities when a solo switch-in faints to hazards (#10857)
* 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>
2025-02-01 00:28:30 -07:00
Kris Johnson
519fe2eb37 Add February 2025 rotational ladders 2025-02-01 00:27:11 -07:00
Kris Johnson
69815493b7
NU: Ban Oricorio-Sensu 2025-01-30 00:24:38 -07:00
Kris Johnson
a8778571f7
ZU: Ban Oricorio-Sensu 2025-01-29 22:52:56 -07:00
larry-the-table-guy
b7521e5d7e
Data & Test: Fix several typos (#10845)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-01-29 08:18:52 -06:00
pyuk-bot
d286478fe0
OMs: Fix innate abilities and items when switching in (#10844) 2025-01-28 20:24:13 -06:00