Commit Graph

27472 Commits

Author SHA1 Message Date
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
Guangcong Luo
f301e930f6 Fix NPM publishing 2025-02-26 14:15:16 -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
62023bd299 Emit .d.ts types for NPM package
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 02:44:08 -08:00
Guangcong Luo
72bd8baf9e Add TypeScript types for sim requests 2025-02-26 00:00:23 -08: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
Oldenmw
0505c98921
BW Draft: Fix bans (#10923)
* remove sand stream ++ sand rush ban

* remove unreleased abilities/moves from the gen 5 draft format
2025-02-25 22:15:25 -07:00
dot-Comfey
ee05311e38
Fix underleveled egg Pokemon and validation message error (#10922)
* Fix underleveled event Pokemon and validation message error

https://www.smogon.com/forums/threads/bug-report-validator.3760253/
https://www.smogon.com/forums/threads/bug-report-validator.3760172/

* Update team-validator.ts

* Update team-validator.ts
2025-02-25 22:14:55 -07:00
InkyDarkBird
46d42ba6aa
Alphabet Cup: Update bans (#10921) 2025-02-25 22:12:38 -07:00
Smudge
ee3f2bd859
National Dex Doubles: Ban Stakataka (#10925)
* National Dex Doubles: Ban Stakataka

* i'm dumb sorry

* xD
2025-02-25 22:11:39 -07:00
Kris Johnson
d122de400f Mix and Mega: Unban Rusted Sword for suspect 2025-02-25 22:10:56 -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
44a9e287fc Formats: Fix redundant bans
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-21 00:20:14 -08:00
Kris Johnson
f3f748f81f Add ADV UUBL temporary format
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-20 14:58:03 -07: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
9fc5e0ff45
Explicitly make Terastallization tests Gen 9 (#10907)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-18 20:57:43 -06: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
Mia
51f1d6e4ca Info: Update badge faq link
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-17 14:38:03 -06:00
pyuk-bot
9f58961dd3
CGT: Track wins/losses for level 100 Pokemon (#10909)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-16 00:40:12 -07:00
dot-Comfey
08fe70ec3d
Use base species only for learnsetDomain (#10910) 2025-02-15 21:55:05 -06:00
André Bastos Dias
32e196e71d
Fix logic in some skipped tests (#10895)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-02-14 18:09:58 -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
InkyDarkBird
e4f0e1f84e
Alphabet Cup: Update bans (#10893)
* alphabet bans and restricts

https://www.smogon.com/forums/threads/alphabet-cup.3713049/page-9#post-10440668

* Trigger workflow

* SV Alphabet Cup: Restrict Glare, ban Dragonite, ban King's Rock, ban Razor Fang, ban Terastalization

* Update formats.ts

* Update config/formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-02-14 16:49:22 -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
Oldenmw
788899dd51
Add Gen 5 Draft (#10866)
* added gen 5 draft and initial ruleset/banlist

* fixed mod and removed Blaziken complex ban

* added missing trailing comma

* fixed gems clause typo
2025-02-12 14:19:02 -07:00
Chessking345
7aaf7c6b4f
AAA: Ban Ceruledge (#10881) 2025-02-12 13:41:57 -07:00
André Bastos Dias
310865a6f7
Unskip tests (#10888) 2025-02-12 13:41:42 -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
Mia
5a8b8465ff Repeats: Disallow use in personal rooms 2025-02-09 20:56:37 -06:00
André Bastos Dias
01645f6880
Disable Magic Bounce during semi-invulnerability (#10862) 2025-02-09 20:50:45 -06:00
André Bastos Dias
6ab8e0da4c
Fix getUpdatedDetails default parameter (#10870) 2025-02-09 20:37:34 -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