Commit Graph

22259 Commits

Author SHA1 Message Date
Guangcong Luo
907128918f Release 0.11.7
I've spent the past few weeks working on build systems for other
projects, and this has paid off in having a better understanding of
things here.

The NPM package should now be much easier to use now.

Major changes:

- TypeScript definitions (f47e38c5ad)

- Support for importing teams (ddb6010bb9)

- A CLI for exporting teams (ddb6010bb9)

- `lib/` available as an unstable API in the NPM package (147b7e01c9)

- Lots of documentation updates (a813a55679)
2021-06-10 09:23:05 -07:00
Guangcong Luo
ea8e9df4e6 Further improve documentation 2021-06-10 09:17:58 -07:00
Guangcong Luo
ddb6010bb9 Support importing teams
We now have a `Teams.import` function. This supports importing teams
in any format, allowing it to be the backbone of a new series of
commandline functions, which support teams in any format.
2021-06-09 22:08:31 -07:00
Guangcong Luo
5d3b758564 Fix documentation 2021-06-09 19:19:43 -07:00
Guangcong Luo
a813a55679 Document changes and Dex
With Dex now having basic documentation, all our API documentation is
now inter-linked.
2021-06-09 17:51:49 -05:00
Guangcong Luo
f47e38c5ad Support building TS declarations
`./build decl` now builds TS declarations for everything exported by
`sim/`. Unfortunately, the built TS declarations still refer to global
types, so some things still have `any` type, but it's much better than
nothing.
2021-06-09 17:51:49 -05:00
Guangcong Luo
147b7e01c9 Export lib/ from sim/
This is a dumb hack, but it allows everyone to use PS's lib files
with `require('pokemon-showdown')`.

