Kris Johnson
0ad9aaf4f6
2v2 Doubles: Ban Urshifu-S
...
https://www.smogon.com/forums/threads/ss-2v2-doubles-urshifu-single-strike-voting.3684008/page-2#post-8852313
2021-05-10 17:25:05 -06:00
Annika
2fd6153e70
Hide lines from locked/banned users' alts ( #8277 )
2021-05-10 10:41:12 -07:00
Mia
2a8f69ab0a
Randbats: Properly throw on invalid types
2021-05-10 11:55:20 -05:00
Mia
518fccd921
Youtube: Allow Pokemon Go to use /twitch watch
2021-05-10 10:10:56 -05:00
Mia
ec1c8cc95d
/botmsg: Bypass room throttles
2021-05-09 18:05:25 -05:00
PartMan
cab2ad0c08
Scavengers: Italicize host names on end ( #8290 )
...
The `<em>` being wrapped around each individual username and not the entire host string is intentional since it looks better - and also allows parsing of hosts from the finishing message
2021-05-10 00:20:14 +02:00
Annika
0b438673a6
Fix BSS Factory item generation
2021-05-09 13:00:36 -07:00
Annika
15e6f9406f
Random Battles: Remove Normalium Z Porygon-Z
2021-05-08 18:13:19 -07:00
Leonard Craft III
aa5ca391c5
Tests: Add Life Orb, Protean Future Sight tests
2021-05-08 19:59:05 -05:00
HoeenHero
36fe51f71c
Dont block future updates if Config.privatecodepath is not set.
2021-05-08 20:55:49 -04:00
Mia
a7c0f8054a
Chatlog: Fix crash
...
This should ensure that all dates passed to roomstats are in the form year-month. The crashes came from only a year being passed
2021-05-08 11:29:18 -05:00
pyuk-bot
a76052af54
Scale team limits in Random Battles to maxTeamSize ( #8281 )
2021-05-07 23:52:20 -07:00
Annika
1c3f6402f0
Tests: Use assert.equal and assert.notEqual more ( #8276 )
2021-05-07 23:51:18 -07:00
Mia
8be458463d
Autoresponder: Update permission checks for raw regex
...
Global staff with dev mod should be able to do it.
2021-05-07 17:20:09 -05:00
Kris Johnson
5056f86c86
Add help for /roomspotlight
2021-05-07 12:51:48 -06:00
Mia
fd29cc4cf3
TOTD: Fix timestamp parsing
2021-05-07 12:40:01 -05:00
Mia
30c461bfdc
TOTD: Fix timestamp display
...
Take 2. Hopefully.
2021-05-07 12:27:09 -05:00
Annika
27764ef5bf
Random Battles: Unify tests
2021-05-07 10:19:45 -07:00
Annika
5d177a8384
Random Battles: Remove wrongly-implemented rules
2021-05-07 10:19:45 -07:00
Guangcong Luo
638c1e3ae8
Add "Max Move Count" value rule
...
Also stop enforcing 4 moves limit and 6 pokemon limit in `-Nonstandard`,
for the same reason we stopped enforcing the level 100 limit; any format
that explicitly wants it higher should automatically override it.
2021-05-07 02:16:24 -07:00
Guangcong Luo
880a5d9c06
Suppress crash when forfeiting after crash
2021-05-07 00:44:15 -07:00
Guangcong Luo
0adb8d1b00
Add Unova Dex rules
2021-05-07 00:37:22 -07:00
Annika
0b4c904331
Random Battles: Fix crash
2021-05-06 23:27:48 -07:00
Annika
00a533f4fe
Random Battles: Fix minSourceGen bug
2021-05-06 23:05:37 -07:00
Annika
2b3741ec2f
Random Battles: Support more Value Rules
...
Specifically, randomized formats will now support Max Team Size, Min Source Gen, Adjust Level, Adjust Level Down, and Force Monotype.
This fixes the issue with randomly-generated Multi Battle teams containing six Pokémon, instead of three as desired.
2021-05-06 22:45:08 -07:00
Kris Johnson
eb103b1473
Inverse: Fix bans (again)
2021-05-06 23:28:33 -06:00
Guangcong Luo
b16ea90d79
Document "Limit One/Two Restricted" rules
2021-05-06 22:01:56 -07:00
Guangcong Luo
df42a795f9
Remove max level check from -Nonexistent
...
Anyone who sets a max level above 100 is opting in, so there's no
need to add a redundant check on top of that.
2021-05-06 21:19:04 -07:00
Karthik
367b4e7c2d
Implement Zacian/Zamazenta/Xerneas forme leak ( #8261 )
2021-05-06 19:24:59 -07:00
Guangcong Luo
36295dc27a
Simplify Team Preview events ( #8274 )
...
In format events:
`onFieldTeamPreview` has been renamed back to `onTeamPreview`. It's now
a custom event (like `onBegin`), rather than a field event.
Team Preview data has been entirely moved from `onBegin` into
`onTeamPreview`.
`onFieldStart` for formats/rules now happens after Team Preview, rather
than before. Use `onBegin` for things that happen before Team Preview.
2021-05-06 18:53:58 -07:00
Mia
f949f9ba66
Chat-monitor: Use new spoiler format instead of SPOILER:
...
Mentioned in Staff, slightly cleaner.
2021-05-06 13:21:54 -05:00
Annika
2837f9dc26
Handle undefined reason in monitorRoomPunishments
2021-05-06 10:17:36 -07:00
Mia
34d6480837
Re-add Cancel Mod to Flat Rules
2021-05-06 09:28:56 -05:00
Mia
0d87bbd91e
Formats: Re-add Cancel Mod to cart formats missing it
...
List of formats from DaWoblefet.
2021-05-06 08:48:40 -05:00
Guangcong Luo
16e9a0eeec
Fix bugs in value rule refactor
2021-05-06 07:49:17 -04:00
Guangcong Luo
11a6902154
Force rebuild when using /rebuild
2021-05-06 01:36:34 -07:00
Guangcong Luo
55980d416c
Support value rules ( #8267 )
...
`teamLength`, `maxLevel`, `cupLevelLimit`, and `minSourceGen` no longer
exist as properties of `Format`. Instead, they're value rules that
become properties of `RuleTable`, and can be specified as custom rules
and inherited through rulesets like anything else.
See the PR for a full reckoning of changes:
https://github.com/smogon/pokemon-showdown/pull/8267
2021-05-06 01:16:16 -07:00
Guangcong Luo
1bf172fe7e
Refactor: Move getTagRules inside RuleTable
2021-05-06 00:30:07 -07:00
Kris Johnson
dae4dd374e
Inverse: Fix bans
2021-05-05 16:55:12 -06:00
Mia
64b3b554c2
Usersearch: Add namelock buttons
...
Requested by staff, approved by Ransei.
2021-05-05 16:24:01 -05:00
Mia
a5d3aaee35
Helptickets: Don't display language if set to English in /ht list
2021-05-05 14:27:09 -05:00
Karthik
b6d5fff24b
Unfix interaction between Gluttony and Neutralizing Gas ending ( #8273 )
...
Reverts #8250 , but will keep gluttony test file and add more tests to it. This is being done because indirect sources of damages are not causing gluttony to trigger (such as belly drum).
2021-05-05 13:44:59 -04:00
Mia
5fb8071274
Info: Fix /regtime time handling
2021-05-05 12:04:25 -05:00
Tristan Pink
53dc706b7b
Fix typos/grammar in CONTRIBUTING.MD ( #8272 )
2021-05-05 02:37:56 -07:00
Guangcong Luo
574bb28bbe
Implement Utils.Multiset ( #8260 )
...
If you grep the codebase for `|| 0) + 1` you get a lot of results,
all of which would be better implemented with a multiset.
2021-05-04 21:53:23 -07:00
Kris Johnson
70a06de929
PunishmentMonitor: Fix "(banned: )" in autolocks ( #8256 )
2021-05-04 21:50:04 -07:00
Annika
96574af8aa
Random Battles: Add unit tests for PR #8270
2021-05-04 21:43:40 -07:00
ACakeWearingAHat
42cf635dca
Random Battles Updates ( #8270 )
2021-05-04 21:42:49 -07:00
Annika
a150b4aa6c
Fix help for /host
2021-05-05 00:18:23 -04:00
Instruct
71c44a9f78
Fix build ( #8271 )
2021-05-04 21:07:16 -07:00