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 )
Node.js CI / build (16.x) (push) Waiting to run
2025-02-19 21:34:55 -08: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
André Bastos Dias
6520ac5b1b
Fix Tera Shell interaction with future moves ( #10889 )
Node.js CI / build (16.x) (push) Waiting to run
2025-02-12 14:27:30 -07: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
André Bastos Dias
01645f6880
Disable Magic Bounce during semi-invulnerability ( #10862 )
2025-02-09 20:50:45 -06:00
André Bastos Dias
d26e34e403
Don't activate Perish Body if either Pokémon has a perish count ( #10872 )
Node.js CI / build (16.x) (push) Waiting to run
2025-02-08 22:36:27 -06:00
pyuk-bot
7bb2fd1869
Overhaul 'SwitchIn' event for more accurate effect resolution order ( #10766 )
2025-01-28 16:51:17 -06: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
639b930d91
Fix Protean / Embody Aspect + Neutralizing Gas interaction ( #10805 )
Node.js CI / build (16.x) (push) Waiting to run
2025-01-10 14:34:53 -06:00
André Bastos Dias
2d9dc5d94f
Fix Protosynthesis + Cloud Nine interaction ( #10804 )
2025-01-10 00:31:04 -06:00
urkerab
a08348ed43
Fix ability selection for Fervent Impersonation ( #10712 )
2024-11-30 10:29:57 -07:00
Alex "Mathy
cb5bbe819d
Fix Guard Dog / Mirror Armor / Clear Amulet event order ( #10696 )
2024-11-27 13:07:53 -07:00
Eric Hall
00f3bdc3d8
Fix crash with Psych Up, Focus Energy, and Dragon Cheer ( #10573 )
2024-10-01 08:02:22 -05:00
Kris Johnson
44b0f7d8c1
Battle Actions: Clean up runMove and useMove function args ( #10492 )
...
* Battle Actions: Clean up `runMove` and `useMove` function args
* sdfsdf
2024-08-18 09:00:13 -06:00
Karthik Bandagonda
116664c257
Fix Frisk text in Gens 4-5 ( #10453 )
2024-07-31 17:41:53 -06:00
Leonard Craft III
d956c5833a
Fix interaction of Psych Up and Transform with Dragon Cheer ( #10412 )
2024-07-14 23:45:24 -05:00
Leonard Craft III
eb710f2373
Fix Tera Shell's interaction with Struggle
2024-07-06 12:14:13 -05: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
Leonard Craft III
35e5fbbd72
Fix Protean/Libero submove interaction
2024-06-21 22:15:38 -05:00
Chloe Nixon
317a603b80
Fix Slow Start duration on switch in ( #10262 )
2024-06-11 20:35:29 -05:00
Leonard Craft III
57bcd1a750
Fix interaction of As One and Transform ( #10325 )
2024-06-01 13:37:47 -06:00
Jerick120
1cd40e5926
Fix Supersweet Syrup printing its activation message twice ( #10296 )
...
* Fix: Supersweet Syrup double logs
* Fix: Supersweet Syrup double logs
---------
Co-authored-by: Jerick <jerick120@Jericks-MacBook-Pro-13.local>
2024-05-15 13:05:29 -06:00
Kris Johnson
d97a17e4ce
Add Super Staff Bros: Ultimate ( #10279 )
...
* Add Phoopes (#16 )
* Add Scotteh (#17 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Mad Monty (#18 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* don't be lazy
* add snake_rattler (#11 )
* Add Irpachuza (#14 )
* Add sharp_claw (#19 )
* Add zee (#20 )
* Add ironwater (#21 )
* Remove problematic code
Honestly we might just need to remake this later
* Add Kolochu and Rumia (#23 )
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add deftinwolf (#22 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Create getRoomauth function (#3 )
* Add Coolcodename (#26 )
* Fix Anfield Atmosphere crash (#25 )
* Update moves.ts
* Fix Sire Switch not protecting (#28 )
* Fix Hat-Trick not criting on 3rd hit (#31 )
* Properly display opponent's name for Irpachuza (#29 )
* Fix Cacophony making all sound moves fail (#30 )
* Rumia's Custom Stats (#33 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Mex (#27 )
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
* Add violet (#24 )
* Add havi (#34 )
* Add Krytocon (#32 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add custom lines for BreadLoeuf vs Mad Monty
by request of BreadLoeuf
* Add Mathy (#35 )
* Add Zalm (#36 )
* Add Eli (#37 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add hsy (#38 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Lumari (#41 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
* Add spoo (#40 )
* Fix some alphabetization
* Add Cake (#39 )
* Add ReturnToMonkey (#42 )
* Add smely socks (#43 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Theia (#45 )
* Add HisuianZoroark to codeowners for ssb
* Add Yellow Paint (#44 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Peary (#46 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add in the hills (#48 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Blitz (#49 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add HoeenHero (#50 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Isaiah (#47 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Fix Blitz, update sun
* Add Dawn of Artemis (#54 )
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
* Add Swiffix (#53 )
* Add Pyro (#52 )
* Add enemyStaff function (#57 )
* Fix animation
* Update conditions.ts
* Fix debug teams not always having 6 pokemon (#60 )
* Add Chloe (#59 )
* Add Lalaya (#56 )
* Add Venous (#55 )
* Add WigglyTree (#61 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Ganjafin (#62 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Archas (#64 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add neycwang (#63 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Krytocon fixes (#65 )
* Refactor Sharp_Claw's forme change to an innate (#58 )
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
* Add DaWoblefet (#67 )
* Add Aelita (#66 )
* Rename mod to gen9ssb
* Fix file for ssb in codeowners
* Swiffix: Fix typo in description (#70 )
* Make some changes for client support down the line (#75 )
* Remove HisuianZoroark as a codeowner for Staff Bros.
Due to an unfortunately swamped college schedule and other IRL responsibilities, I do not have the time nor the energy to contribute to this format. Incredibly delayed commit as I mentioned this a while ago but better late than never.
* espacio
* Readd HiZo as CODEOWNER for SSB
* Remove questionable users
* Refactor a fuckton, prep for revival
* oops
* Add Loethalion (#80 )
* Rename users
* Add Meteordash
* Add WarriorGallade
* Add Notater517
* Add HiZo (#81 )
* Add Isaiah + tweak Ney
* Add berry
* Add kenn
* Add Lasen
* Fix move type
* Add aQrator (#82 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Teclis (#83 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Lily
* Add Xprienzo
* Add Aegii
* this fucking sucks lmao
* Revert "this fucking sucks lmao"
This reverts commit e15eef6a025af42d1d090d7c958513586b494a28.
* properly make quote less hacky
* Add Alex
* I am a dumbass
* Redo Violet (#84 )
* Add Sulo (#90 )
* Add Quite Quiet (#89 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Hydrostatics (#87 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Lunell (#85 )
Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Waves (#96 )
* Add Siegfried (#93 )
* Add PartMan (#86 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add YveltalNL (#97 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Arya (#94 )
* Fix things
* Add Kiwi (#91 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add zoro (#101 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add J0rdy004 (#103 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Artemis (#102 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Frozoid (#100 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add Monkey (#98 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Two of Roses (#95 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Emboar02 (#99 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Appletun a la Mode (#92 )
* Add ptoad
* Add Lionyx (#104 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add chaos (#105 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Ransei (#106 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Karthik (#107 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Zarel (#108 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Corthius (#111 )
* Add Fame (#109 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Alexander489 (#110 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Alpha (#114 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Tico (#115 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add skies (#113 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Valerian (#116 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Klmondo (#117 )
* Add xy01 (#118 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Lets go shuckles (#119 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Pissog (#120 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Kalalokki (#121 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Solaros & Lunaris (#122 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add AuzBat (#124 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Soft Flex (#123 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Struchni (#125 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add autumn (#126 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update move name
* Update random-teams.ts
* Add Elliot (#129 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Akir (#127 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Arsenal (#128 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Billo (#130 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Frostyicelad (#131 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add kingbaruk (#132 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add maroon (#133 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add avarice (#136 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Tweak HiZo, Update Irpachuza
* fix vio anim
* fix crash
* Add Clouds (#134 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Clefable (#135 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add za (#140 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Haste Inky (#138 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Nyx (#137 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update Emboar02 (#141 )
* Add Froggeh (#139 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Cake (#142 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add ken (#143 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add ausma (#144 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Tenshi (#146 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add spoo (#148 )
* Add Arcueid (#147 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add nya (#152 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add RSB (#149 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Kaede (#151 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Beowulf (#150 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add pokemonvortex (#112 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Rename Kris
* Add Ciran and keys and do tweaks
* Krytocon, eva, Clementine
* Fix initial bugs/crashes
* Fix Bugs, optimize stuff
* Some bugfixes
* Fix boost
* Tweak some cosmetics (#153 )
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Add protocol for vivi custom move
* teehee
* fug
* Tweaks
* Update Rumia, Artemis, UT and Kry (#157 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add MyPearl (#154 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add marillvibes (#156 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add R8 (#155 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Fix some bugs
* Update (s)poo
* Fix build
* Add Sificon/Goro Yagami, bugfixes
* EWPS!
* Fix Artemis crash
* Update /ssb
* Remove Alpha
* Add Felucia (#158 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add PenQuin / update Sificon (#159 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
* Nuke image quotes (#160 )
* Add blazeofvictory (#165 )
* Add Rainshaft (#166 )
* Add vmnunes (#164 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add SexyMalasada (#167 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add quziel (#163 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* Live debugging me on prod
* Fix crash
* Fix bugs
* Fix typo
* Oops :-3
* im so stupid
* Add Opple (#169 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Pulse_kS (#171 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Aethernum (#172 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add DianaNicole (#170 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update Hizo + plenty of desc additions (#168 )
* Update ausma, MadMonty (#162 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Nerf Waves
* Fix dhelmise x4
* Fix violet move accuracy
* Stop forcing my mon every time
* Fix build
* Add EasyOnTheHills / Update Valerian (#161 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Lyna (#173 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Vistar (#174 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Bugfixes vol. 1 (#175 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Re-add some stuff
* More bugfixes
* Update PartMan's messages to add aQrator (#176 )
* Fix bug with Scapegoat
* More Bugfixes/QoL changes (#177 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Some buffs
* Put bite flag on RSB sig move
* Fix illusion master
* Fix storm surge desc
* FIX BUILD D:DPDODKEIKFIFWFDFSDF
* Fix meteordash agAIN
* Fix anfield
* Some fixes + temporary chat plugin
* meow
* Fix build
* kolohe namechange
* Update html script
* Super Staff Bros: Grammar & Polishing (#178 )
* Add Hidden Format and fix aesthetics (#179 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Fix some bugs
* Fix stuff
* Temporarily remove Hidden format team generation
* Fix Arcueid quotes, remove leftover code
* uhh meow
* Adjust J0rdy's stats
* Move SSB chat stuff into its own plugin
* Add a command to disable sets (#180 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update article URL
---------
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
Co-authored-by: TomOfTomKat <73961857+TomOfTomKat@users.noreply.github.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: ausmacon <107449244+ausmacon@users.noreply.github.com>
Co-authored-by: Alexander B <4866817+MathyFurret@users.noreply.github.com>
Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
Co-authored-by: PartMan <47669599+PartMan7@users.noreply.github.com>
Co-authored-by: WarriorGallade <100499523+WarriorGallade@users.noreply.github.com>
Co-authored-by: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com>
Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
2024-05-04 12:01:51 -06:00
Andrew Werner
c1eeb7ecfe
Fix Cloud Nine/Air Lock not re-activiating if the pokemon swaps back in
...
I plan to write a more comprehensive patch for abilities ending later, but for now this fixes the abilities.
2024-03-18 08:34:34 -04:00
Karthik
59c846c86b
Fix Rattled boosting Speed when Intimidate fails ( #10211 )
2024-03-16 21:14:19 -06:00
Andrew Werner
c2a033ba1e
Fix weather suppression abilities suppressing weather while ending
...
Fixes a few issues with protosynthesis as well.
2024-03-15 22:33:32 -04:00
Andrew Werner
4e1b3de4b1
Protosynthesis should ignore weather supressing abilities
2024-03-15 15:19:38 -04:00
Leonard Craft III
2bd62dba8d
Fix some more Terapagos mechanics ( #10184 )
...
* Fix some more Terapagos mechanics
* Update data/moves.ts
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2024-02-23 22:55:06 -07:00
pyuk-bot
20dead22c9
Fix more Dragon Darts interactions ( #10161 )
2024-02-12 22:53:36 -06:00
Leonard Craft III
a4cd445952
Fix Tera Shift not updating HP ( #10159 )
2024-02-10 15:56:07 -07:00
Leonard Craft III
553e577205
Fix interaction of Court Change, Sticky Web, and Defiant or Competitive ( #10131 )
2024-01-30 14:32:57 -06:00
Karthik
06d88748a5
Refactor STAB (again) ( #10099 )
2024-01-13 23:48:47 -06:00
Kris Johnson
9705b0f723
Poison Puppeteer only works for Pecharunt
2024-01-11 10:20:12 -07: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
TomOfTomKat
b608103806
Lock Tera Shell effect to Terapagos ( #10012 )
...
* Lock Tera Shell effect to Terapagos Stellar
https://www.smogon.com/forums/threads/scarlet-violet-battle-mechanics-research.3709545/page-48#post-9898594
* Update data/abilities.ts
* Update data/abilities.ts
* Update data/abilities.ts
* Resolve null target error
* Apply suggestions from code review
* Update terashell.js
* Update test/sim/abilities/terashell.js
Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>
* Fix typo
* Without the debug print
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
2023-12-27 23:48:41 -07:00
Kris Johnson
c9000e9025
Fix Teraform Zero
2023-12-27 13:50:21 -07:00
Karthik
2238bf630e
Fix Tera Shell ( #9968 )
2023-12-15 23:04:26 -07:00
Karthik
d1c77c9480
Show messages for Tera Shift ( #9967 )
2023-12-15 22:48:00 -07:00
ACakeWearingAHat
cd3eb2cfd6
Random Battles: Indigo Disk update ( #9964 )
...
* Random Battles: Indigo Disk update
* linting 1
* Update data/random-teams.ts
Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
* dedge komala
* Update data/random-teams.ts
Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
* Update data/random-teams.ts
Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
* malignant chain makes toxic suck
* throat chop ursaring
* make skarm not weak armor
* prevent moody smeargle
* lint
* cm virizion destruction
* fix registeel
* flip turn enforcement
* doom desire nostab
* alphabet + flamigo
* fix psyfangs enforcement
* lint 3
* magearna changes + lint
* Fix build
---------
Co-authored-by: livid washed <115855253+livid-washed@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2023-12-15 22:46:40 -07:00
Kris Johnson
8f8b16306b
Fix Tera Shell
2023-12-15 22:44:35 -07:00
Kris Johnson
a0f10ffa51
Add DLC2 data ( #9963 )
...
* DLC2 returning Pokemon
* Returning legendaries too
* Partially add Raging Bolt and Iron Crown (#10 )
* Add remaining Pre-DLC2 event data
* Fix tests
* Last event before DLC + split learnset files
* Learnsets + secret returning pokemon
* Some DLC 2 stuff (#12 )
* Add New Mons
* Add Electro Shot
* Give Dipplin Dex Evo
* Update data/moves.ts
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* More tweaks
* formats
* Revealed moves (#11 )
* Add Hard Press
* Add Psychic Noise
* Add Upper Hand
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* more things
* Fix typo
* a lot of other things
* MOVES! kinda
* b
* fickle beam confirmed chance
* Evo Item Undexit + Metal Alloy + Move Fixes (#19 )
* Update move data
* Update Item Data
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add message for Fickle Beam BP double (#18 )
* Add some tests and implement Tera Shell (#15 )
* add some tests and draft of tera shell
* add text
* .
* add improvements from feedback, change behavior of terashell
* use AfterMove instead of AfterMoveSecondary
* add confirmation to multi-hit interaction
* improve based on feedback and general cleanup
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Tera Shift and Teraform Zero (#16 )
* Add Tera Shift and Teraform Zero
* Add short descriptions
* fixes
* More move changes
* Update unSketchable moves
List from Anubis
* more move things
* oops
* Implement new Neutralizing Gas/Paradox ability interaction (#17 )
* Implement new Neutralizing Gas/Paradox ability interaction
* add test
* revert in dlc
* ok
* Update pastgens for Sketch (#20 )
* Implement Stellar type (#13 )
* Implement Stellar type
* stuff from research
* pain
* add tests for Dragon Cheer (#22 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update move flags (#23 )
* Fix flags for new moves
* update old moves
* remove sparkling aria changes
* update metronome description
* update other move descriptions
* more formatz stuff
* Add Poison Puppeteer (#24 )
* Add Poison Puppeteer
* i'm bad
* still bad
* Fix build
* oops
* Update data/moves.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/moves.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/items.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/moves.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Fix Terapagos dex entries (#25 )
* Update data/pokedex.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/pokedex.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/pokedex.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* FIX BUILD
* Fix Regulation E formats (#26 )
* Fix Regulation E formats
* add move bans
* nevermind
* Add Regulation F formats (#27 )
* Fix interaction between Adaptability and Tera Stellar (#28 )
* reg f bo3 ladder
* Update config/formats.ts
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
---------
Co-authored-by: Smudge <smudgerox@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: tofa <79044321+im-tofa@users.noreply.github.com>
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
2023-12-15 21:35:01 -07:00
Hisuian Zoroark
f6b6670865
Sharing is Caring: Fix Mechanics and Booster Energy ( #9933 )
2023-12-02 20:23:44 -07:00
pyuk-bot
8e47521d77
Fix Neutralizing Gas ending vs. Embody Aspect ( #9903 )
2023-11-15 19:54:40 -06:00
pyuk-bot
edbb640783
Neutralizing Gas: Don't restart Shielded abilities ( #9862 )
2023-11-01 21:32:28 -05:00
Alexander B
c77aed8877
Add Illusion Level Mod ( #9859 )
2023-10-31 10:12:02 -06:00
Karthik
ea3004ecab
Fix Syrup Bomb messages with stat drop blocking effects ( #9847 )
2023-10-20 00:18:33 -05:00
ACakeWearingAHat
64a4e4cef3
Randomized format set updates ( #9837 )
2023-10-15 12:01:26 -05:00
Karthik
e406ca3abe
Syrup Bomb fixes ( #9836 )
2023-10-14 23:37:36 -05:00