This is EXTREMELY unsupported and I make ZERO guarantees about API
stability.
2021-06-09 16:16:05 -05:00
Annika
264831e36a /randombattles: Display sets for the battle format 2021-06-08 18:17:16 -07:00
Annika
c3d4f80b6e Punishments: Remove unnecessary check 2021-06-08 14:14:58 -07:00
Annika
9d87d9bac2 Fix Punishments#ipSearch 2021-06-08 14:08:36 -07:00
Adam Tran
be2210f881
Fix Future Sight Life Orb interactions (#8357) 2021-06-08 11:48:10 -04:00
May Evans
fef0469344
Nintendo Cup 2000: Use Stadium 2 mod (#8360)
NC2000 was played using Stadium 2.

Src: http://pokemon.s20.xrea.com/2nd/rule.html#nintendo 
"対戦環境は「ポケモンスタジアム金銀」。"
This roughly translates to "the battle environment is stadium gold and silver".

There is also an official source here stating that RGBY can be used, which is only possible via Stadium 2
https://www.nintendo.co.jp/n01/n64/software/nus_p_np3j/league/
2021-06-08 11:47:17 -04:00
PartMan
46a858f2be
Movesearch: Add defrost and reflectable aliases (#8359)
Added Magic Coat/Magic Bounce since those are intuitive terms to use while searching
2021-06-08 11:45:16 -04:00
Kris Johnson
32de43c7ce SSB: Remove quadrophenic 2021-06-08 00:10:14 -06:00
Mia
6f6b564f7f Hangman: Don't allow filtered words in guesses 2021-06-07 22:07:09 -05:00
Annika
6363a1854c Random Battles: Don't allow unreleased HAs 2021-06-07 18:45:22 -07:00
Mia
6dac7566d8 Punishments: Check interactions on room punishments 2021-06-07 12:32:18 -05:00
Marty-D
b830ceb818 Gen II, III: Implement Quick Claw properly 2021-06-07 12:26:50 -04:00
Kris Johnson
414512dcc7
Chimera 1v1: Ban Trick and Switcheroo 2021-06-06 22:41:03 -06:00
Marty-D
7ee02201ab
Gen 5 RU: Ban Shadow Tag and sleep moves
https://www.smogon.com/forums/posts/8879857/
2021-06-06 22:27:59 -04:00
Distrib
fad49102e0
Helptickets: Change password reset link (#8358) 2021-06-06 18:40:18 -07:00
WeWuzNidokangz
0d96865c69
Fix crashes in Chimera 1v1 rule interactions (#8356) 2021-06-06 08:31:19 -07:00
Guangcong Luo
da8f77ee4f Document Sim.Teams for NPM package 2021-06-06 10:29:40 -05:00
Guangcong Luo
2bc1f032c1 Release 0.11.6
semver? what's that? Seriously, though, the major breaking changes
are all in undocumented APIs.

Notable changes include:

- A new Dex API (#8181)

- `lobby` is no longer special-cased (messages without a roomid now
  always get sent to console rather than lobby)

- A new challenge API (#8303)

- A new system for specifying battle rules with numbers and other
  options (#8267)
2021-06-06 09:42:08 -05:00
Annika
c55658ce06 Random Battles: Fix 3-move Pokemon 2021-06-05 20:33:44 -07:00
Annika
d8988bb250 Random Battles: Fix double-Hidden Power bug 2021-06-05 12:24:08 -07:00
Instruct
da8c1580ea
Gen 5: Refactor to use unreleasedHidden (#8349) 2021-06-05 09:00:15 -07:00
Marty-D
85cfcf0f6c
Fix build 2021-06-04 20:01:46 -04:00
Kris Johnson
139d9515fe
Bonus Type: Ban Dragapult, Naganadel, and Spectrier
https://www.smogon.com/forums/threads/bonus-type-om-of-the-month.3683173/page-3#post-8877522
2021-06-04 15:22:45 -06:00
WeWuzNidokangz
23057e03bd
Make Bonus Type modify species after Camomons (#8355) 2021-06-04 06:46:11 -07:00
Annika
b3b18465a4 Jeopardy improvements
- announce ability to buzz in via chat rather than via a colored square in HTML
- improve validation of integer arguments
- improve grammar
2021-06-03 17:01:13 -07:00
Marty-D
2c427a1dda
Add Fair and Square Online Competition 2021-06-03 16:21:01 -04:00
Mia
bdd08acecb Info: Fix /regdate display for registration time 2021-06-03 13:46:14 -05:00
Mia
b32a397f72 Helptickets: Update punishment UI 2021-06-03 13:40:32 -05:00
Mia
f07855a2d0 Rooms: Fix automodchat 2021-06-03 13:40:31 -05:00
Annika
b712278fd0
Use global punishments instead of fake rooms (#8350) 2021-06-02 21:54:33 -07:00
Annika
613bf3243f Jeopardy: More fixes 2021-06-02 14:42:56 -07:00
Mia
81af92da52 Helptickets: Make the 'punish reporter' button more distinct 2021-06-02 16:37:20 -05:00
Annika
343db5a762 Jeopardy: Fix crash 2021-06-02 13:49:44 -07:00
Mia
01a7132e0e Fix alt display in /whois 2021-06-02 14:19:16 -05:00
Mia
59377f5a47
Info: Fix /show and /requestshow interaction error (#7904) 2021-06-02 11:03:00 -07:00
Kris Johnson
5d7c9322c4 NFE: Ban Kadabra and Vulpix 2021-06-02 11:19:26 -06:00
Marty-D
94240ebf5f
Update deps to get newest smogon for set-import 2021-06-02 09:43:22 -04:00
Mia
e987a01427 Rooms: Partially fix bug in automodchat
This should provide a temporary bandaid in that it won't spam rooms, and it will inform us of what the setting is so that we can proceed.
2021-06-01 19:18:52 -05:00
Mia
da8d9f0096 Chat: Don't block login if a plugin crashes during startup 2021-06-01 19:18:51 -05:00
Kris Johnson
9bca655519 Chimera 1v1: Fix HP inheritance 2021-06-01 17:54:29 -06:00
Annika
8a6bb51c23 Random Battles update 2021-06-01 16:22:57 -07:00
Kris Johnson
551c4356cd Remove Gen 7 STABmons and Gen 6 AAA ladders 2021-06-01 13:37:03 -06:00
Kris Johnson
c709a3e45a Add June 2021 tier changes 2021-06-01 13:08:49 -06:00
Annika
c71e090153 Username prefixes: Fix bug in loading 2021-06-01 11:49:50 -07:00