Commit Graph

9645 Commits

Author SHA1 Message Date
Marty-D
b3fd853052
Mark CAP 36 alternate form as Illegal 2025-07-13 12:39:57 -04:00
Spammernoob69
613613b6b6
Implement CAP 36 (#11270) 2025-07-13 10:49:17 -04:00
Slayer95
07b90b13cf
Refactor Team Preview to avoid code duplication (#11237)
DRY is particularly relevant because of the hardcodes,
which are unlikely to be kept in sync in OM code.
2025-07-12 20:57:05 -06:00
André Bastos Dias
3b6af0dd6d
Re-number CAP moves and abilities (#11257) 2025-07-12 15:17:35 -06:00
shrianshChari
fccf112a61
BDSP: Move Chatot and Drifblim to PUBL (#11267)
https://www.smogon.com/forums/threads/bdsp-pu-tier-shifts-post-79.3700009/page-4#post-10626194
2025-07-12 15:16:31 -06:00
Slayer95
2b32c8f57c
Send teampreview request after Tera Type info (#11238)
Refs #8546
2025-07-11 01:33:12 -06:00
André Bastos Dias
9bcca73a33
Modify HP after forme regression (#11261)
* Modify HP after forme regression

* Clip negative HP

* Change method name

* Don't reveal illusion

Should be redundant

* Move message timing

* Fix dynamax

* Clip HP for possible OMs

* Check using baseMaxHp

* Conditions.........

* Use ternary operation

* Fix comment
2025-07-11 01:32:43 -06:00
hammer798
014c77353e
RBY: Drop Slowbro from OU to UU, Drop Victreebel from OU to NU (#11260) 2025-07-11 01:28:07 -06:00
Yoshiblaze
eb550ea05c
VaporeMons Random Battle: Minor changes and bugfixes (#11264)
* Fix Sitrus Berry HP Numbers

* Fix Software Crash's type picking

* Split Froslass' set into two
2025-07-11 01:09:44 -06:00
Mia
3bab394e1b SSB: Remove Lily
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-07-07 22:09:34 -05:00
Kris Johnson
6fc4ef4c45
SSB: Fix bugs with set generation
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-07 16:38:26 -06:00
missshowdown
2fffb4a3ca
GSC ZU: Fix tiers for low-rank NFEs (#11253)
https://www.smogon.com/forums/threads/zu-old-gens-hub-oras-bans-379.3646944/post-10502838
Both Diglett and Slowpoke are D rank on the most recent ZU viability list, the same as other Pokemon tiered as LC like Smoochum, Snubbull, Mankey, etc, so they should be tiered the same.
2025-07-07 16:29:00 -06:00
Kris Johnson
f92b63cc1a Fix typo 2025-07-07 16:26:52 -06:00
André Bastos Dias
f8f08443ac
Remove obsolete inheritance (#11249) 2025-07-06 11:18:38 -06:00
Kris Johnson
4edd58a832 Fix Baton Pass Trap Clause validation 2025-07-06 11:15:18 -06:00
Kris Johnson
f4380feffe
RU: Ban Serperior
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-05 14:04:00 -06:00
Sergio
2ce41f17f3
Fix typos in Alola and Unova Dex rulesets (#11248)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-05 08:28:12 -05:00
Kris Johnson
baf2ea69ac
NatDex: Fix Sneasel-Hisui's tier 2025-07-05 01:47:43 -06:00
missshowdown
a8794d47fb
Fix ZU NFEs (#11241)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
* Fix ZU NFEs

Hisuian Sneasel had >4.52% average usage in ZU in the last three months just like Dipplin, Hattrem, Magneton, and Primeape. Porygon2 also had >4.52% average usage in ZU and was ZU before it moved to NU, so it moves back to ZU. 

Hisuian Sneasel stats
https://www.smogon.com/stats/2025-04/gen9zu-1630.txt - 5.14%
https://www.smogon.com/stats/2025-05/gen9zu-1630.txt - 8.72%
https://www.smogon.com/stats/2025-06/gen9zu-1630.txt - 8.57%
Average: 7.48%

Porygon2 stats
https://www.smogon.com/stats/2025-01/gen9zu-1630.txt - 10.03%
https://www.smogon.com/stats/2025-02/gen9zu-1630.txt - 9.35%
https://www.smogon.com/stats/2025-03/gen9zu-1630.txt - 13.80%
Average: 11.15%

* Update data/formats-data.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-02 12:49:52 -06:00
Kris Johnson
6733e2fc10
NatDex: Fix Mega Slowbro's tier
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-02 01:57:44 -06:00
shrianshChari
def62ad205
NU: Ban Politoed (#11234)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
https://www.smogon.com/forums/threads/np-stage-17-barracuda-politoed-banned-tier-shift.3767218/#post-10610897
2025-07-01 12:18:23 -06:00
shrianshChari
6a416d3cb2
RU: Ban Ogerpon (#11235)
https://www.smogon.com/forums/threads/np-sv-ru-stage-18-kings-queens-july-2025-shifts-ogerpon-quickbanned.3767219/
2025-07-01 12:18:13 -06:00
Marty
99242d57bb Past Gens: Update OU by technicality
https://www.smogon.com/forums/posts/10610694/
2025-07-01 10:43:02 -04:00
André Bastos Dias
6a44ac42b9
Fix Klutz's interaction with Fling (#11203) 2025-07-01 10:13:16 -04:00
Kris Johnson
5771f65626 Add July 2025 tier shifts 2025-07-01 08:09:12 -06:00
urkerab
862f409e57
SideConditionStart event should target the side with the condition (#11216)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
* SideConditionStart event should target the side with the condition

* Use Slayer95's approach

* Delete data/mods/gen9fe/abilities.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-01 01:34:17 -06:00
André Bastos Dias
ac19dbb9e5
Move the gender logic to the validator (#11198)
* Move the gender logic to the validator

* Modify test seed

* Modify seed for other test

* Fix for RandBats

* Remove gender enforcement

* Revert "Remove gender enforcement"

This reverts commit c9c66a3725.

* Allow choosing genderless Pokemon

Without this, genders will always default to '' and never to 'N'
2025-07-01 01:26:42 -06:00
ACakeWearingAHat
6397bfddb3
Randomized format set updates (#11232)
* Randomized format set updates

* Update doubles-sets.json

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-01 01:25:58 -06:00
Yoshiblaze
92482df250
Add July Pet Mod of the Month (VaporeMons Random Battle) (#11230)
* July PMOTM Initial Commit

* Clean up conditions.ts and items.ts

* Clean up abilities.ts

* Clean up pokedex.ts

* Clean up moves.ts Pt. 1

* just changing shelter (i keep losing track of lines)

* Clean up moves.ts Pt. 3 (lost track of lines again)

* Clean up moves.ts Pt. 4

* Clean up moves.ts Pt. 5

* Final clean up Pt. 1

* Final clean up Pt. 2

* Final clean up Pt. 2.1

* Final clean up Pt. 3

* desert storm fix

* desert storm "fix"

* Add VaporeMons to teams.ts

* Remove gen9fe from formats.ts

* Adding VaporeMons Randbats Sets Pt. 1

* Fix Ditto

* Add Randbats Sets Pt. 2

* Add Randbats Sets Pt. 3

* Shorten Garganacl's line

* Fix Typo

* Add Randbats Sets Pt. 4

* Fix error

* Final Randbats Sets

* Minor bugfixes

* Remove Speed-boosting Natures

* Extremely Minor Fixes

* Fix Vaporemons issues

* Fix style errors

* Fix Death Aura & Fair Fight not ending

* Remove test format and Fusion Evolution

* Give Skarmory Sledgehammer Blow

* Fix Illusion's flags

* Add Illusion Level Mod

---------

Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
2025-07-01 01:22:44 -06:00
Karthik Bandagonda
d3d834c91a
Allow Picked Team Size to be used without Team Preview (#11224)
* Add Pick Team rule

* Make Team Preview and Pick Team mutually exclusive

* Automatically apply rule if Picked Team Size exists without preview

* Remove mutually exclusive part

* Move teamsize to start action
2025-07-01 01:20:57 -06:00
adrivrie
bc832df368
Random Battles: June 2025 balance patch (#11229) 2025-07-01 01:17:36 -06:00
Kris Johnson
3b825333ea RBY PU: Ban Rapidash
https://www.smogon.com/forums/threads/rby-pu-hub.3700527/page-8#post-10610118
2025-07-01 01:16:32 -06:00
Leonard Craft III
6e41ce15e3 Add Nickname Clause to Standard Draft
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-06-29 22:42:46 -05:00
André Bastos Dias
5e65007240
ORAS ZU: Ban Huntail and Light Clay (#11221) 2025-06-29 11:31:47 -06:00
Alex "Mathy
063a19e6c1
Randomized formats: Fix genders (#11227)
* Randomized formats: Fix genders

* Old gens
2025-06-29 11:31:24 -06:00
André Bastos Dias
fdbe0e3b5b
National Dex UU: Ban Hawlucha (#11202)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-06-28 11:36:29 -04:00
André Bastos Dias
b598355b66
Gen 3: Fix Magnet Pull not trapping allies (#11207)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-06-24 23:51:48 -04:00
Eve
20717b7c67
LGPE: Implement OU tier changes (#11219) 2025-06-24 20:22:38 -04:00
André Bastos Dias
dc7294ed6e
Remove unused code (#11215)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
* Remove unused Move#negateSecondary
* Remove unused 'SubDamage' event
* Remove unused Move#pressureTarget
* Partially remove unused Move#spreadModifier
2025-06-22 08:21:19 -07:00
skymin3
f68b7e94c4
Aliases: Remove Wormadams (#11209) 2025-06-20 06:04:14 -07:00
André Bastos Dias
1bbb8ec800
ADV: Move Medicham to OU (#11199) 2025-06-16 10:07:41 -06:00
skymin3
f8a4a61874
/dt: Add new aliases (#11157)
* DT aliases update 

Added:
hydra: Hydrapple
duskroc: Lycanroc-dusk
necro: Necrozma
ultranecro: Necrozma-Ultra
Soulblaze: Clangorous Soulblaze
prank: Prankster
jask: Ninjask
horo: Zoroark-Hisui
horoark: Zoroark-Hisui
pompom: oricorio-pom-pom
sensu: Oricorio-Sensu
baile: Oricorio
pau: Oricorio-Pa'u
maud: Audino-Mega
fog: Defog
imp: Imposter
geezing: Weezing-Galar

Removed
ss: Stoked Sparksufer

* Aliase Remove: SSS + Extreme + Searing + Oricorio

* Few more Aliases
2025-06-14 19:03:20 -06:00
André Bastos Dias
f3c17bcf75
National Dex: Ban Roaring Moon (#11187) 2025-06-11 19:05:24 -06:00
skymin3
edd2068e23
Add Acupressure to Evasion Moves Clause (#11181)
https://www.smogon.com/forums/threads/include-acupressure-in-evasion-clause.3738246/post-10583328
2025-06-06 16:56:58 -07:00
Dieter Reinert
5c9ccae9a0
Fusion Evolution: Fix Serene Sync crash with onHit effects (#11179)
* Gen9FE: Fix Serene Sync crash with onHit effects

* Feedback

* eslint: trailing space

* eslint

* Update data/mods/gen9fe/abilities.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-06-05 17:43:27 -06:00
Guangcong Luo
80996b1a3b Allow multiple empty moveslots 2025-06-02 08:43:32 -07:00
Kris Johnson
db6107b462
Implement June 2025 tier shifts 2025-06-02 01:22:27 -06:00
Dieter Reinert
2815ce3d62
Info commands: Fix crash when using /data with Tier Shift Mod (#11149)
* Info commands: Fix crash when using /data with Tier Shift Mod

Fixes a crash that occurred when using the `/data` command (or its aliases like `/dt`) with a format that includes the "Tier Shift Mod" rule.

### The Bug
When users tried to view Pokémon data in a format with Tier Shift Mod, the command would crash with:
```TS
TypeError: Cannot read properties of undefined (reading 'has')
at Object.onModifySpecies (/home/ps/main/data/rulesets.ts:2260:45)```


### Root Cause
The info command was calling `format.onModifySpecies` with a mock Battle context that was missing the `ruleTable` property. The Tier Shift Mod's `onModifySpecies` function needs to check `this.ruleTable.has("standardnatdex")` to determine whether to use National Dex tiers.

### The Fix
Added the missing `ruleTable` property to the mock Battle context in `server/chat-commands/info.ts`. The mock context now includes:
- `dex`
- `clampIntRange`
- `toID`
- `ruleTable` (newly added)

This ensures that any format modifier that needs to access the rule table won't crash when called from the data command.

* Use optional chaning instead of constructing a full rule table.

* Fix: formatting

* More formatting

* formatting due to merge

* Update data/rulesets.ts

* ESLint: Resolve "Type boolean trivially inferred from a boolean literal, remove type annotation"

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-06-02 01:20:34 -06:00
Kris Johnson
8dfed1fa21 Update runImmunity type for mods 2025-06-02 01:12:29 -06:00
Lucas
a3a822d564
Fix Fusion Evolution Random Battle (#11164)
* Fix FERB

* Fully pokemon section of scripts.ts

---------

Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
Co-authored-by: Yoshiblaze <53023564+Yoshiblaze@users.noreply.github.com>
2025-06-02 01:03:23 -06:00