Marty-D
ca4fcabc39
Gens 5-6 OU: Put consistently low usage Pokemon in OU by technicality
...
https://www.smogon.com/forums/posts/8703468/
2021-01-03 13:41:06 -05:00
Kris Johnson
c09587d3e4
SSB: Re-add thewaffleman
2021-01-03 02:31:38 -07:00
Annika
bee946e822
SSB: Remove xJoelituh
2021-01-03 01:24:19 -08:00
Instruct
27f05678c0
SSB4: Balance changes and bugfixes ( #7856 )
2021-01-01 18:46:27 +04:00
LegoFigure11
cad1d25c4d
Add Gen 8 BSS Factory ( #7843 )
2020-12-31 02:09:29 +04:00
The Immortal
e0b3ade226
Gen 6/7: Random Battle improvements
2020-12-28 15:46:33 +04:00
Instruct
47a8a04aa9
SSB: Nerf Forever Winter Nights ( #7841 )
2020-12-27 19:47:20 +04:00
The Immortal
1307f8abca
Zarude-Dada should be legal
2020-12-27 13:45:47 +04:00
Kris Johnson
f05e927ad1
Fix Teleport in Let's Go formats
2020-12-26 21:43:58 -07:00
Leonard Craft III
31d67dfb51
Dex: correct colors of Arceus, Calyrex, Zygarde, & Zarude
2020-12-26 22:09:38 -06:00
Leonard Craft III
8f590ef8b7
Dex: Feebas does not get Oblivious until Gen VI
2020-12-26 17:42:43 -06:00
Distrib
0cb0b65f66
SSB: Fix Tiki's image ( #7840 )
2020-12-26 14:58:35 -08:00
Instruct
b73efd84ab
SSB4: Bugfixes and balance changes ( #7838 )
2020-12-25 21:36:07 -07:00
fart
4acb83acc7
SSB4: Fix typo in Archas's description ( #7834 )
2020-12-25 04:06:49 -08:00
The Immortal
788d0f5bc0
Gen 6/7: Random Battle updates
2020-12-25 14:24:46 +04:00
Instruct
1f9954b374
SSB4: Bug & crashfixes ( #7837 )
2020-12-24 21:51:11 -05:00
Instruct
901c1d8573
SSB: Fix Winter Hail decrease amt. Add discussion thread to format. small QC changes. ( #7833 )
2020-12-24 13:24:18 -05:00
Kris Johnson
ec0ecb1264
SSB4: The Immortal's quote shouldn't be an ID
2020-12-24 10:14:36 -07:00
Instruct
5b441c2013
Super Staff Bros 4 ( #7793 )
...
Collaborative Project lead by @xInstruct with many contributors.
See the Special Thanks section of https://www.smogon.com/articles/super-staff-bros-4
2020-12-24 11:21:02 -05:00
The Immortal
fda0ee61f4
Gen 7/6: Implement Toxic accuracy mechanics
2020-12-22 15:50:05 +04:00
The Immortal
0d306b9930
Ban illegal Zygarde-10% sets
2020-12-20 18:18:29 +04:00
The Immortal
85761cca5b
Gen 4 Random: Fix Mono-Electric teams
2020-12-19 14:56:13 +04:00
urkerab
0cbfeeba09
Fix Snatch in Gen 3 ( #7812 )
2020-12-15 19:25:59 -05:00
urkerab
74ae95a91c
Update accuracy calculation for latest Gen 7 research ( #7806 )
2020-12-15 18:37:24 -05:00
ACakeWearingAHat
4fda00e8ac
Update Doubles/Gen 2 Random Battle ( #7808 )
2020-12-15 11:52:47 +04:00
MacChaeger
7d6da41e34
Factory sets: Add more EV validation ( #7790 )
2020-12-12 10:48:20 +04:00
The Immortal
bce1267fae
Improve randoms generator
2020-12-10 15:33:08 +04:00
Guangcong Luo
ea58695f0f
Revert "CC/HC: Fix level balancing formula ( #7773 )"
...
This change was controversial. pyuk agreed to revert in preparation for
Random Battles Team Tour 4 as mentioned in:
https://www.smogon.com/forums/threads/revert-the-level-changes-to-hackmons-cup.3674551/
This reversion should not be interpreted as taking a side in whether
the level formula should be changed after the tour.
This reverts commit b6bf805a1a .
2020-12-09 23:18:41 +00:00
The Immortal
9965288bd2
Gen 5 Random: Fix Monotype Normal teams
...
Closes #7782
2020-12-09 22:12:30 +04:00
MacChaeger
fa4b7a19df
Fix Gen 7 UU Gligar Battle Factory EVs ( #7780 )
2020-12-08 20:33:59 +04:00
MacChaeger
b6bf805a1a
CC/HC: Fix level balancing formula ( #7773 )
2020-12-08 09:55:30 +04:00
Marty-D
e85c2ce250
Gen III-IV: Fix Reflect / Light Screen again
2020-12-07 10:12:50 -05:00
Leonard Craft III
12da66fb21
Correct Protean interactions & Gravity-blocked Status Z-Moves ( #7729 )
2020-11-30 16:30:51 -05:00
Kris Johnson
fe52ec2dab
SSB: Remove a random duck
2020-11-28 02:45:20 -07:00
The Immortal
c13d5f3d4c
Gen 6: Fix Stance Change
2020-11-26 16:47:41 +04:00
aviettran
f66569a242
Fix Symbiosis interaction with Eject Button ( #7718 )
2020-11-24 11:14:05 -05:00
Marty-D
5cbaefbf71
Gen III-IV: Air Lock / Cloud Nine have no message
2020-11-22 17:38:23 -05:00
Marty-D
8325b6300f
Gen III-IV: Fix Reflect / Light Screen in Doubles
2020-11-21 18:55:28 -05:00
Marty-D
1ed4d58b7e
Gen III: Fix Weather Ball
...
I realize this isn't actually correct, but at least it's less incorrect for now.
2020-11-20 18:24:29 -05:00
The Immortal
944d27ff55
Gen 2 Random: Prevent crashes with Monotype rule
...
Gen 2 has types with less than 6 Pokemon. These are fine to be rolled if someone plays this format via custom challenge and shouldn't crash.
2020-11-19 05:00:16 +04:00
The Immortal
6f44c6b4f8
Allow Same Type Clause in gens 3 & 2 Randoms
2020-11-19 02:41:48 +04:00
May Evans
9b8e34bc48
Gen 1: Announce Desync Clause Mod, fix Stadium Sleep Clause ( #7702 )
2020-11-16 23:52:39 -08:00
Kris Johnson
7877b95e67
Random Battle: Fix typo and remove redundant check
2020-11-16 22:40:48 -07:00
The Immortal
201842c421
Allow Same Type Clause to work in gen 5/4 Random
2020-11-15 16:47:03 +04:00
ACakeWearingAHat
1aafb31a6d
Update Gen 2/Gen 8 Doubles Random Battle ( #7693 )
2020-11-15 15:02:07 +04:00
May Evans
8c369ee995
Rename "Desync Clause" to "Desync Clause Mod" ( #7694 )
...
This was a minor mistake when I was writing this thing up. Since Desync Clause isn't something you replicate in RBY, it is more accurate to describe it as a Mod, in line with the ADV Switch thing.
2020-11-14 19:54:33 -08:00
Guangcong Luo
3336decb79
Implement Desync Clause Mod for Gen 1 Counter
2020-11-15 02:18:37 +00:00
urkerab
ec8cd25d59
Properly update Diamond Storm boosts for Gen 7 ( #7638 )
2020-11-12 10:27:18 -05:00
May Evans
370da46cb9
Fix Gen 1 Psywave mechanics ( #7685 )
2020-11-11 18:56:06 -08:00
Marty-D
2d0e06e497
Past Gens: Fix Fury Cutter
2020-11-09 18:10:05 -05:00
ACakeWearingAHat
155cf001f5
Gen 2 Random Battle improvements ( #7651 )
2020-11-06 17:54:28 +04:00
Guangcong Luo
9b5217ab70
Split up dex-data into more files ( #7634 )
...
* Split up dex-data over individual files
This commit introduces:
- `dex-abilities.ts`
- `dex-conditions.ts`
- `dex-formats.ts`
- `dex-items.ts`
- `dex-moves.ts`
- `dex-species.ts`
These files centralize definitions from `dex-data` and `global-types`.
* Inherit ItemData from Item etc
Previously, Condition inherited from ConditionData. Now, ConditionData
inherits from Condition. The advantage of the new approach is that now,
Condition and DataCondition no longer need to be separate types, and
there should be much less duplication of type definitions in general.
This has also been done for
- ItemData/Item/DataItem
- AbilityData/Ability/DataAbility
- FormatData/Format/DataFormat
Species and DataSpecies was already merged, but this also reverses
their inheritance (saving a lot of duplicated definitions in the
process!)
The only one left is MoveData, which is just super complicated and
will need its own commit.
2020-11-05 05:00:13 -08:00
The Immortal
2bc4a51a50
Random Battle improvements
2020-11-03 19:43:57 +04:00
Leonard Craft III
920af21aac
Abilities: Add isPermanent flag ( #7614 )
2020-11-03 10:31:11 -05:00
The Immortal
c15663508b
Gen 2 Random: Fix typo
2020-11-02 02:40:34 +04:00
The Immortal
a36bda12e7
Gen 2 Random: Fix Rest + Sleep Talk
2020-11-02 02:29:01 +04:00
Kris Johnson
2db0a1fdb2
Mark other Genesect formes as unreleased in DLC1
2020-11-01 15:25:53 -07:00
ACakeWearingAHat
3037781e1d
Revamp Gen 2 Random Battle ( #7610 )
2020-11-02 01:13:11 +04:00
Kris Johnson
ba4c9d7a2a
Add November's OMotM, LCotM and RoA Spotlight ( #7615 )
2020-11-01 15:36:24 +04:00
Mia
d625976216
Rulesets: Fix crash in CCAPM2 ( #7582 )
2020-10-26 22:33:08 +04:00
urkerab
ff0ca077b6
Update Lunar Dance to Gen 8 mechanics ( #7576 )
2020-10-26 19:39:39 +04:00
May Evans
e102416793
Ban Japanese Gen 1 Events in Int Formats: Part 2 ( #7581 )
...
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2020-10-26 06:00:35 -07:00
The Immortal
f1d82ee1e0
Add gift Toxel event data
2020-10-26 06:15:51 +04:00
urkerab
b90f03b77e
Calculate natures with 16-bit truncation ( #7540 )
...
Also fixes Let's Go! which wanted to override these but couldn't.
2020-10-25 16:54:43 -07:00
The Immortal
a832a0f4c5
Add event Porygon
2020-10-25 01:27:45 +04:00
The Immortal
58e8e4203d
Micle Berry is obtainable
2020-10-25 01:15:36 +04:00
Kris Johnson
a1058ac29c
Convert VGC 2020's mod to a pre-DLC2 mod ( #7564 )
2020-10-24 06:00:29 +04:00
The Immortal
5b83c5b15e
Update learnsets
...
Added legendary dynamax events.
Removed multiple level up entries.
Copy corrections to VGC20 mod.
2020-10-24 05:47:51 +04:00
The Immortal
ada31d73b6
Soul Dew is available
2020-10-24 03:45:42 +04:00
The Immortal
24afc0f57e
Show Genesect forme in Team Preview
2020-10-23 20:51:16 +04:00
The Immortal
8d7b72c606
Release the berries
2020-10-23 19:41:40 +04:00
The Immortal
b4f3c98630
Update obtainable items
...
Haven't seen confirmation of Soul Dew yet.
2020-10-23 18:52:15 +04:00
Kris Johnson
41ed00002f
Fix oversights from adding Crown Tundra DLC ( #7559 )
2020-10-23 07:45:12 +04:00
The Immortal
ed347748d5
Missed this file in 42e918a78
2020-10-23 06:50:14 +04:00
The Immortal
42e918a781
Add VGC 2020 mod
2020-10-23 06:47:00 +04:00
The Immortal
cf3405210f
Gen 7: Random Battle updates
2020-10-21 22:15:12 +04:00
Guangcong Luo
a55d3cd530
Fix crashes from using moves with no target
...
Specifically, if you target your ally and your ally uses Ally Switch
(causing you to target yourself), certain moves (including Thunder,
Hurricane, and SSA) crash. This has been fixed.
2020-10-19 18:10:25 +01:00
Guangcong Luo
9d87616176
Add more style linting rules ( #7537 )
...
* Lint arrow-body-style
* Lint prefer-object-spread
Object spread is faster _and_ more readable.
This also fixes a few unnecessary object clones.
* Enable no-parameter-properties
This isn't currently used, but this makes clear that it shouldn't be.
* Refactor more Promises to async/await
* Remove unnecessary code from getDataMoveHTML etc
* Lint prefer-string-starts-ends-with
* Stop using no-undef
According to the typescript-eslint FAQ, this is redundant with
TypeScript, and they're not wrong. This will save us from needing to
specify globals in two different places which will be nice.
2020-10-19 02:42:28 -07:00
May Evans
0ee6e5f3ce
Fix Stadium Struggle vs Ghost-types ( #7527 )
...
Struggle should deal neutral damage to Ghost-types in Stad1 exclusively. I'm not exactly a "programmer", but if I can help fix this sim improve then that's good enough for me.
Source: https://www.smogon.com/forums/threads/stadium-format-is-now-available-on-ps.3526616/post-8517229
Thanks to Kris for helping me figure out what to do, it means a lot.
2020-10-19 00:59:34 -07:00
Kris Johnson
6699a57f4d
Fix spread move mechanics in ADV Doubles ( #7523 )
2020-10-16 11:22:48 -04:00
The Immortal
845b8f1458
Gen 1 Random: Give Magikarp Splash
2020-10-16 10:27:30 +04:00
May Evans
049ccaf368
Remove illegal moves from RBY Random Battles ( #7528 )
...
This removes Harden from Kakuna and Dragon Rage from Magikarp.
Harden is incompatible with Poison Sting and String Shot, as Kakuna doesn't learn it upon evolving like Metapod.
https://www.smogon.com/forums/threads/random-battles.3526564/post-8577809
Magikarp only gets Dragon Rage via a Japanese event, and since international RBY mechanics are used, it's impossible for this to be used.
As far as I know, these are the only incompatibilities.
2020-10-16 04:53:36 +04:00
The Immortal
84e0aeb8d1
Gen 7: Random Battle updates
2020-10-14 04:21:44 +04:00
Kris Johnson
4ea47cb308
Gen 4: Move Arceus to AG ( #7511 )
2020-10-12 03:01:50 +04:00
PartMan
52f67edd0d
Fix typo ( #7491 )
...
Obligatory Hacktoberfest typofix.
2020-10-07 23:36:16 -07:00
Kris Johnson
84f37bed2c
ViAbilities: Fix Vespiquen's moves
2020-10-03 20:26:36 -06:00
Kris Johnson
649a148d05
ViAbilities: Fix typos
2020-10-02 22:45:35 -06:00
Kris Johnson
9f0b6d64d0
Add new Pet Mods of the Season ( #7455 )
2020-10-02 21:08:29 +04:00
The Immortal
61b484ee4a
Past gens random battle updates
2020-10-01 17:51:20 +04:00
Guangcong Luo
3d68248efa
Update to latest eslint
...
We're skipping two major typescript-eslint versions, so there are a
bunch of changes here, including:
- it's catching a lot of things it didn't catch in the past, for
reasons unclear to me
- no-unused-vars has to be explicitly disabled in global-types now
- a lot of `ts-ignore`s were never necessary and have been fixed
- Crashlogger can now handle being thrown things that aren't errors.
This has never been a problem in the past, but to satisfy TypeScript
we might as well not die in a fire on the off chance someone tries to
`throw null` or something.
2020-09-29 15:28:08 -07:00
The Immortal
0d71ec82c3
Random Battle improvements
2020-09-22 11:56:21 +04:00
lotuspirate
7604acefd8
Update GSC NU Pokémon ( #7405 )
...
Changing tier for NU-viable Pokemon to NU from NFE/LC. Based loosely on GSC NU Viability Ranking.
2020-09-22 07:25:30 +04:00
The Immortal
f32b7c3b4f
Gen 3: Random Battle fixes
2020-09-20 03:16:20 +04:00
urkerab
5d714fbb56
Replace @ts-ignore with type assertions or other less unsafe constructs ( #7390 )
2020-09-19 02:07:48 -07:00
ACakeWearingAHat
e3b9b95283
Random Battles updates ( #7358 )
2020-09-14 01:29:48 +04:00
Marty-D
35033203e8
CAP: Update Equilibra line's Abilities
2020-09-13 12:56:47 -04:00
urkerab
bcc6fddff5
Remove duplicate fail message from Encore ( #7339 )
2020-09-09 04:32:28 +04:00
Strahm, Jeffrey S.(S&T-Student)
188426490b
Rename FormatsData to FormatData
...
(The name FormatsData is inconsistent with how we name other things;
especially since it's supposed to be data for a single format. It was
probably originally a typo. -Zarel)
2020-09-07 19:35:14 -07:00
urkerab
1bf873018c
Remove outdated getAwakeningValues function ( #7331 )
2020-09-07 17:00:53 -07:00
Instruct
c5b6622bc6
SSB: Remove Ashe ( #7332 )
2020-09-07 16:59:59 -07:00
Kris Johnson
43ec001996
CAP: Nerf Equilibra ( #7328 )
2020-09-06 22:15:05 -07:00
Guangcong Luo
ea8f52ce97
Move descriptions to data/text/ files ( #7036 )
...
This adds some new `data/text/` files, which are the new home for
item/move/ability descriptions, as well as in-game messages, in one
place for ease of translation.
2020-09-06 22:00:11 -07:00
Kris Johnson
8656d633ac
Format volatiles consistently ( #7314 )
2020-09-05 08:12:24 -07:00
Kris Johnson
c5d68ce16c
Megamax: Add newest updates ( #7313 )
...
https://www.smogon.com/forums/threads/megamax-pet-mod-of-the-season-ladder-tour-post-408.3658623/page-16#post-8571322
2020-09-04 21:44:42 -04:00
Kris Johnson
fb36d5275d
Remove Gen 7 Mix and Mega ( #7298 )
2020-09-03 01:15:59 +04:00
The Immortal
d25ec1cbca
BF/CAP 1v1: Move sets loading outside constructor
2020-09-02 15:44:34 +04:00
The Immortal
78d85c6790
Gen 3: Fix Lightning Rod rating
2020-09-02 12:43:12 +04:00
Marty-D
edcbf6a483
Gens 4-6 OU: Put consistently low usage Pokemon in OU by technicality
...
https://www.smogon.com/forums/posts/8525878/
2020-08-29 10:41:55 -04:00
Kris Johnson
324ad0425a
Fix various GSC/ADV mechanics ( #7247 )
2020-08-22 01:29:41 -07:00
Kris Johnson
5e255012bc
Add a 'bst' property to Species ( #7138 )
2020-08-12 12:06:09 -07:00
Kris Johnson
03326bf0a0
Fix crash caused by missed instance of toID ( #7193 )
2020-08-10 00:18:19 -07:00
Mia
deeed6c789
Remove sim/ and data/'s globals ( #7091 )
2020-08-07 06:44:15 -07:00
Kris Johnson
5fb36bcc62
SSB: Remove Flare ( #7170 )
2020-08-07 12:36:12 +04:00
Leonard Craft III
9e82f05ebb
Gen 3-4: Fix Camouflage to change to Normal-type ( #7130 )
2020-08-06 14:54:57 -04:00
Kris Johnson
f96ec4fb05
Add strict types to tiers ( #7135 )
2020-08-06 00:41:42 -07:00
Kris Johnson
9952709171
Add some QoL improvements for Pet Mods ( #7118 )
2020-08-01 23:20:26 -07:00
The Immortal
1360f7d06d
Random Battle updates
2020-08-01 17:31:16 +04:00
Kris Johnson
274e5ef267
Add August OM and RoA Spotlight ladders ( #7111 )
2020-08-01 16:46:04 +04:00
Leonard Craft III
95243cdb00
Don't leak target of two-turn charge moves ( #7104 )
2020-07-31 17:55:28 -07:00
Marty-D
7e33b3647a
Gen I: Fix Sludge poison chance
2020-07-31 20:07:18 -04:00
Annika
05a9f9a1e5
Minor code quality improvements based on LGTM ( #7092 )
2020-07-30 14:24:37 -07:00
Kris Johnson
70edfaa64c
Add support for more OMs ( #7084 )
2020-07-30 05:22:21 +04:00
Guangcong Luo
4d09f7acde
Rename more instances of Effect to Condition
2020-07-26 11:26:23 -07:00
Guangcong Luo
2f805c93a2
Remove "Battle" prefix from data exports ( #7039 )
...
`BattlePokedex` is now `Pokedex`, `BattleItems` is now `Items`, etc.
I also renamed `Movedex` to `Moves` and `Statuses` to `Conditions`.
`TypeChart` isn't `Types` yet, because unlike the others, it's not
indexed by ID. That should probably be fixed one day.
2020-07-24 12:42:26 -07:00
The Immortal
e4e375b19b
Random Battle updates
2020-07-24 17:41:05 +04:00
Kris Johnson
00b88b521d
Handle Gigantamaxing properly ( #7001 )
2020-07-23 13:27:42 -07:00
Marty-D
10e4ecdc84
Clean up event priorities
2020-07-21 10:43:12 -04:00
PartMan
356c06593b
Update Damp ( #7025 )
2020-07-20 09:58:49 -04:00
The Immortal
10bf212816
Battle Factory: Fix Raikou
2020-07-20 13:54:33 +04:00
Kris Johnson
d54985c70f
Optimons: Add new optimizations ( #7022 )
2020-07-20 13:36:28 +04:00
The Immortal
5e250e7e86
Gen 6: Update Random Battle
2020-07-19 18:43:14 +04:00
The Immortal
4d22a0f87e
Move Magikarp's Revenge to NEXT mod
2020-07-19 15:00:40 +04:00
Marty-D
cad644bd84
Gen I: Add Counter short description
2020-07-17 14:00:33 -04:00
Guangcong Luo
e14c327f4e
Fix typo in SSB set
2020-07-16 05:14:07 -07:00
Kris Johnson
1a92b731a0
Pet Mods: Add new buffs/QoL improvements ( #7002 )
2020-07-13 21:09:12 -07:00
Kris Johnson
028797257c
Add SM Mix and Mega ( #6997 )
2020-07-13 15:03:35 +04:00
Slayer95
0afd86221b
Linked: Fix priority of linked moves ( #6990 )
...
Second move in a chain ignores Gen 8 dynamic turn-order mechanic.
2020-07-09 23:17:28 -07:00
Kris Johnson
255cd33635
Fix Megamax and NatDex BH ( #6977 )
2020-07-07 15:33:48 -07:00
Annika
2037764dd4
Porygon doesn't learn Defense Curl in Gen 2 ( #6976 )
2020-07-07 17:25:07 -04:00
Kris Johnson
4703cb76f3
Megamax: Add Hone Claws to Grimmsnarl ( #6969 )
...
https://www.smogon.com/forums/threads/megamax-pet-mod-of-the-season.3658623/page-11#post-8525900
2020-07-06 17:15:26 -07:00
Kris Johnson
947a055e47
Megamax: Add new nerfs ( #6963 )
...
https://www.smogon.com/forums/threads/megamax-pet-mod-of-the-season.3658623/page-11#post-8528007
2020-07-06 02:36:56 +04:00
The Immortal
b2387ad20d
Gen 3: Random Battle updates
2020-07-05 19:34:41 +04:00
Kris Johnson
6e05586846
Add the other Pet Mod formats ( #6960 )
2020-07-04 21:10:41 -07:00
The Immortal
45329dd44c
Gen 3: Random Battle updates
2020-07-03 14:30:12 +04:00
Kris Johnson
bf21d8fd0a
Add new Pet Mod of the Season ( #6939 )
2020-07-02 14:37:20 +04:00
Guangcong Luo
8fd572f1f6
Refactor BattleQueue to wrap Array
...
The old decision to make it extend Array was wrong, as clearly
illustrated by the problems with slice/splice.
2020-07-01 16:37:36 -07:00
Kris Johnson
f126b5aa6f
Fix typo ( #6937 )
2020-07-01 15:27:18 +04:00
Kris Johnson
7010e0286f
Add OMotM and RoA Spotlight for July 2020 ( #6936 )
2020-07-01 12:59:10 +04:00
urkerab
17e4cb49a4
Adjust fractional priority for latest research ( #6928 )
2020-06-29 12:09:10 -07:00
urkerab
f69ebf4f77
Fix Gen 3 Metal Coat's description ( #6919 )
2020-06-26 04:52:42 -07:00
Kris Johnson
06971ebdd9
RBY: Move Clefairy to NFE ( #6904 )
...
Clefairy isn't available at or below level 5 from RBY or from trading back from GSC
2020-06-23 01:25:42 +04:00
The Immortal
fb2ac9502a
Random Battle updates
2020-06-22 15:24:43 +04:00
The Immortal
6ef15d4a9b
Fix Adrenaline Orb
2020-06-19 16:52:56 +04:00
The Immortal
8817ca88c7
Move unreleasedHidden and maleOnlyHidden to Pokedex
2020-06-18 17:44:44 +04:00
ACakeWearingAHat
e72b3ae165
Gen 7 Random Doubles Battle Updates ( #6810 )
2020-06-18 16:33:41 +04:00
Kris Johnson
4a80a56193
Update evolution methods ( #6851 )
2020-06-17 15:53:47 -07:00
The Immortal
f37d7471c3
Random Battle: Set improvements
2020-06-17 22:09:03 +04:00
The Immortal
472688ef33
Update moves usable in Sw/Sh
2020-06-17 18:45:20 +04:00
Enigami
21685eb661
Fix various Stadium issues ( #6838 )
2020-06-16 14:27:09 -07:00
Mia
6839a1f4db
Add a library for utility functions ( #6817 )
2020-06-09 22:06:43 -07:00
DeltaCoderr
f447333bdd
SSB: Batch Update ( #6797 )
2020-06-07 12:12:18 -07:00
The Immortal
0199852386
Gen 3: Random Battle improvements
2020-06-04 16:57:55 +04:00
The Immortal
f9791abba9
Random Battles: Fix cosmetic formes
2020-06-04 03:06:07 +04:00
ACakeWearingAHat
f797cdd98b
Update Gen 5 Random Battle ( #6773 )
2020-06-04 02:57:35 +04:00
Kris Johnson
73a84a43ec
Fix remaining learnsets inconsistencies ( #6795 )
2020-06-02 21:31:48 -07:00
Kris Johnson
960721aef6
Fix Mandibuzz's Gen 5 tier ( #6785 )
2020-06-01 22:21:34 -07:00
SSlayer9
7f3b464bc2
Update Heal Bell interaction with Soundproof ( #6771 )
2020-05-30 16:04:57 -04:00
The Immortal
d8364dc952
Gen 3: Random Battle updates
2020-05-28 02:08:28 +04:00
Marty-D
324a5bfa1a
Gen III-IV: Fix Abilities' interaction with 0 damage
...
Thanks BKC for pointing out Rough Skin
2020-05-23 11:52:52 -04:00
PartMan
775f1e4945
Update Howl flags ( #6727 )
2020-05-22 14:49:10 -04:00
The Immortal
f8ecce8096
Gen 3: Random Battle improvements
2020-05-21 22:45:38 +04:00
Nol
fecb2f3cb8
SSB: Batch Update ( #6594 )
...
* SSB: Name change Salamander to Instruct
* Promote Kipkluif and Psynergy to Driver
* Demote xfix to voice
* Demote Pluviometer to voice
2020-05-20 12:39:32 -07:00
Leonard Craft III
3496491d4f
Fix Farfetch'd / Sirfetch'd with new apostrophe ( #6721 )
...
Also fixes Stick's behavior
2020-05-19 21:56:35 -07:00
Konrad Borowski
b0f0cb28a8
Gen I: Add HP hint for Rest ( #6701 )
2020-05-16 08:34:22 -07:00
The Immortal
0e80285a5e
Gen 3 Random Battle: More improvements
2020-05-16 08:13:27 +04:00
Marty-D
6311dd7f0b
Fix Binding Band implementation
2020-05-15 16:20:59 -04:00
Marty-D
31ed3f33ec
Gen VII: Fix Skill Swap description
2020-05-15 11:33:39 -04:00
The Immortal
0227db4ba4
Gen 3: Random Battle fixes
2020-05-15 01:12:20 +04:00
Marty-D
c8c048a645
Update Curse targeting
2020-05-14 13:23:37 -04:00
The Immortal
8be031bb6d
Gen 3 Random Battle: Overhaul set generation
2020-05-14 07:58:36 +04:00
The Immortal
1810c8e7b7
Random Battle: Improve Toxicroak
2020-05-14 07:51:35 +04:00
The Immortal
073672962c
Gen 3: Update random battle moves
...
This is the first part of the gen 3 random battle overhaul. A complete rewrite of the set generator will follow.
2020-05-12 07:44:47 +04:00
Kirk Scheibelhut
fa65ed4979
Add alt form index data to dex ( #6669 )
...
AltForm index info obtained from kwsch/PKHeX's FormConverter.cs (thanks Kurt).
Thanks to @Lusamine (Anubis) for help with the peculiarities.
2020-05-10 12:20:40 -07:00
Guangcong Luo
3a1fe75b13
Remove isViable from moves
...
It's a judgment call that doesn't belong among the other factual
information in `moves.ts`.
The information is still around; in the client's `battle-dex-search.ts`
in `BattleMoveSearch#moveIsNotUseless`. But now it's all in one place.
fb18721e82
2020-05-08 19:25:51 -07:00
Guangcong Luo
79091f6362
SSB: Fix Next Level Strats
...
Fixes #6663
2020-05-08 18:06:49 -07:00
Marty-D
1bc6ed4bf4
Gen IV: Fix Griseous Orb interaction with Ability manipulation
...
Thanks Snackhound!
2020-05-07 16:27:49 -04:00
AnnikaCodes
a46d0a9844
Update move descriptions to account for Teleport's Gen 8 behavior ( #6660 )
2020-05-07 14:24:24 -04:00
Marty-D
339f516a2b
Gen II: Fix residual damage when opponent is KOed
2020-05-06 15:41:18 -04:00
fart
8efbbda576
Fix Glitch Out bug ( #6656 )
2020-05-05 18:49:19 -07:00
fart
fa9775bcf9
Fix Glitzer Popping bug ( #6655 )
2020-05-05 16:16:00 -07:00
Kirk Scheibelhut
2af7040270
Group zMove and maxMove attributes ( #6652 )
...
This mostly serves to provide cleaner and more consistent field
naming. maxMove currently doesn't have boosts or effects to group
together but who knows what will be thrown at us via DLC, and being
symmetrical with zMoves is a nice.
2020-05-04 20:21:27 -07:00
Leonard Craft III
04e40f0864
Update Struggle's Gen 4 description ( #6651 )
2020-05-03 17:35:12 -07:00
The Immortal
fc62da963a
Random Battle: Adjust Pokemon rates
2020-05-03 02:31:15 +04:00
Guangcong Luo
6c1992b067
Fix Metronome blacklists
2020-05-02 00:16:55 -07:00
Guangcong Luo
23b59de881
Fix Metronome
2020-05-01 13:22:16 -07:00
The Immortal
6d2aa411ed
Gen 7: Fix formatting inside randomSet
2020-05-01 09:08:59 +04:00
Guangcong Luo
e0f6453b60
Refactor data definitions
...
- `Modded[Effect]Data` are now correctly defined: they must either have
`inherit: true` and be partial, or not have `inherit: true` and be a
complete `[Effect]Data` entry
- `id` is no longer allowed; instead, it's calculated directly from
`toID(name)`. The one exception, Hidden Power, gets a `realMove`
property to track this (it's still used to set `.id`, though;
TODO: really fix it properly).
- `num` is still required in `data/pokedex.ts` (dex number),
`data/moves.ts` (move index number, for Metronome), and
`data/items.ts` (minisprite sprite-sheet location). It's still not
required for mod-only items and moves.
- `num` is no longer allowed for PureEffects (in `statuses.ts`) where
it's always been meaningless.
- `color` and `heightm`, being completely flavor, are still not
required for `pokedex.ts` in mods. They're still required in the base
pokedex.
2020-04-30 21:39:29 -07:00
The Immortal
9bb97f0228
Random Battle: Update forme generation
2020-05-01 08:18:29 +04:00
Guangcong Luo
826e544b65
Refactor random set generation
...
The whole `checkBattleForme` system, introduced in 4410843e5a
and currently used in Gen 6 and 7, seems to have always been bugged.
As TI mentions in #5970 , we already use `getPokemonPool` for alternate
forme handling.
I've replaced it with a roll for cosmetic formes.
2020-04-30 17:52:04 -07:00
Marty-D
294a44b943
Gen II: Don't check for secondary effects if the target fainted
...
This includes self-boost secondaries like Metal Claw.
Thanks again, UPC!
2020-04-30 13:33:21 -04:00
Kirk Scheibelhut
4afdd7b947
Fix otherFormes capitalization in gen7/pokedex.ts
2020-04-29 23:31:45 -07:00
Kirk Scheibelhut
edddcb5c38
Correct Self-Destruct and Explosion base power ( #6630 )
...
As confirmed by SadisticMystic, base power cannot be above 255, so
this move data is clearly incorrect and results in downstream users
of the data files such as the Smogon or PS dex or the tooltips
displaying misleading information.
2020-04-29 14:59:59 -07:00
Kris Johnson
8b9f24e8c1
Remove redundant code from mods/gen1/pokedex.ts ( #6629 )
2020-04-28 22:17:07 -07:00
Guangcong Luo
800d8bd8f3
Remove Dex.getForme etc
...
The server now uses the same approach as the client of treating
cosmetic formes as real formes, as documented in `FORMES.md`.
This eliminates the need for the `.forme` and `.speciesid` properties
of `Pokemon`.
`pokemon.id` has also been removed: useful, since it turns out half
of its uses were bugs that should have used `pokemon.species.id`.
2020-04-28 17:38:54 -07:00
Guangcong Luo
42f949a0ed
Remove egg group info from Gen 1 Pokédex
2020-04-28 16:25:35 -07:00
Guangcong Luo
bfe651bd12
Fix Gen 1 gender
...
It was apparently broken by the TypeScript refactor.
2020-04-26 17:52:06 -07:00
Kris Johnson
f7053eb7cd
Update Defog's description ( #6624 )
2020-04-26 16:27:43 -07:00
Guangcong Luo
c5faebd739
Remove extraneous properties from BasicEffect
...
BasicEffect always had a `status` property to support the pattern of
testing it to see if it's a move that sets status directly.
This is just a situation that TypeScript is bad at.
Another possibility would be to set `status: undefined` on PureEffect,
Ability, Item, and Species, but I think that's also ugly. Casting to
Move is probably the best approach, so that's what we do now.
2020-04-25 12:57:46 -07:00
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
Kirk Scheibelhut
66e4bac94c
Give Struggle 10 PP in Gen 1 ( #6609 )
2020-04-25 09:53:58 -04: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
Marty-D
e03d6e9020
Gen III: Remove obsolete code
2020-04-24 15:03:04 -04:00
Guangcong Luo
5d63b16d4d
Fix botched merge in data/.ts refactor
...
The data/.ts refactor left a few .js files in, which weren't deleted
between 13 and 3 days ago:
c85f5bccb0
Because of this, the corresponding `.ts` files were considered new,
rather than renamed, and changes to the `.js` files got deleted rather
than merged.
Fortunately, this only affected `moves.js`, which has now been manually
re-merged with the changes.
2020-04-23 11:22:21 -07:00
Kris Johnson
28bf388b98
Typescript data ( #6553 )
2020-04-23 09:16:09 -07:00
Marty-D
4997963c8b
Gen I & Stadium: Fix accuracy calculations
2020-04-19 15:02:04 -04:00
Nol
a3b8db05f7
SSB: Update several ranks ( #6556 )
2020-04-18 22:03:42 -07:00
Marty-D
d9d345d8df
Correct power modifier priorities
...
Thanks @dawoblefet!
2020-04-18 20:33:13 -04:00
scoopapa
c32997cb51
Roulettemons: Update movepools ( #6551 )
2020-04-16 04:36:40 -07:00
Guangcong Luo
6884c7ee81
Remove unnecessarily quoted keys in data/
...
(By pulling this out from the rest of the TypeScript refactor, this
should make the diffs for the TypeScript refactor more readable.)
2020-04-16 01:32:18 -07:00
fart
9fda11310a
Fix activeMoveActions bug ( #6570 )
...
Bar Fight is supposed to act like Fake Out and only work on turn 1. This line added in this PR was missing from the runMove function, so Bar Fight and Fake Out were usable past turn 1.
2020-04-12 22:28:39 -07:00
The Immortal
af353fa46f
Update BW LC
2020-04-12 17:16:12 +04:00
Kirk Scheibelhut
ca69c8e6e3
Fix Minior-Meteor forme not being allowed in Gen 7 ( #6563 )
2020-04-12 16:25:13 +04:00
The Immortal
c60df55907
Gen 6 Randoms: Fix Trick Pokemon
...
And remove outdated priority rejection.
2020-04-12 00:07:51 +04:00
The Immortal
b99c238b20
Gen 5 Randoms: Fix Medicham
2020-04-12 00:05:07 +04:00
The Immortal
5202df1921
Gen 5 Randoms: Fix NFE level
2020-04-11 10:20:00 +04:00
HoeenHero
3458bdd454
Gen 5: Normal Gem should inherit from base data.
2020-04-10 22:15:16 -04:00
The Immortal
e6682bfb07
Gen 5 Randoms: Fix Mandibuzz
2020-04-11 03:05:06 +04:00
scoopapa
86d8495522
Roulettemons move legality and update cont'd ( #6540 )
2020-04-09 11:46:15 -07:00
urkerab
d32aa6f8d6
Properly override onFractionalPriority in past gens ( #6542 )
2020-04-08 15:31:39 -07:00
scoopapa
5ba6b3ee2d
Add Roulettemons final pokemon ( #6539 )
2020-04-08 10:48:01 -07:00
The Immortal
8a38da0023
Delete Clean State Micro mod
2020-04-08 07:24:11 +04:00
charizard8888
d759fb1b0d
Add new PMOTS: Roulettemons ( #6508 )
2020-04-08 07:22:57 +04:00
Guangcong Luo
5abdb88e55
Refactor EventListener
...
Renames:
- .status -> .effect
- .statusData -> .state
- .thing -> .effectHolder
`thing` was always a really weird "I don't know what to call this"
variable name, but it's been renamed `effectHolder`, which should be
much clearer. `status` -> `effect` is I think the last remnant of old
PS code which called all effects "statuses". `statusData` -> `state`,
on the other hand, is the very first step in an initiative to calling
less things "data".
2020-04-07 17:05:19 -07:00
The Immortal
90b1597548
Gen 5/6 Randoms: Update levels
2020-04-08 02:06:37 +04:00
Leonard Craft III
dd566f3eeb
Ban Hidden Abilities unreleased in VGC17 ( #6533 )
2020-04-06 21:39:42 -07: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
The Immortal
78fde78f19
Refactor unavailable moves
...
Moves that are not available in-game are now consolidated into `isNonstandard`. 'Past' indicates that the item no longer works in the current generation. 'Unobtainable' indicates that the item works but can only be obtained through hacking.
2020-04-06 20:26:10 +04:00
The Immortal
441d2961dc
VGC17: Fix items
2020-04-06 20:25:22 +04:00
The Immortal
2b17e3bb92
Gen 5 Randoms: Fix Zangoose
2020-04-06 03:41:37 +04:00
The Immortal
6a057e733c
Gen 5 Random: Fix Belly Drum
2020-04-06 03:01:42 +04:00
The Immortal
9db0c00375
Use double quotes
2020-04-06 00:09:07 +04:00
The Immortal
387dd7ce2d
Refactor unavailable items
...
Items that are not available in-game are now consolidated into `isNonstandard`. 'Past' indicates that the item no longer works in the current generation. 'Unobtainable' indicates that the item works but can only be obtained through hacking.
Credit to @lusamine for testing many of these items in Sw/Sh.
2020-04-05 23:54:57 +04:00
Leonard Craft III
64d42624b8
Mark Plates (except Pixie Plate) as past gen items ( #6524 )
2020-04-05 11:09:16 -04:00
Kris Johnson
2f1419bd38
Shared Power and ORAS Doubles: Update bans ( #6527 )
2020-04-05 09:56:31 +04:00
The Immortal
b5d9829e0e
Random Battle improvements
2020-04-01 23:06:19 +04:00
Marty-D
76da207659
Update Metronome again
2020-03-31 12:04:28 -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
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
The Immortal
de2d80663e
Random Battle improvements
2020-03-29 02:36:41 +04:00
The Immortal
659a878e5d
Random Battle updates
2020-03-27 22:58:10 +04:00
Leonard Craft III
933eb9a137
Species -> name in Gen 1 ( #6495 )
2020-03-26 20:03:48 -07:00
The Immortal
a5e15818fa
Fix MissingNo.'s learnset
2020-03-26 22:12:35 +04: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
Kris Johnson
994fc60aed
Rename Template to Species ( #6478 )
2020-03-25 23:29:27 -07:00
The Immortal
483aba6876
Gen 1 Random: Fix Omanyte
2020-03-25 15:34:13 +04:00
Kris Johnson
0e0bd0502a
Gen 6: Fix Floette-Eternal's tier ( #6487 )
2020-03-24 20:36:43 -07:00
Kris Johnson
bafea519c4
Gen 5: Fix Combusken's tier ( #6486 )
2020-03-24 20:36:34 -07:00
Kris Johnson
ff0968bdc9
Scalemons: Move stat formula to rulesets ( #6481 )
2020-03-22 05:44:47 +04:00
The Immortal
6dc9cb5e4f
Gen 7: Fix broken entries in Formats-Data
2020-03-22 05:06:18 +04:00
Marty-D
0af4a07da4
Descriptions: Update move disabling effects
2020-03-21 12:11:45 -04:00
Kris Johnson
770f1a3f7c
Add support for (NU) ( #6475 )
2020-03-20 20:50:14 -07:00
Marty-D
c228bdedfa
Gen VI: Fix Parting Shot drops
2020-03-20 14:39:29 -04:00
The Immortal
2ad5525e8b
Fix Parting Shot mechanics
2020-03-20 21:23:33 +04:00
Marty-D
ca91a54a91
Explicitly block Yawn's effect with Electric/Misty Terrain
2020-03-19 10:12:50 -04:00
The Immortal
d7348167a9
Formats-Data: Do not inherit in older gens
...
It was used to inherit `eventPokemon` so as to not have duplicated data. Event data is now in Learnsets so this inheriting is unneeded.
2020-03-19 16:59:11 +04:00
Christopher Monsanto
3dfa720113
Fix isNonstandard on Genesect formes
2020-03-18 22:53:42 -04:00
The Immortal
c09044a777
Move gen property to Pokedex
2020-03-18 23:09:45 +04:00
The Immortal
51ccfd844d
Fix Arceus items in past gens
2020-03-18 22:30:55 +04:00
The Immortal
bbb4da0131
Refactor forme data
2020-03-18 15:17:55 +04:00
Kris Johnson
3e26318758
Refactor learnsets.js ( #6466 )
2020-03-18 00:59:29 -07:00
The Immortal
ffc88e833f
Random Battle: Improve error handling
2020-03-17 14:23:38 +04:00
Kris Johnson
4090d2baac
SSB: Remove Raid ( #6465 )
2020-03-17 12:18:50 +04:00
Kris Johnson
83ebdb27da
Add Dex#getOutOfBattleSpecies ( #6463 )
2020-03-16 20:31:38 +04:00
The Immortal
bdfb975041
Gen 5 Randoms: Fix Sunflora
2020-03-14 13:09:01 +04:00
Kris Johnson
b077646808
Random Battles chat plugin: Fix various issues ( #6448 )
2020-03-12 12:37:10 +04:00
Kris Johnson
eb6985031e
SSB: Update martha's rank ( #6447 )
2020-03-11 23:56:42 -04:00
The Immortal
a61d7080e3
Fix usage of inheritsFrom
2020-03-10 21:31:06 +04:00
Guangcong Luo
64ff1da81f
Refactor more things to use inheritsFrom
2020-03-10 09:59:36 -07:00
Kris Johnson
f56e3ef66d
Fix BW Magic Room priority ( #6437 )
2020-03-10 17:00:51 +04:00
Kris Johnson
a5988318de
Update Knock Off description ( #6438 )
2020-03-10 11:49:35 +04:00
Kris Johnson
82a3fc7b94
Refactor [Gen 2] Random Battle ( #6435 )
2020-03-09 11:56:15 +04:00
Guangcong Luo
125fe31d06
Improve eslintrc
...
Fixed some more code style, allowing these rules to be enabled:
- `comma-dangle`
- `function-paren-newline`
- `member-delimiter-style`
- `no-eval`
- `no-fallthrough`
- `no-misused-promises`
- `no-unused-vars`
- `operator-linebreak`
2020-03-06 22:35:55 -08:00
Kris Johnson
9d995eb838
SSB: Update Aeonic's rank ( #6426 )
2020-03-06 17:58:43 -08:00
The Immortal
22feeebaee
Gen 5: Fix Rapid Spin
2020-02-29 12:50:50 +04:00
ACakeWearingAHat
69ab44a78e
Gen 5: Randoms update ( #6387 )
2020-02-27 17:19:51 +04:00
Kris Johnson
03f2378d8c
Correct validation for UU NFE Clause/Little Cup ( #6395 )
2020-02-24 21:19:17 -08:00
Guangcong Luo
72976d1001
Fix Gen 3 Quick Claw
2020-02-24 19:27:50 -08:00
The Immortal
bd262b726c
Fix ADV UU NFE Clause
2020-02-23 22:25:35 +04:00
Kris Johnson
fd63ee2a3b
Add ADV UU NFE Clause ( #6386 )
2020-02-23 00:15:35 -08:00
The Immortal
d7c09e0f0e
Gen 5: Update Random Battle moves
2020-02-22 02:00:16 +04:00
Guangcong Luo
167c84124a
Refactor Gyro/Electro Ball implementations
...
This one's for you, @scheibo
https://github.com/smogon/pokemon-showdown/pull/5805/files#r326914000
2020-02-18 13:18:39 -08:00
The Immortal
a931c13bda
Fix 5cf40b239
2020-02-17 16:46:46 +04:00
The Immortal
5cf40b239d
Mail does not exist in Sw/Sh
...
It doesn't work either if you try to hack it.
2020-02-17 16:38:20 +04:00
The Immortal
9e70a66f2d
Power is unusable in Sw/Sh
2020-02-14 23:56:18 +04:00
Russell Jones
4615693685
Fix Gyro Ball/Electro Ball divide-by-0 edge cases ( #5805 )
2020-02-14 10:39:54 -08:00
Kris Johnson
358d947b15
Add Let's Go transfer support ( #6367 )
2020-02-12 21:22:45 -08:00
Guangcong Luo
652c7163cf
Refactor queue to new BattleQueue class ( #6358 )
...
Previously, battle queue stuff was just strewn around `battle.ts`.
This gives it a new home: `battle-queue.ts`.
This was intended to make `battle.ts` slightly more tractable, although
the difference is so small that maybe I shouldn't bother. Oh, well,
every little bit helps.
2020-02-12 16:20:17 -08:00
Kris Johnson
92c7d377a7
Add Pokemon Home support ( #6349 )
...
Co-authored-by: The Immortal <the_immortal123@live.com>
2020-02-12 14:54:55 +04:00
The Immortal
f24df5dd58
Correct Light of Ruin data
2020-02-12 14:27:45 +04:00
Kris Johnson
c870615cad
Accurately update LGPE tiers ( #6354 )
2020-02-09 07:57:09 +04:00
CasualPokePlayer
fa3bece2ea
Update LGPE OU Tiers ( #6353 )
...
https://www.smogon.com/stats/2019-11/gen7letsgoou-1630.txt
2020-02-08 09:44:17 -08:00
Guangcong Luo
55cbc52bba
Fix bugs with secondary/ability order
...
Fixes #6346
The `AfterDamage` event has been replaced with `DamagingHit`, which
which happens for damaging moves after secondaries.
The `AfterHit` event has also been moved after `DamagingHit`, to make
sure Knock Off still procs after Rocky Helmet.
`AfterHit` is no longer a valid event on `secondary` and `self` blocks,
because it's meaningless in those blocks, anyway. All `self.onAfterHit`
and `secondary.onAfterHit` handlers have been moved to `onHit`, which
should have the same timing in practice.
2020-02-08 08:07:39 -08:00
Guangcong Luo
0eae50191b
Improve Wide Guard description
2020-02-08 07:44:10 -08:00
Salaaa
66e46b8421
SSB: Prevent salamander's ability from crashing in edge cases ( #6344 )
2020-02-07 20:14:27 -05:00
The Immortal
e67a55d7ad
Macho Brace is available in Sw/Sh
2020-02-07 14:21:36 +04:00
DeltaCoderr
d4779cc558
Update Ranks in SSB ( #6345 )
...
* Update Ranks in SSB
* Update Schiavetto's SSB Rank.
2020-02-06 15:29:55 +04:00
The Immortal
da7507f806
Gen 5 Random: Don't reject Inner Focus
2020-02-06 01:05:45 +04:00
The Immortal
45b5a22985
Gen 2 randoms: Delete invalid set
2020-02-05 23:58:30 +04:00
Salaaa
3b59e44b52
SSB: Fix Lava Terrain damage boost ( #6332 )
2020-02-06 01:01:25 +10:30
Ezaphs
d10e93809b
Ban Mega Gengar from LGPE OU ( #6333 )
...
https://www.smogon.com/forums/threads/lgpe-ou-spectre-mega-gengar-is-now-banned.3658931/#post-8357495
2020-02-03 17:12:36 -08:00
QuiteQuiet
211cefb262
Fix Healing Wish for Gen 8 ( #6296 )
...
- Healing Wish is not consumed if the Pokemon switching in
has full health and no status condition.
- Being statused with full health will consume the Healing Wish.
- It does not trigger on damage after switching in.
- The effect will be consumed if an injured Pokemon is swapped
into a slot with an active Healing Wish by Ally Switch.
2020-02-01 22:04:21 -08:00
Kris Johnson
4c5640d051
Add February 2020 OMotM and RoA Spotlight ( #6323 )
2020-02-01 15:10:59 +04:00
Guangcong Luo
0e9e68db71
Fix King's Shield shortDesc
2020-01-27 19:05:49 -08:00
Guangcong Luo
4ff0f0bf2e
Update shortDescs for "damaging attacks"
...
Moves like King's Shield, Obstruct, and Mat Block only protect against
non-Status moves; this is now mentioned in shortDescs.
2020-01-27 18:26:57 -08:00
scoopapa
ce6955fe94
Clean Slate Micro Balance Update #1 ( #6304 )
2020-01-23 13:37:37 +04:00
Kirk Scheibelhut
e44a5683c3
Add EBC to Gens 1 and 2 ( #6298 )
...
Also add test for 1000 turn termination behavior.
2020-01-22 14:13:36 -08:00
The Immortal
0b06127638
Gen 5 Randoms: Copy updates from gen 6
2020-01-22 08:22:04 +04:00
The Immortal
38671c67c7
Doubles: Add Gravity Sleep Clause
...
Closes #6299
2020-01-22 07:28:40 +04:00
urkerab
d1a66cbe07
Simplify handling of Encore volatile ( #6292 )
2020-01-20 17:00:37 +04:00
urkerab
351089c3d9
Always use getAbility to get a Pokémon's Ability ( #6293 )
2020-01-18 19:37:01 -07:00
Guangcong Luo
b48733cb7a
Rename resolveTarget -> getRandomTarget
...
Should be much clearer in terms of what it's actually doing.
2020-01-18 15:43:34 -07:00
The Immortal
8f7df1e5c4
Set Genesect drives as past items
2020-01-18 14:17:12 +04:00
The Immortal
38053c0168
Random Battle improvements
2020-01-17 14:05:15 +04:00
urkerab
b589745a25
Typescript move.target ( #6260 )
2020-01-11 09:10:10 -05:00
The Immortal
d70af8e12a
Update Slowpoke data
2020-01-09 20:43:58 +04:00
The Immortal
491e0575e0
Random Battle updates
2020-01-07 22:07:09 +04:00
The Immortal
6b2fb44abb
Set unavailable fossils as "Past" items
2020-01-07 04:17:29 +04:00
The Immortal
0edf3aae55
Correct Zippy Zap effects
2020-01-07 03:56:27 +04:00
The Immortal
cee7c21bc1
Fix Psyduck events
2020-01-07 00:43:59 +04:00
Jacob Ellis Duncan
766dcbc3b4
Update item descriptions ( #6211 )
2020-01-06 12:00:20 -05:00
SalamanderFire
6b2293918f
SSB: More bugfixes/updates ( #6262 )
2020-01-05 22:47:15 -05:00
Guangcong Luo
138fccbaa8
Consolidate more rules into Standard
...
- `Obtainable` and `Team Preview` are now part of `Standard`
- `minSourceGen: 8` is now a part of `-Unreleased` (which is part of
`Obtainable`) in Gen 8. Instead, it's NatDex that overrides it with
`minSourceGen: 1`. This allows `!Standard, Standard NatDex` and
`!Standard NatDex, Standard` to work as intended.
- Duplicate rules are now checked for (does not apply to subrules, so
multiple inheritance is still possible)
- It is now possible to inherit `minSourceGen` from rules.
2020-01-03 23:42:48 -05:00
SalamanderFire
d8a0449702
SSB: Bugfixes and Namechanges ( #6241 )
2020-01-03 18:16:48 -05:00
Kris Johnson
f023c67038
Pet Mod: Fix Purugly and Ludicolo ( #6250 )
2020-01-02 03:48:03 +04:00
The Immortal
be24a4bdf2
Random Battle updates
2020-01-02 02:56:02 +04:00
Kris Johnson
a3d3d71863
Add Pet Mod of the Season ( #6245 )
2020-01-02 02:47:46 +04:00
urkerab
5067f1fefa
Fix displayed target of move-specific immunity in Gen 1 and 2 ( #6244 )
2020-01-01 01:44:33 +04:00
Marty-D
cc4c622e56
Add Sleep Clause Mod back to Standard Gen 4 rulesets
2019-12-31 12:30:25 -05:00
Kris Johnson
59154fadad
Rename Vice Grip to Vise Grip ( #6240 )
2019-12-31 13:56:41 +09:00
urkerab
b437e64efe
Fix tier counting in Gen 5 randbats ( #6234 )
2019-12-29 20:01:59 +04:00
Kris Johnson
6a3945bb18
Custap Berry is released in ORAS and USUM ( #6226 )
2019-12-28 15:41:07 +04:00
The Immortal
519954624b
Re-add gen 7 OMs
2019-12-27 22:38:00 +04:00
urkerab
7152b42daf
Calculate fractional priority once per turn ( #6224 )
2019-12-27 12:42:34 +09:00
The Immortal
4414fab072
BW OU: Remove Sleep Clause
2019-12-27 01:08:47 +04:00
Marty-D
fb430a1552
Revert "Fix Sunflora Gen 2 move legality ( #6223 )"
...
This reverts commit eb6d7d831e .
2019-12-26 10:22:36 -05:00
Marty-D
4c45af4dc3
Don't reveal Abilities against Magic Guard prior to Gen 7
2019-12-26 10:17:38 -05:00
Samantha
eb6d7d831e
Fix Sunflora Gen 2 move legality ( #6223 )
...
Adding 'Sunflora + Razor Leaf + Synthesis'
Sunflora can only learn Razor Leaf at Level 10, after it evolves. It can only learn Synthesis at Level 31, before it evolves. So it can't have both.
2019-12-26 11:46:40 +09:00
The Immortal
a1b502f901
Random Battle improvements
2019-12-25 05:58:16 +04:00
The Immortal
f62ff19e8a
Improve validation for unobtainable Pokemon
...
This merges the Glitch and Pokestar tags into a new Unobtainable tag that defines Pokemon that are only obtainable through hacking (such as Floette-Eternal and Missingno.). These Pokemon are legal in Hackmons of their specific generation only. Custom is used in future gens instead of Past because of National Dex legality.
2019-12-25 00:35:39 +04:00
urkerab
3d38fbc89f
Make semi-invulnerability work in Gen 1 again ( #6215 )
2019-12-24 02:59:42 +04:00
Kris Johnson
e2a811aae2
CAP: Properly handle learnset updates ( #6214 )
2019-12-24 02:49:29 +04:00
The Immortal
5bb8dddad8
Delibird's hidden ability is released
2019-12-20 06:23:53 +04:00
Kris Johnson
23fbcf747b
Update the LGPE moves ( #6178 )
2019-12-16 05:50:31 +04:00
Kris Johnson
cb83dda418
Update Utility Umbrella ( #6127 )
2019-12-13 00:30:57 +09:00
Guangcong Luo
a062a6c96e
Fix Custap Berry
2019-12-12 18:23:52 +09:00
The Immortal
b2c5b31e1d
Random Battle updates
2019-12-12 04:43:31 +04:00
Guangcong Luo
3b86164a77
Fix Quick Claw
2019-12-11 18:12:54 +09:00
420Blazeitt
82d1f8ed92
SSB: dont let glitzer popping call gen 8 moves ( #6171 )
2019-12-10 17:32:18 +04:00
asgdf
97d76831ea
Fix Forretress not showing up in gen 2 randbats ( #6164 )
2019-12-09 16:29:17 +04:00
The Immortal
7dfc381e9b
Leaf Blade + Sucker Punch Shiftry is legal
2019-12-09 05:16:46 +04:00
The Immortal
29fdcc42cf
Update Electric/Grassy/Psychic terrains
2019-12-08 22:35:07 +04:00
ZardMX
3cdebcc3a6
Add Obstruct in list of protection moves ( #6124 )
2019-12-04 10:32:22 -05:00
HoeenHero
fe6ee1339f
Sort battle actions by order instead of priority ( #6143 )
...
This fixes the issues with priority moves in gen 8.
2019-12-04 12:56:50 +09:00
Guangcong Luo
9b943fb62f
Fix Dynamax stat handling
...
We now track `baseMaxhp`, the pre-Dynamax max HP. We also have a new
function `getUndynamaxedHP` for use by moves that use it (famously,
Endeavor).
- `baseStoredStats` is unused outside of the mouseover stats display.
I updated its implementation to reflect this.
- Power Construct doesn't have a defined behavior during Dynamax. I
ended up implementing an approximation of what it should probably do.
- Endeavor, Pain Split, Super Fang, and Nature's Madness now work on
undynamaxed HP.
- Moves that deal or heal percentage damage now do it based on
undynamaxed max HP, other than G-Max Finale.
Fixes #6131
Fixes #6087
2019-12-04 09:25:46 +09:00
The Immortal
a133a5b28b
Fix 4b324e536
...
This reverts the other changes that were related to that commit.
2019-12-02 18:13:08 +04:00
Guangcong Luo
24fe6b8781
Fix Mago/Wiki Berry descriptions
2019-12-02 17:25:40 +09:00
Guangcong Luo
4b324e536e
Revert "Pokedex: Update formes"
...
This reverts commit 302f391381 .
Fixes a bug in 77cca394bd
2019-12-02 13:56:54 +09:00
The Immortal
6055be5624
Random Battle improvements
2019-12-01 21:45:30 +04:00
420Blazeitt
f64bd4e9d3
Defog now removes terrains and G-Max Steelsurge ( #6126 )
2019-12-01 10:18:14 +13:00
Kris Johnson
9b6026af64
Update egg groups for Hawlucha, Bermite, Avalugg, Noibat, and Noivern ( #6122 )
2019-11-30 19:50:23 +13:00
The Immortal
96d9b16a6b
Mix & Mega: Properly allow real megas
2019-11-30 06:15:19 +04:00
The Immortal
1053e80dac
GSC: Move Feraligatr to NUBL
2019-11-30 05:37:24 +04:00
The Immortal
acd111e7d3
Mix & Mega: Allow native megas
2019-11-29 13:20:35 +04:00
Guangcong Luo
903c297b39
Fix Disguise descriptions
...
Fixes #6064
2019-11-29 10:06:20 +13:00
Spandan Punwatkar
3deb1c69c4
Dexsearch: Allow searching national dex ( #6106 )
2019-11-28 12:40:30 -05:00
Spandan Punwatkar
b6b66de896
Update Repo Links ( #6102 )
2019-11-28 12:47:38 +04:00
The Immortal
224465f6f7
Remove Moody Clause from Standard ruleset
2019-11-28 02:52:39 +04:00
HoeenHero
661f52f2c3
Fix crash with Disguise in Gen 7
2019-11-27 08:35:51 -05:00
The Immortal
36b0e6e6a5
Random Battle improvements
2019-11-27 01:57:43 +04:00
420Blazeitt
a10265cb0f
Change the current Game Console ( #6082 )
2019-11-26 16:22:35 -05:00
The Immortal
302f391381
Pokedex: Update formes
...
- Remove prevo from in-battle formes
- Rename Darmanitan-Zen-Galar to Darmanitan-Galar-Zen and update the baseSpecies (this fixes its validation in gen 8 as well)
- Rename Mimikyu-Busted-Totem to Mimikyu-Totem-Busted and change its baseSpecies
2019-11-26 22:56:35 +04:00
HoeenHero
c0c9bca26b
Mark various berries as unreleased in Gen 8
2019-11-26 12:55:49 -05:00
The Immortal
4110ead42b
Fix VGC 17 & re-add US/UM Doubles UU
2019-11-25 20:58:14 +04:00
The Immortal
50b7974f28
GSC: Move Pokemon to NUBL
2019-11-25 06:59:58 +04:00
The Immortal
7cccda3b18
Update Other Metagames
2019-11-25 06:53:08 +04:00
Guangcong Luo
5364c63e23
Introduce item.itemUser
...
`item.itemUser` replaces `item.zMoveUser`, and is a new field
representing a list of possible users of an item, for items that are
restricted to specific species.
`item.zMoveUser` is a base forme for items that affect every forme, and
a forme name otherwise (forme name is currently only used for
`forcedForme` uses).
Arceus is a weird case. Both generic Z crystals and Plates, while
having unique effects on Arceus, also have effects on other Pokémon.
For this reason, Arceus isn't listed as an `itemUser` of either of
these item types - use-cases that want this should also check
`item.forcedForme`.
This is mostly intended to be useful to move-searching and custom
rules (like NatDex, which will only allow past-gen items associated
with removed species).
2019-11-25 15:26:36 +13:00
The Immortal
0f1d2b0b5c
Allow Stick in past gens
2019-11-24 06:29:14 +04:00
Christopher Monsanto
f8fb992888
Restore Searing Shot to past gens ( #6058 )
2019-11-23 10:18:15 -05:00
The Immortal
f4234fd1ff
Update unreleased hidden abilities
2019-11-23 18:54:18 +04:00
The Immortal
030a4f8394
Mr. Mime is available
2019-11-23 04:11:34 +04:00
The Immortal
492f5ac7d5
Remove Moody Clause from Doubles ruleset
2019-11-22 22:38:57 +04:00
The Immortal
0805535b40
Flag rest of the unusable moves as Past
2019-11-22 01:07:05 +04:00
The Immortal
bb370216e0
Set Gems to Past items
2019-11-20 23:23:05 +04:00
The Immortal
1aa1cc3042
Set Castform/Meloetta/Minior formes to Past
2019-11-20 16:01:06 +04:00
The Immortal
90e9d5bb56
Revert "Alolan Vulpix/Diglett are released in Gen 8 ( #6035 )"
...
And also part of de147756d that is not necessary.
2019-11-20 15:19:14 +04:00
Kris Johnson
72272356b8
Alolan Vulpix/Diglett are released in Gen 8 ( #6035 )
2019-11-20 22:48:12 +13:00
Kris Johnson
de147756d7
Mark Alolan formes as Unreleased ( #6034 )
2019-11-20 22:28:20 +13:00
Guangcong Luo
b97b426f26
Fix SSB crash
2019-11-20 21:43:01 +13:00
Guangcong Luo
4a3fd8717e
Update Moody
...
Fixes #6027
2019-11-20 21:28:50 +13:00
The Immortal
068e5e7e8c
Fix Sylveon events
2019-11-19 22:39:48 +04:00
The Immortal
ee5103dbf1
Set Blue/Red Orbs to Past items
2019-11-19 21:47:43 +04:00
The Immortal
d3dee35921
Revert egg groups addition for Megas
...
They don't exist so they don't have these updated egg groups that the base has.
2019-11-19 20:49:58 +04:00
The Immortal
19e832b5f7
Fix Let's Go Random Battle
2019-11-19 20:42:57 +04:00
ParthMan
eb97124c36
Update Egg Groups (Trapinch, Ralts lines) ( #6017 )
2019-11-19 19:56:38 +04:00
Parth Mane
95eace47f9
Update Intimidate Interactions ( #6006 )
2019-11-19 19:34:07 +04:00
Christopher Monsanto
ccd0e34c33
Fix previous gen Gumshoos forme ( #6014 )
2019-11-19 17:31:54 +04:00
The Immortal
d9a617b0e9
Correct Disguise descs
2019-11-19 00:14:36 +04:00
The Immortal
eb905cbe92
Implement Disguise damage
2019-11-18 23:58:00 +04:00
420Blazeitt
77e4d694b9
Disallow Vivillon formes in gen 8 ( #5980 )
2019-11-17 17:53:29 +04:00
Guangcong Luo
4fc49bc7f9
Fix Body Press
...
Fixes #5975
Fixes #5979
2019-11-17 18:47:16 +13:00
The Immortal
f93dbf3948
Clean up previous commit
...
The previous commit added `isNonstandard` where is wasn't required.
2019-11-17 09:44:23 +04:00
420Blazeitt
d9b07bf848
Disallow Arceus, Keldeo, and genesect formes to be used in gen 8 ( #5978 )
2019-11-16 22:59:38 -05:00
The Immortal
a6bd62a51b
Remove unneeded isUnreleased flags for LGPE moves
2019-11-17 05:33:37 +04:00
Guangcong Luo
5bedfe1905
Fix Gorilla Tactics
...
I'm not sure this is how it works, but it at least shouldn't make
dynamax moves auto-fail.
2019-11-17 13:44:22 +13:00
The Immortal
eba141fb94
Correct Magearna-Original tier
2019-11-17 01:05:48 +04:00
The Immortal
48eb3273fb
Fix random6Pokemon crash
2019-11-16 23:44:08 +04:00
The Immortal
22daf5795d
SSB: Inherit from gen 7
2019-11-16 23:24:48 +04:00
The Immortal
0ff1aa7e1c
Fix Manectric events
2019-11-16 23:16:15 +04:00
The Immortal
c1c9f9c376
Gen 7: Fix items mod
...
Sorted it as well.
2019-11-16 22:52:22 +04:00
The Immortal
5fde3799b8
Let's Go/Mix and Mega: Inherit from gen 7
2019-11-16 22:51:53 +04:00
Guangcong Luo
cc84d1c4f1
Fix some Z crystals being allowed
2019-11-17 07:26:10 +13:00
Guangcong Luo
0bb2e58efd
Fix Dynamax move base power
...
Dynamax moves now have the correct base power, and now correctly only
deal 25% usual damage against Protect.
2019-11-17 06:32:17 +13:00
asgdf
f498a03da6
Fix Pokemon in pastgen randbats sometimes having no moves ( #5970 )
2019-11-16 21:25:41 +04:00
Guangcong Luo
04799f5c1e
Restrict Z-crystals and mega stones to Gen 7
2019-11-16 20:00:53 +13:00
The Immortal
de7c22bc86
Allow Double Iron Bash in Hackmons
2019-11-16 09:13:58 +04:00
HoeenHero
6dc80978e3
Suppress strange error with SSB Z-Move checks
2019-11-16 00:06:01 -05:00
The Immortal
526ad4ce3a
Past gens: Fix Jirachi legality
2019-11-16 08:59:38 +04:00
Kris Johnson
d73f05dc0c
Check if the target is Dynamaxed for weight moves ( #5957 )
2019-11-15 23:22:24 -05:00
HoeenHero
9ecbcabee9
Dynamaxing ( #5946 )
2019-11-15 21:33:10 -05:00
Guangcong Luo
10062ece4f
Fix Koffing/Weezing Gen 7 Abilities
...
PS apparently doesn't have gen-accurate Ability data for Pokémon in
Gen 3 that gained Abilities between Gen 3 and Gen 4 (like Pidgeot
still has Tangled Feet in Gen 3), but that will have to be left for
a future commit.
2019-11-16 14:39:14 +13:00
The Immortal
bb25774752
Update unreleased hidden abilities
2019-11-16 02:34:17 +04:00
The Immortal
ddf510c2a9
Random Battle updates
2019-11-16 01:00:19 +04:00
The Immortal
99a1cc220a
Update Pikachu formes
2019-11-16 00:06:33 +04:00
Guangcong Luo
801af59b98
Fix remaining build errors
...
- Centiskorch was misspelled in formats-data, causing a crash in the
egg validator
- A few validation errors were due to Gen 6 not inheriting from Gen 7,
Gen 7 not having a scripts file, and Gen 8 having a gen of 7
- Intimidate (Gen 7) wasn't inheriting from Intimidate (Gen 8), giving
it no name, causing a few validation errors
(Technically not a build error, but I also added Keen Eye to the list
of Intimidate immunities, as reported by SadisticMystic.)
- A lot of tests relied on Teleport always failing; these have been
switched to Gen 7 or swapped Teleport for Celebrate
- Inverse Mod suddenly stopped working; its implementation was a huge
hack and I can't figure out what went wrong, so I've switched it to
using the same system the other mod tests use. It's still a huge
hack, but I don't have the free time to fix it right now.
2019-11-16 06:08:48 +13:00
The Immortal
68d73b77f0
Update new ability ratings
2019-11-15 20:15:23 +04:00
The Immortal
a0e94eb2ca
RandomTeams mods: Shorten path
2019-11-15 19:50:17 +04:00
The Immortal
85356c3a43
Clean up data
...
- Add missing flags to FormatsData
- Remove unnecessary flags and data
- Remove unreleased abilities in past gens
2019-11-15 15:40:08 +04:00
The Immortal
1caf446e58
Move RandomTeams to gen 7 mod
2019-11-15 15:36:22 +04:00
Kris Johnson
f91c7471c5
Add Gen 8 Moves
2019-11-15 22:02:24 +13:00
urkerab
e7aee8d9cc
Some fixes to Gen 7 formats data
2019-11-15 22:02:24 +13:00
420Blazeitt
723e256aec
Add Gen 8 Items
2019-11-15 22:02:15 +13:00
HoeenHero
5144fc32d7
Add Gen 8 Abilities
2019-11-15 22:01:54 +13:00
Kris Johnson
46ad0bccd7
Add Gen 8 Pokemon
2019-11-15 22:01:36 +13:00
urkerab
4ab68a3440
Refactor Toxic from Poison types against semi-invulnerability ( #5930 )
2019-11-06 19:51:22 -05:00
Lusamine
2e09c83906
SSB: Namechange Akasianse to Felucia, promote Aeonic ( #5932 )
2019-11-05 13:27:15 -05:00
HoeenHero
762b04ea34
Update position when swapping in Wonder Trade
...
Closes #5931
2019-11-05 13:09:32 -05:00