Commit Graph

27459 Commits

Author SHA1 Message Date
Kris Johnson
fbc0a8445e 1-2 Switch: Add message for which Pokemon's turn will be skipped
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-01 12:52:24 -07:00
Kris Johnson
4df5bb20ac Add February 2025 tier shifts 2025-02-01 12:38:34 -07:00
Kris Johnson
fdd627f762 35 Pokes: Add Parasect 2025-02-01 12:37:34 -07:00
Kris Johnson
15fd8df3b5 35 Pokes: Update legality
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-02-01 00:41:01 -07:00
dot-Comfey
6bd4963e7a
Fix weird Dream World incompatibilities (#10856)
* Fix move validation involving prevo-only moves

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

This is something that should've always been in #10574. Setting setSources.babyOnly becomes useless here because it eventually gets set after validating a move is complete.

* Actually fix DW
2025-02-01 00:32:14 -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
pyuk-bot
bafd84ff10
Don't let leftover handlers from consumed items call eatItem/useItem (#10853)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-01-31 14:46:42 -06:00
André Bastos Dias
dd4f69c168
Fix Illusion Level Mod (#10850)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-01-30 09:26:55 -07:00
Karthik Bandagonda
f36cc3aee8
Fix Illusion Level Mod (#10849)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
* Fix Illusion Level Mod

* go back to just sending the level as the argument
2025-01-30 00:25:20 -07:00
Kris Johnson
69815493b7
NU: Ban Oricorio-Sensu 2025-01-30 00:24:38 -07:00
Kris Johnson
8a0657f6eb
STABmons: Update bans 2025-01-29 22:54: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
HiZo
7441536e98
OMs: Refactor when extra abilities and items are applied to use #10844 (#10846) 2025-01-29 08:17:59 -06:00
HiZo
fce693795c
Fix bug where Wish and Future Sight ignore fainted pokemon (#10847) 2025-01-29 08:17:02 -06:00
Leonard Craft III
6415349166 Add skipped tests for Wish/Future attack timing bug
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-01-28 22:20:06 -06:00
pyuk-bot
d286478fe0
OMs: Fix innate abilities and items when switching in (#10844) 2025-01-28 20:24:13 -06:00
pyuk-bot
98ce87e636
Fix improper duplication of cached dex data (#10843)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-01-28 18:37:29 -06:00
Leonard Craft III
8d83ecf063 Fix Manaphy HOME event 2025-01-28 18:05:54 -06:00
Leonard Craft III
717dd6bad3 Add new HOME events 2025-01-28 17:12:07 -06:00
pyuk-bot
7bb2fd1869
Overhaul 'SwitchIn' event for more accurate effect resolution order (#10766) 2025-01-28 16:51:17 -06:00
Mia
ec1c909e3c Fix typo 2025-01-28 14:35:23 -06:00
Mia
46800084b9 Chat: Ensure 'does not exist' messages don't leak private commands
A private command table named /foo - say, with /foo bar and /foo baz - would leak its existence when /foo is used, reporting back that the command '/foo ' does not exist - whereas a nonexistent command would not have the trailing space.
2025-01-28 14:31:06 -06:00
Mia
5cac4ed3e7 Core: Ensure /help doesn't leak private commands with incorrect 'does not exist' messages 2025-01-28 14:28:04 -06:00
Mia
efadd59f6d Fix typo
Got unstaged while I was fixing some replays spacing issues that got automatically generated. Boo.
2025-01-28 14:01:21 -06:00
Mia
44718bb847 Stop using Math.random in more critical spots 2025-01-28 14:00:15 -06:00
HiZo
d5c4fb5730
Remove Crazyhouse Rule (#10841)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
* Remove Crazyhouse

Causes too many problems/crashes when mashed up.

* lint
2025-01-27 17:50:29 -07:00
Kris Johnson
f79abcf51e SSB: Nerf yeet dab xd, buff Loethalion 2025-01-27 14:53:20 -07:00
Kris Johnson
16c131bcb6
Update formats-data.ts
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-01-26 20:15:11 -07:00
larry-the-table-guy
97e70cb13f
PRNG: Address 'TODO: benchmark' comment (#10822)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
The alternative big-endian read impl is indeed slower.
2025-01-25 14:20:36 -07:00
Kris Johnson
9326c73b67
Add missing events (#10840) 2025-01-25 13:23:52 -07:00
André Bastos Dias
ce76114c12
Implement fainted forme regression (#10810) 2025-01-25 14:06:40 -06:00
André Bastos Dias
1dbe4f8aef
Tera Shell doesn't activate if the move is already resisted (#10815)
* Don't activate Tera Shell if resisted

* Fix for Hackmons

Relevant if Terapagos-Terastal transforms and terastallizes, keeping Tera Shell

* Update comment
2025-01-25 11:39:18 -07:00
André Bastos Dias
6d5970829a
Fix inherit for in-game mods (#10834) 2025-01-25 11:38:30 -07:00
larry-the-table-guy
912b540ed7
SSB: Fix typos in move descriptions (#10833)
* SSB: Fix typos in `moves.ts`

* SSB: Fix typos in `abilities.ts`
2025-01-25 11:37:27 -07:00
cat-colon-three
e76188dba2
SV National Dex AAA: Unban Zamazenta (#10838)
* SV National Dex AAA: Unban Zamazenta-Hero

https://www.smogon.com/forums/threads/national-dex-almost-any-ability-spotlight.3726510/page-3#post-10417349

* fixing the spaces
2025-01-25 11:37:17 -07:00
kabilapok
9c43adc331
SV NFE: Ban Moody (#10835)
https://www.smogon.com/forums/threads/nfe.3710638/post-10416144
2025-01-25 11:36:52 -07:00
Zachary Perlmutter
6eccffaae9
National Dex Ubers UU: Ban Arceus-Flying (#10837)
* National Dex Ubers UU: Ban Arceus-Flying

https://www.smogon.com/forums/threads/national-dex-ubers-uu-update-76.3742166/post-10417902

* Update config/formats.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-01-25 11:36:35 -07:00
Oldenmw
9311e1e6ad
Add 'Sleep Move Clause' to Gen 4 Draft (#10839)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2025-01-24 14:39:19 -07:00
pyuk-bot
3666829c0a
Gen II: Move HP berries' activations after Reflect, etc. (#10836)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-01-22 17:19:46 -05:00
Mia
1bdecae604 PRNG: Ensure seeds are generated securely
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2025-01-19 21:32:49 -06:00
ACakeWearingAHat
4251903fc1
Gen 9 Battle Factory updates (#10823)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
* Gen 9 Battle Factory updates

* Force Stealth Rock on non-Uber teams

* update ru spreads for no conk

* Implement Mienshao NU ban

---------

Co-authored-by: livid-washed <115855253+livid-washed@users.noreply.github.com>
2025-01-18 09:29:39 -07:00
Dieter Reinert
a90e75acfc
SSB: Fix null reference error in 'Drifting' ability (#10824)
* SSB: Fix null reference error in 'Drifting' ability

Fixed a crash caused by a `TypeError` when the `defender` is `null` in the `Drifting` ability. Added necessary null checks in the `onModifyAtk` and `onModifySpA` methods to ensure `defender` is valid before accessing its properties.

**Stack Trace:**
```TS
A battle crashed: TypeError: Cannot read properties of null (reading 'activeTurns')
at Battle.onModifyAtk (/home/ps/main/data/mods/gen9ssb/abilities.ts:1725:18)
at Battle.runEvent (/home/ps/main/sim/battle.ts:845:34)
at Pokemon.getStat (/home/ps/main/sim/pokemon.ts:602:23)
at Battle.onModifyMove (/home/ps/main/data/mods/gen9ssb/moves.ts:6018:16)
at Battle.singleEvent (/home/ps/main/sim/battle.ts:585:25)
at BattleActions.useMoveInner (/home/ps/main/data/mods/gen9ssb/scripts.ts:1308:16)
at BattleActions.useMove (/home/ps/main/sim/battle-actions.ts:386:27)
at BattleActions.runMove (/home/ps/main/data/mods/gen9ssb/scripts.ts:1216:34)
at Battle.runAction (/home/ps/main/data/mods/gen9ssb/scripts.ts:443:17)
at Battle.turnLoop (/home/ps/main/sim/battle.ts:2802:9)
```

* put check on both modify events
2025-01-18 09:29:17 -07:00
shrianshChari
47a1dcbdcf
Aliases: Add another alias for Clear Amulet (#10829) 2025-01-18 09:28:56 -07:00
shrianshChari
b368fcaa47
BW PU: Ban Swanna (#10828)
https://www.smogon.com/forums/threads/bw-pu-suspect-swanna.3757900/post-10406518
2025-01-18 09:28:26 -07:00
rorypfister
96002ae445
SV NU: Ban Mienshao (#10830)
https://www.smogon.com/forums/threads/np-stage-15-labyrinth-mienshao-banned.3757540/post-10408604

Mienshao has been banned from NU following a suspect test
2025-01-18 09:28:05 -07:00
Yoshiblaze
fd8c5764da
GSC Doubles: Unban Celebi (#10831) 2025-01-18 09:27:40 -07:00