Commit Graph

731 Commits

Author SHA1 Message Date
André Bastos Dias
fd21559ba8 Refactor Gen 1 partial trapping (#11189) 2025-07-22 02:12:20 -07:00
André Bastos Dias
f74586f765 Implement Imprison disabling logic using Test Fight (#11208) 2025-07-22 02:09:45 -07:00
André Bastos Dias
53fe99a6ff Fix interaction between Max Weather Ball and -ate Abilities (#11138)
Some checks failed
Node.js CI / build (18.x) (push) Waiting to run
Publish to npm / test (push) Has been cancelled
Publish to npm / get-version (push) Has been cancelled
Publish to npm / npm-publish (push) Has been cancelled
* Fix interaction between Max Weather Ball and -ate Abilities

* Apply to the other moves

* Revert Normalize

* Revert "Revert Normalize"

This reverts commit e6f670daa8.
2025-07-15 11:36:07 -06:00
André Bastos Dias
3b7b1d2864 Don't update the timer when an updated request is sent (#11251)
* Don't add time if there is a request update

* Ups

* Change prevRequest to updatedRequest

* Fix tests

* Refactor

* Fix tests
2025-07-13 15:38:58 -06:00
demir
2857a7b5ee Add test for 35 Pokes banlist (#11246)
* Add test for 35 Pokes banlist

* Return if no 35 Pokes or no unbanlist

* Move Sneasel-Hisui to ND RU

* Update data/formats-data.ts

* Changed logic to use isBannedSpecies instead of legalTeam

* Simplify to comparing the accepted length

* Bring back `allowed`, use otherFormes

* Moved .length

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-07-11 01:30:15 -06:00
André Bastos Dias
6a44ac42b9 Fix Klutz's interaction with Fling (#11203) 2025-07-01 10:13:16 -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
zianwangs
d6e98c21fb Fix typos (#11200) 2025-06-19 04:10:12 -07:00
André Bastos Dias
4435fc48b8 Fix Terastallization test (#11195) 2025-06-14 10:45:30 -06:00
Kris Johnson
acf0fb8a2e Fix build 2025-06-13 22:40:34 -06:00
André Bastos Dias
0b6d2aa399 Fix tests for low‑BP Terastallized moves (#11193)
* Fix tests for Terastallized low‑BP moves

* Fix error messages
2025-06-13 14:46:03 -06:00
Dieter Reinert
fd1c2f1738 Dex: Prevent isName crash on null/undefined (#11167) 2025-06-02 16:00:40 -07:00
André Bastos Dias
eb3c1f6a39 Fix Magic Bounce in Free-For-All battles (#11144)
* Fix Magic Bounce in Free-For-All battles

* Fix test with unmodified speed

* Modify test name

* Fix test name

* Fix test
2025-06-01 02:00:26 -06:00
André Bastos Dias
3e9d498805 Implement genderless Pokemon in Hackmons (#11161)
* Implement genderless Pokemon in Hackmons

* Fix

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Fix 2

* Fix RNG test

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2025-06-01 01:56:12 -06:00
André Bastos Dias
6513f4b18a Activate Wonder Guard if the target is immune (#11130)
* Activate Wonder Guard if the target is immune

* Lint

* Correctly check for immunities

* Refactor runImmunity

* Change all move.type to move

For example, this fixes Thousand Arrows vs Air Ballon Terapagos. Tera Shell was not activating.

* Remove unnecessary cast
2025-05-31 01:28:46 -06:00
André Bastos Dias
a2f2f14ada Fix Echoed Voice's BP raise when there is no target (#11139)
* Echoed Voice's BP should raise even if there is no target

* Fix test description
2025-05-31 01:24:49 -06:00
skymin3
da9a5c4d8d Update aliases (#11120)
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-05-29 22:44:57 -07:00
André Bastos Dias
233c618f97 Fix Chatter's old gen mechanics (#11140) 2025-05-29 21:50:01 -07:00
André Bastos Dias
cf03724b91 Add test for Magician + Throat Spray (#11145) 2025-05-29 20:22:40 -07:00
ShivaD173
13578bce64 Add test for an Eject Pack interaction (#10704) 2025-05-28 17:22:01 -07:00
André Bastos Dias
859f5f5be8 Fix interaction between Pursuit and Follow Me (#10991) 2025-05-28 15:54:10 -04:00
Guangcong Luo
f616e48196 Validate mod capitalization 2025-05-26 16:30:06 -07:00
André Bastos Dias
0f663cd46f Refactor White Herb activation (#11133) 2025-05-25 12:57:58 -07:00
André Bastos Dias
14b3c117b3 Fix Tera Blast's interaction with Unaware (#10897)
* Fix Tera Blast's interaction with Unaware

* Remove comment

* Update to ESLint 9

* Add Download + Simple test
2025-05-25 10:02:45 -06:00
Guangcong Luo
e07080ce5c Support fuzzy searching /dt etc (#11124)
This add's the teambuilder's fuzzy matching to /dt and similar commands.
2025-05-23 00:26:23 -07:00
sunnytangg
34295c1f6b Gen 4: Fix Haze not removing Focus Energy (#11114) 2025-05-20 19:39:41 -07:00
André Bastos Dias
99ff2921e5 Fix Mold Breaker interactions with abilities' Start events (#10877) 2025-05-20 19:06:22 -07:00
Guangcong Luo
803be601e6 Improve CompoundWordNames validation
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-19 11:16:50 -07:00
Guangcong Luo
a87a05fc7f Update CompoundWordNames for gen 7-9
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-18 17:50:46 -07:00
Guangcong Luo
f54a9ed5e1 Make sure data files never import
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-18 15:19:34 -07:00
Guangcong Luo
99c69509ad Port CompoundWordNames into data/aliases (#11121)
This is what lets you type "ww" or "wind" to find "whirlwind" in the
teambuilder (and PSdex) search.

These were previously in the client build scripts, where I think most
people didn't realize how to find or update them.
2025-05-18 13:39:06 -07:00
Guangcong Luo
7f51282b16 Fix build error
Ugh, this is incredibly annoying, I tested before pushing but committed
this into the wrong branch.
2025-05-18 13:18:42 -07:00
Guangcong Luo
ef9e1d23e2 Validate aliases in unit tests 2025-05-18 12:34:28 -07:00
André Bastos Dias
8158284427 Refactor fainted forme regression (#10878)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-16 07:40:49 -07:00
André Bastos Dias
3db46c58eb Implement White Herb and Eject Pack like Mirror Herb (#10890)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-05-15 11:39:46 -07:00
André Bastos Dias
a4fbc8619b Fix Gen 4 Snatch (#10905) 2025-05-14 08:26:15 -07:00
André Bastos Dias
d25aba9aff Fix: Terastallize Ogerpon and Terapagos with different Tera types (#10814) 2025-05-13 14:44:46 -07:00
Andrew Huang
36fb26649a Fix bug letting Gen-2 OHKO moves skip level check (#11050)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-23 23:10:48 -07:00
André Bastos Dias
6b3d0eefbd Fix Sparkling Aria's interaction with Shield Dust (#10882)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-23 16:57:31 -07:00
Sergio Garcia
fc23103de1 Fix random typos (#11020)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-13 23:59:36 -07:00
Kris Johnson
c654d83a0c Revert AFD 2025 changes 2025-04-02 02:00:58 -06:00
Kris Johnson
991cc727f7 Fix build again
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-01 13:04:50 -06:00
Kris Johnson
07cbce7ce0 Fix build 2025-04-01 12:32:55 -06:00
Guangcong Luo
d0e3531e8b Fix burned Explosion damage
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-03-14 22:45:59 -07:00
Guangcong Luo
ae22234ed0 Add Guaranteed Secondary Mod
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
This is currently for tests, but does have the side effect of plausibly
being fun as an actual mod to add to games.
2025-03-13 15:34:47 -07:00
sunnytangg
dbf5830353 Fix freeze lingering after fainting from Pursuit (#10959) 2025-03-12 19:34:50 -07:00
André Bastos Dias
f2736e1a3f Fix Psychic Noise's interaction with Life Dew (#10892)
* Fix Psychic Noise's interaction with Life Dew

* Add FIXME comment

* Remove unreachable code

* Update to ESLint 9
2025-03-09 12:05:02 -06:00
Guangcong Luo
d6e17ebc9e Fix -All Pokemon overriding Min Source Gen
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-03-06 20:16:57 -08:00
André Bastos Dias
c5b8ff7e47 Magician should steal the item if the opponent faints (#10911)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-03-05 23:25:18 -06:00
pyuk-bot
285cf9e2e6 Prevent Toxic Spikes from activating after being absorbed (#10940) 2025-03-05 22:41:56 -06:00