Commit Graph

23714 Commits

Author SHA1 Message Date
Charlie Kobayashi
708860f42a
Scavengers: fix point giving (#6510) 2020-04-01 12:09:44 -04:00
The Immortal
172a2010cd April tier shift 2020-04-01 19:59:11 +04:00
urkerab
76a78f46b3
Add test for priority of shift action in Triples battles (#6509) 2020-04-01 06:17:21 -07:00
Leonard Craft III
dbf7d33e50
Add test for Unaware & spread moves (#6506) 2020-04-01 00:46:45 -07: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
Marty-D
2aae13ff62 Fix Round and Pledge move interaction with Z- and Max Moves 2020-03-31 16:33:42 -04:00
Marty-D
76da207659 Update Metronome again 2020-03-31 12:04:28 -04:00
Guangcong Luo
e10a6459d7 Refactor hasType
Closes #6501
2020-03-31 02:39:33 -07:00
Kris Johnson
9274833be4
LC: Ban Cutiefly (#6505) 2020-03-30 22:27:58 -07:00
The Immortal
170c9aade4 Monotype: Ban Melmetal 2020-03-31 00:38:49 +04:00
The Immortal
52f93689dc Update format aliases 2020-03-30 21:40:11 +04:00
Marty-D
87838fb207 Update Metronome 2020-03-30 12:12:22 -04:00
Marty-D
1488b63482 Update Copycat, Instruct, and Sleep Talk 2020-03-30 11:30:57 -04:00
Kris Johnson
adb4eed23b
Other Metas chat plugin: Remove Tier Shift check (#6504) 2020-03-30 19:08:16 +04:00
The Immortal
1411c93e5f Update Tier Shift to gen 8 2020-03-30 18:48:33 +04:00
Kris Johnson
b90cae8dff
Other Metas chat plugin: Add past-gen support (#6499) 2020-03-30 18:28:01 +04:00
The Immortal
b540b6a847 Remove Galar Newcomers 2020-03-30 18:25:05 +04:00
Guangcong Luo
75bff1cbb7 Fix validation for event-only VC Pokémon
Previously, we had a weird carved-out exception for Celebi from
74143b652d

But it actually applies to all VC Pokémon (most importantly Suicune).
2020-03-30 07:09:12 -07:00
Kris Johnson
aeaf951a9a
OU: Ban Arena Trap (#6503) 2020-03-30 18:05:27 +04:00
Guangcong Luo
ba4fab47d2 Implement pokemon.previouslySwitchedIn 2020-03-30 05:27:58 -07:00
Guangcong Luo
47b55f96bc Refactor dragIn to delegate to switchIn
dragIn and switchIn being two separate functions is a weird historical
quirk that leads to inconsistencies in implementation.

The only reason they need to be separated is a Mold Breaker quirk:
1da65efb12

(This is now done with an `if` statement.)

This should fix a lot of Roar/Whirlwind mechanics issues from `dragIn`
being on outdated mechanics compared to `switchIn`.
2020-03-30 05:25:20 -07:00
Guangcong Luo
2d78044604 Fix activeTurns/activeMoveActions bugs
`activeTurns` was previously a horrible hack, used for "first full turn
only" effects like Speed Boost as well as "first move action" effects
like Fake Out.

In addition to being a huge hazard for API users such as OMs, this also
means weird bugs such as Speed Boost not working if you get hit by
Sky Drop on your first turn.

This commit fixes them by splitting these counters into two - an
`activeTurns` counter for Speed Boost, and an `activeMoveActions`
counter for Fake Out.
2020-03-30 04:07:05 -07:00
Guangcong Luo
60effa1838 Fix DW move validation 2020-03-30 02:29:13 -07:00
Leonard Craft III
296c308e62
Add test for when Dynamax should revert (#6502) 2020-03-30 01:03:37 -07:00
The Immortal
4a8b186eef Remove Monotype suspect notice 2020-03-30 00:35:13 +04:00
The Immortal
03b90bb5ac Remove OU suspect notice 2020-03-29 02:37:32 +04:00
The Immortal
de2d80663e Random Battle improvements 2020-03-29 02:36:41 +04:00
Kris Johnson
ed9f1eb5e2
Fix /weak not showing Pokemon names (#6498) 2020-03-28 02:49:02 -07:00
The Immortal
f72f37d704 Fix Mega Rayquaza Clause 2020-03-27 23:42:48 +04:00
The Immortal
87d524a961 Remove BH suspect notice 2020-03-27 22:59:38 +04:00
Kris Johnson
70c5c6e03d
STABmons: Restrict Electrify (#6496)
https://www.smogon.com/forums/threads/stabmons.3656429/page-2#post-8405292
2020-03-27 22:58:43 +04:00
The Immortal
659a878e5d Random Battle updates 2020-03-27 22:58:10 +04:00
The Immortal
d412c97e17 Update event data 2020-03-27 22:44:12 +04:00
The Immortal
42c63bd2ea Add BH Resources link 2020-03-27 20:04:39 +04:00
whales
64d3cc59c8 Polls: fix blankvoting, help message 2020-03-27 17:09:04 +10:30
Leonard Craft III
933eb9a137
Species -> name in Gen 1 (#6495) 2020-03-26 20:03:48 -07:00
Kris Johnson
c7038cc1b8
Fix MissingNo.'s learnset (#6493) 2020-03-26 18:58:02 -07:00
The Immortal
e09cb73559
Add AAA suspect notice 2020-03-27 04:37:45 +04:00
The Immortal
a5e15818fa Fix MissingNo.'s learnset 2020-03-26 22:12:35 +04:00
Marty-D
7a09037213 Validator: Fix Gen 2 event move tradebacks 2020-03-26 13:54:14 -04:00
Kirk Scheibelhut
f4d6b7d19c Add Dex#forGen for symmetry with the client 2020-03-26 10:26:05 -07:00
The Immortal
f8c801e76e Fix Metronome mechanics 2020-03-26 21:05:44 +04:00
The Immortal
81891546b9 Rename Missingno. to MissingNo. 2020-03-26 18:37:35 +04:00
Kris Johnson
ea1b028950
Rename cosmeticFormeName to forme (#6492) 2020-03-26 18:13:31 +04:00
The Immortal
40745678d7
Add random-teams codeowner 2020-03-26 17:27:09 +04:00
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
Guangcong Luo
5cd743c88a Fix eslint no-unused-expressions issue 2020-03-25 20:34:03 -07:00
Leonard Craft III
380b4ac1cd
Add tests for Pledge moves modified by Z/Dynamax (#6489) 2020-03-25 19:14:48 -07:00