Commit Graph

183 Commits

Author SHA1 Message Date
Marty-D
25f0dd851e
Descriptions: Update some moves
Resolves #11895 
Resolves #11909
2026-06-19 17:32:00 -04:00
Karthik Bandagonda
665f507b48
Champions: Implement 1.1.0 changes (#12114)
* Champions: Implement 1.1.0 changes

* Update more levitate references and update move descs

* Fix Rage Fist desc again

* Update data/mods/champions/moves.ts

* Change champions mod check to use startsWith

* Update moves.ts

* Update scripts.ts

* Delete data/mods/championsregma/moves.ts

* Apply suggestion from @KrisXV

* Update items.ts

* Update items.ts

* lint

* clean up mod

* Update mega abilities

* Update formats.ts

* Update teams.ts

* Update formats-data.ts

* Update pokedex.ts

* Update config/formats.ts

* Update sim/teams.ts

* Apply suggestion from @KrisXV

* Apply suggestion from @KrisXV

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2026-06-17 17:10:22 -06:00
Marty
8f58c628f1 Descriptions: Put Champions in the main text files
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2026-05-18 19:29:26 -04:00
André Bastos Dias
dfa70a7abc
Champions: Add extremely effective and mostly ineffective text (#12011)
Co-authored-by: André Bastos Dias <dias.andre@siemens.com>
2026-05-04 14:31:35 -06:00
Marty
4f12cc3daa Descriptions: Update Mega Stones
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2026-04-20 21:07:55 -04:00
Kris Johnson
b555f4d8ce
Implement Champions (#11910)
* Make a mod file

* Add Pokemon in Champions (#3)

* Add new Megas abilities (#4)

* Add new Megas abilities

* Apply suggestion from @KrisXV

---------

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

* Add conditions for Champions (#5)

* Add conditions for Champions

* Add a turn limit to freeze

* Swap the order of the checks

Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>

---------

Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>

* Disable Fake Out if it is not the first active move action (#7)

* Disable Fake Out if it is not the first active move action

* Remove unnecessary code

---------

Co-authored-by: André Bastos Dias <dias.andre@siemens.com>

* Implement Piercing Drill, Spicy Spray and Unseen Fist (#2)

* Add Piercing Drill and Spicy Spray

Fix ability numbers

Refactor condition

Disallow Piercing Drill/Spicy Spray in formats !Obtainable Abilities without +Future

Refactor condition

* Rename blockStatus

* CFZ-moves completely bypass Protect

* Update Gen 4 Protect

* Old gen Wide Guard and Quick Guard

* Fix Wide Guard

* Clean Mat Block implementation

* Nerf Unseen Fist

* Fix condition

* Update sim/battle.ts

---------

Co-authored-by: André Bastos Dias <dias.andre@siemens.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Implement PP mechanics (#8)

* Implement PP mechanics

* Clip all moves to 20 PP

* Apply suggestion from @KrisXV

* Update scripts.ts

---------

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

* Add Champions stat calculaiton

* Fix conflicts with smogon/master (#11)

* Fix stat formula (#12)

* Implement PP mechanics (#8)

* Implement PP mechanics

* Clip all moves to 20 PP

* Apply suggestion from @KrisXV

* Update scripts.ts

---------

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

* Fix stat formula

* For clarity like we do with friendship in letsgo

* If we don't allow IVs and Level to be modifiable, there is not point in having `Adjust Level = 50`

---------

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

* Add Champions Items (#9)

* Remove Mega Raichus, Mega Z, and Greninja-Bond (#10)

* Remove Mega Raichus and Mega Z

* Remove Greninja-Bond

* Implement Mega Sol's activation message (#13)

* Implement Mega Sol's activation message

* Update ModdedBattlePokemon interface

* Implement move changes (#6)

* Implement move changes

* Re-implement Salt Cure changes

* Update moves

* Implement Blood Moon package

* Mimic https://github.com/smogon/pokemon-showdown/pull/11838/

https://github.com/smogon/pokemon-showdown/pull/11838/

* Implement accuracy and PP changes

* Mark Double Shock and Revival Blessing as Past moves

* Import learnsets from Serebii (#19)

* Import learnsets from serebii

* floette -> floetteeternal

* Update learnsets

* Apparently I forgot to give Gourgeist-Small its tier (#15)

* Move Pikachu to NFE (#21)

* Oops

* Add Pokemon I forgot the first time (#24)

* Add 'Past' moves (#23)

* Add past moves

* Fix move availability

* AfterHit effects should activate even if the source faints (#20)

* AfterHit effects should activate even if the source faints

* Change Gens 3-4 event order

* Ups

* Announce 4x and 0.25x effectiveness (#14)

* Reset Encore priority and choose random target (#17)

* Reset Encore priority and choose random target

* Allow onOverrideAction

* Quash + Encore interaction

* Don't send target

targetLoc was actually thing being checked but wtv

* Activate White Herb after choosing the Parting Shot switch (#26)

* Activate White Herb after choosing the Parting Shot switch

* Add comment

* Add formats

* Implement flag changes (#25)

* Implement flag changes

* Fix Gen 5 Rage Powder (remove poder immunity check)

* Add moves and abilities descriptions

* Apply suggestion from @KrisXV

* Comment Rage Powder

Leave this comment and I would choose the implementation depending on what we see from the healing flag.

---------

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

* Announce status immunities from abilities (#22)

* Mega Sol boosts the damage of Fire-type moves as if they were under sun (#18)

* Remove hardcoded Utility Umbrella

* Check effective weather on attacker

* Don't activate Mega Sol under sun

* Add TODO comment

* TODO: check interaction with Utility Umbrella

* Move implementation to base mod

* Do not revert Mega Evolutions upon fainting (#16)

* Revert Mega Evolutions on fainting

* Allow diferent levels in the team builder

* TODO: confirm interaction with Revival Blessing

* Add Species Clause and Obtainable

* Update team-validator.ts

---------

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

* Update abilities percentages (#27)

* Healer has a 50% chance of curing the status conditions of its allies

* Update Shed Skin

---------

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

* Fix crashes

* add custom game

* Fix typo

* update flat rules

* Update data/mods/champions/scripts.ts

Co-authored-by: Slayer95 <ivojulca@hotmail.com>

---------

Co-authored-by: shrianshChari <30420527+shrianshChari@users.noreply.github.com>
Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>
Co-authored-by: André Bastos Dias <dias.andre@siemens.com>
Co-authored-by: Karthik Bandagonda <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: Slayer95 <ivojulca@hotmail.com>
2026-04-10 20:29:01 -06:00
iforgetwhyimhere
7ae9bc6d4c
Descriptions: Add Dragonize and Mega Sol (#11867)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2026-03-31 20:34:54 -04:00
André Bastos Dias
c1e7db7735
Sort Dex entries (#11565)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
* Sort Dex entries

* Fix ExhaustiveRunner
2025-11-09 00:04:57 -07:00
Justin Xing
9562cec389
Add Pretty Feather (#11408) 2025-10-21 12:11:09 -04:00
Marty-D
9e6f71c175
Descriptions: Add new items 2025-10-21 12:10:23 -04:00
Karthik99999
ae49cc9c66 Update Heal Block messages 2025-09-28 00:51:06 -07:00
André Bastos Dias
324966b811
CAP: Prevent Polar Flare from thawing targets (#11273) 2025-07-15 21:39:19 -04:00
Spammernoob69
613613b6b6
Implement CAP 36 (#11270) 2025-07-13 10:49:17 -04:00
Marty-D
58711d3511
Descriptions: Update some Abilities 2025-04-30 22:17:35 -04:00
Andrew Huang
e00df54850
Descriptions: Fix Gen 1 Leech Seed (#11055) 2025-04-30 22:09:32 -04:00
Marty
6d98dfa237 Descriptions: Update Shield Dust and Covert Cloak
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
Closes #11042
2025-04-21 21:23:38 -04:00
Marty-D
b7acdf9d3c
Descriptions: Update Baton Pass 2025-04-06 18:11:15 -04:00
Marty-D
a56b9801cf
Descriptions: Update Chloroblast
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-03-21 22:38:35 -04:00
Guangcong Luo
2f0ce9c423 Implement Chilly Reception message
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
This is a bit hacky, but works in all the most common situations.

I wrote this a few weeks ago but was undecided about the `[premajor]`
tag format. I'm still not sure about it, but it's not like I'm going
to be any more sure if I keep waiting.
2025-03-16 01:33:05 -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
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
Marty-D
946f3d8031
Descriptions: Update Shed Shell
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2024-12-15 15:54:41 -05:00
Marty-D
814931b2cd
Descriptions: Add Gen 2 Belly Drum
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2024-12-10 23:11:23 -05:00
Marty
62ce9d4fe7 Descriptions: Update more from suggestions
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2024-12-07 11:28:17 -05:00
TwiSteorra
176972c09a
Descriptions: Add Tidy Up mention to hazards and Substitute (#10729)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2024-12-04 14:43:06 -05:00
TwiSteorra
40f8d37caa
Descriptions: Update 2-5 hit moves with Loaded Dice interaction (#10727) 2024-12-04 14:34:30 -05:00
shrianshChari
44c9f3bfe6
Descriptions: Clarify Toxic Chain (#10726) 2024-12-04 14:14:53 -05:00
TwiSteorra
1cd4298470
Update Icy Rock description (#10707)
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2024-11-28 20:56:46 -06:00
Marty-D
cb9c45c4ff
Descriptions: Order Up-date
Some checks failed
Node.js CI / build (16.x) (push) Has been cancelled
2024-11-21 20:52:21 -05:00
Hypersonicly
4a3d4d23e3
Update Supercell Slam and Minimize's descriptions for new interaction (#10687)
* Update Minimize Description to Match Supercell Slam Interaction

* Update Supercell Slam Description to match Minimize Interaction

* Save Gen 8 Description of Minimize
2024-11-21 15:57:40 -07:00
Marty-D
d495f0a743
Descriptions: Clarify Gen 9 Utility Umbrella
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2024-11-08 14:44:09 -05:00
PartMan
269e6f3751
Items: Add descriptions for Strange Ball (#10643)
Some checks are pending
Node.js CI / build (16.x) (push) Waiting to run
2024-10-30 20:20:24 -05:00
Marty-D
dd472ffe08
Descriptions: Verbosify Pickup 2024-09-15 21:12:29 -04:00
KingNeodude
7f9c371a6e
Descriptions: Update First Impression (#10479) 2024-09-01 14:58:57 -04:00
Leonard Craft III
4d25ce4a4d Update Tera Starstorm's description 2024-07-19 17:01:21 -05:00
Leonard Craft III
27557e5fdc
Convert noSketch to move flag (#10407) 2024-07-14 23:45:10 -05:00
Marty-D
493e00a143
Descriptions: Fix Illuminate inheritance 2024-07-13 22:33:51 -04:00
Leonard Craft III
f84b1515d0 Fix Aurora Veil's description 2024-07-08 18:18:39 -05:00
Karthik
6c46ab9924
Prefer shortDesc for item descriptions (#10386) 2024-07-01 23:19:38 -04:00
Guangcong Luo
88be8d7b3c
Refactor types for Lowercase<string> (#10377)
TypeScript 4.8+ supports Lowercase for lowercase strings, which isn't
exactly what ID is, but can be used to type IDs in object keys and data
entries that previously required string. I'm calling it IDEntry in places
where it should be an ID but TypeScript doesn't support that.

Very conveniently, no additional casts will be needed when using ID
where IDEntry is expected.

It's caught at least a few bugs, which is also why I'm PRing: I didn't
write the code for the bugs it found, and don't know if it's the right
way to fix them.

This ballooned into several other type refactors.
2024-07-01 15:57:14 -07:00
Kris Johnson
9705b0f723 Poison Puppeteer only works for Pecharunt 2024-01-11 10:20:12 -07:00
Leonard Craft III
3a79664eec Correct Hard Press's max BP
Max BP of 100 reported by many, confirmed by Anubis.
2024-01-03 22:45:15 -06:00
Leonard Craft III
8a5bbbd255
Implement Ability flags (#10048)
* Add AbilityFlags interface

* Add flags to abilities data (Karthik's script)

* Convert isBreakable to its new flag

* Convert most of isPermanent to its new flag

* Convert Trace to its new flag

* Convert Skill Swap to its new flag

* Convert Wandering Spirit to the failskillswap flag

* Update miscelleneous descriptions that depend on cantsuppress

* Convert Entrainment to its flag

* Convert Receiver/PoA to its flag

* Convert Role Play to its flag

* Implement Doodle failure conditions

* Various cleanup

* Breakable fixes

* How did I manage to do this

* Allow LightningRod to be breakable in Gen 3

* Implement notransform flag

* Tera Shell oopsie

* Fix more things after the rebase

* And fix Teraform Zero

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/mods/partnersincrime/abilities.ts

* Update data/abilities.ts

* Update data/mods/sharedpower/abilities.ts

* Update abilities.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2024-01-02 23:55:17 -07:00
Marty-D
ce8134281a
Descriptions: Update Tera Blast 2023-12-27 18:03:08 -05:00
Kris Johnson
c9000e9025 Fix Teraform Zero 2023-12-27 13:50:21 -07:00
Marty-D
3afdc9bfdb
Descriptions: Correct Terapagos Abilities
Thanks, DarkFE!
2023-12-18 21:17:57 -05:00
pyuk-bot
066a84ace1
Descriptions: Update Blood Moon/Gigaton Hammer (#9961) 2023-12-16 10:53:30 -05:00
Marty-D
af2bc6ddd1
Descriptions: Update items 2023-12-16 10:52:09 -05:00
Marty-D
deef088023
Descriptions: Update Abilities 2023-12-16 10:51:21 -05:00