Guangcong Luo
549ef7edb1
Fix MoveData interface definition
...
For historical reasons, move property definitions have been very blurry
across `EffectData`. Fortunately, recent refactors have made it
possible to put them all where they're supposed to be.
2020-04-25 12:57:46 -07:00
Guangcong Luo
6a685df8c7
Fix crashes when hotpatching chat
...
(Also fix a mistaken thing-of-the-day refactor: I blame giving two
different variables the same name.)
2020-04-25 11:11:24 -04:00
Astrid Halberkamp
3bbb36d491
TOTD: small fixes and upgrades
2020-04-25 17:06:39 +02:00
Jeremy Piemonte
dcfbada1ad
Blackjack: Do not require an autostart to create ( #6607 )
...
Bug introduced in 36d6dc8b0c (diff-797aaa7fdf5beb7302351b8ad019da67)
2020-04-24 20:14:19 -07:00
Guangcong Luo
31a81a91a2
Fix @type in .ts files
...
Some JSDoc type assertions failed to get converted during various .ts
refactors. This commit takes care of them.
2020-04-24 14:19:08 -07:00
Guangcong Luo
f6f4467265
Turn on prefer-const for .js files
...
Not having prefer-const on the JS side makes JS -> TS refactors really
unreadable. This commit just auto-fixes it so we're using
`prefer-const` everywhere.
2020-04-23 11:37:47 -07:00
Guangcong Luo
9bb903da0d
Fix TypeScript for thing-of-the-day
2020-04-23 10:30:22 -07:00
Mia
1a62036aaf
Typescript Thing of the Day ( #6603 )
2020-04-23 10:12:56 -07:00
AnnikaCodes
4a13afab51
Datasearch: don't broadcast errors ( #6601 )
2020-04-22 01:25:10 -07:00
Peach
2828427946
Mafia: Misc updates ( #6583 )
...
* Attribute non-host mod commands
* Fix crash in queue
* Add command for listing all data entries
* Update permissions in help box
credits to @Claire238
2020-04-15 22:40:43 -07:00
Lusamine
12a52bc0d0
Add a linebreak to WiFi GA result ( #6575 )
2020-04-13 20:12:35 -07:00
CameronClarry
15efa254cd
Add '/trivia move' command to trivia plugin ( #6561 )
2020-04-12 23:08:27 -07:00
Nol
61375a24cd
Update Wi-Fi giveaway message ( #6560 )
2020-04-11 23:38:42 +02:00
Charlie Kobayashi
44250d7d3b
Support (multiple) twists for all game modes ( #6559 )
2020-04-11 13:05:42 +02:00
Peach
0ad24a0acd
Fix bugs in chatlog date parsing ( #6550 )
2020-04-09 22:47:12 -07:00
Peach
b812404669
Fix crash in roomlogs ( #6546 )
2020-04-09 01:32:56 -07:00
Charlie Kobayashi
558202cb96
Make twist setting actually permanent ( #6544 )
2020-04-08 20:33:20 -04:00
Guangcong Luo
d34f4f23f5
Suppress crash while hotpatching helptickets
...
I think this was just due to a different helpticket crash, but sadly I didn't really have the free
time to investigate more deeply.
2020-04-07 21:47:56 -04:00
Guangcong Luo
86081c23ab
Fix chatlog
...
- fix timezone
- `/chatlog [roomid]` should open logs for room
2020-04-07 21:47:56 -04:00
Charlie Kobayashi
6c18107ca6
Scavengers: Information commands for twists ( #6532 )
2020-04-07 09:50:27 +02:00
The Immortal
634658a5ba
Refactor unreleased Pokemon
...
Pokemon that are not available in-game are now consolidated into `isNonstandard`. 'Past' indicates that the Pokemon no longer works in the current generation. 'Unobtainable' indicates that the Pokemon works but can only be obtained through hacking.
2020-04-06 20:53:03 +04:00
Kris Johnson
edf18b57d4
Fix /randbats not working in Gen 1/2 battles ( #6519 )
2020-04-03 17:36:17 +04:00
Charlie Kobayashi
708860f42a
Scavengers: fix point giving ( #6510 )
2020-04-01 12:09:44 -04:00
Charlie Kobayashi
6feb05c357
Rework special scavenger modes ( #6507 )
...
- apply them as "formats"/"mods" instead of a large parent game with another room game nested inside
- the parent game is attached to ``room.scavgame`` as an independent object instead.
- add a command to set the twist (/scav settwist) and reset the twist (/scav resettwist) for scripted formats
- this means that scavenger-games.js might be updated once per month as new twists are created.
- add a command to start a regular hunt with twists
More than one twist can be loaded into a single scavenger hunt (from scavenger game mode + /scav createtwist)
2020-04-01 00:45:49 -07:00
Mia
4005ff6722
Typescript TCG & Tabletop's plugin ( #6474 )
2020-03-31 14:09:38 -07:00
Kris Johnson
adb4eed23b
Other Metas chat plugin: Remove Tier Shift check ( #6504 )
2020-03-30 19:08:16 +04:00
Kris Johnson
b90cae8dff
Other Metas chat plugin: Add past-gen support ( #6499 )
2020-03-30 18:28:01 +04:00
whales
64d3cc59c8
Polls: fix blankvoting, help message
2020-03-27 17:09:04 +10:30
Kris Johnson
4cc1ffa4e8
Datasearch: Fix /ms <pokemon> ( #6491 )
2020-03-26 03:17:02 -07:00
Kris Johnson
994fc60aed
Rename Template to Species ( #6478 )
2020-03-25 23:29:27 -07:00
asgdf
34162abb8b
Add /monthlock command ( #6488 )
2020-03-25 03:59:47 -07:00
Guangcong Luo
604b8142ef
Improve /chatlog support for uhtml
2020-03-23 17:50:15 -04:00
Kris Johnson
ff0968bdc9
Scalemons: Move stat formula to rulesets ( #6481 )
2020-03-22 05:44:47 +04:00
Kris Johnson
770f1a3f7c
Add support for (NU) ( #6475 )
2020-03-20 20:50:14 -07:00
Astrid Halberkamp
867f8c9843
TOTD: COTD -> COTW
2020-03-18 17:41:41 +01:00
Kris Johnson
53299ea068
Random Battles chat plugin: Fix Let's Go support ( #6468 )
2020-03-18 12:47:41 +04:00
Kris Johnson
3e26318758
Refactor learnsets.js ( #6466 )
2020-03-18 00:59:29 -07:00
Mia
6b31c251c7
Fix links for /randbats ( #6467 )
...
currently takes you to play.pokemonshowdown.com/dex.pokemonshowdown.com, which is obviously not right.
2020-03-18 00:48:11 -07:00
Kris Johnson
83ebdb27da
Add Dex#getOutOfBattleSpecies ( #6463 )
2020-03-16 20:31:38 +04:00
Guangcong Luo
64c3d75f1c
Hide deleted rooms by default in chatlog
2020-03-16 03:35:32 -04:00
Guangcong Luo
c4e91d20e2
Improve chatlog design
...
Big thanks to smogon/pokemon-showdown-client@a176317913 for making
this possible!
2020-03-16 03:35:32 -04:00
Guangcong Luo
b7889f048f
Fix chatlog permissions
...
- global auth should now be able to see chat logs of rooms they can't
moderate
- secret and personal rooms that a staff member is either currently in,
or has auth in, will now show up in the main logs list (although
you should just use /chatlog, it's much easier)
2020-03-16 03:21:43 -04:00
Guangcong Luo
7de51956c5
Change BasicChatRoom to Room in some types
...
`user.can` and `user.authAtLeast` now take `Room | BasicChatRoom`
instead of `BasicChatRoom`. It's now significantly less necessary to
cast things to `BasicChatRoom`.
2020-03-15 19:52:59 -07:00
Guangcong Luo
99cf399860
Fix /chatlog command
2020-03-14 00:10:14 -04:00
Guangcong Luo
c6d83508ab
Rename chat-log to chatlog to match modlog
2020-03-14 00:04:42 -04:00
Guangcong Luo
60cbd7d0d7
Implement /chatlog command
2020-03-14 00:04:16 -04:00
Guangcong Luo
f7d2cdf1be
Fix log viewer permissions
...
Drivers/mods should be able to see secret room logs, but not get a list
of secret rooms.
2020-03-13 23:52:41 -04:00
Guangcong Luo
354513ad53
Add log viewer ( #6454 )
2020-03-13 22:18:00 -04:00
Kris Johnson
b077646808
Random Battles chat plugin: Fix various issues ( #6448 )
2020-03-12 12:37:10 +04:00
Guangcong Luo
64ff1da81f
Refactor more things to use inheritsFrom
2020-03-10 09:59:36 -07:00