Commit Graph

7793 Commits

Author SHA1 Message Date
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
4043f6e118
Fix bugs from recent restrictions update (#6967) 2020-07-06 15:54:14 -07:00
Marty-D
ef9bd7faf4 Add Doubles OU Dynamax Level 0 ladder 2020-07-06 14:33:47 -04:00
The Immortal
4a1173aff8 Fix MBH alias 2020-07-06 16:02:13 +04:00
ACakeWearingAHat
f9699c1be0
Random Doubles Updates (#6962) 2020-07-06 12:48:48 +04:00
Kris Johnson
12440ba25d
Update UUBL and RUBL (#6964)
* Move Aegislash, Conkeldurr, and Gengar to UUBL

https://www.smogon.com/forums/threads/smogon-happenings-post-here-for-publicity-yes-you.3520642/page-212#post-8528621

* Move Drampa, Indeedee-F, Virizion, Raichu-Alola, and Ninetales to RUBL

https://www.smogon.com/forums/threads/np-ru-stage-2-lights-out.3666733/#post-8528629
2020-07-05 23:43:09 -04: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
urkerab
6fb5b4e90d
Allow custom formats (e.g. for tours) to modify format restrictions (#6958) 2020-07-05 14:32:30 -07: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
Spandan Punwatkar
6b30367410
Update Aliases (#6956)
@TheImmortal
2020-07-04 21:17:33 +04:00
The Immortal
7f0e211855 Cap Pikachu learn egg moves 2020-07-04 15:52:44 +04:00
The Immortal
45329dd44c Gen 3: Random Battle updates 2020-07-03 14:30:12 +04:00
The Immortal
6c6ac6c433 Update tiers
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/post-8525079
2020-07-03 01:11:16 +04:00
The Immortal
735c59199f Move Tauros and Vanilluxe to NUBL 2020-07-03 00:27:21 +04:00
The Immortal
a77059c0ef Random Battle: Fix Heracross and Clawitzer 2020-07-02 23:23:09 +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
The Immortal
a77c0e5034 RU: Unban Centiskorch 2020-07-02 02:27:07 +04:00
The Immortal
4bca7daea5 Update Random Battle levels 2020-07-01 23:14:38 +04:00
Kris Johnson
68fe8ba9e4
July tier shifts (#6941) 2020-07-01 11:00:14 -07:00
The Immortal
734edb3c61 Randoms: Improve Altaria/Lugia and fix Hitmonlee 2020-07-01 15:30:45 +04: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
The Immortal
10d62518cc Correct f119d911e 2020-07-01 02:34:32 +04:00
Marty-D
5f3cca0470
"Drop" Gigantamax to Doubles OU for testing
They are still actually banned via Dynamax Clause
2020-06-30 13:30:30 -04:00
Marty-D
f037a0da85
Add Dynamax level mod for testing in Doubles OU
and fix the current HP calculation
2020-06-30 10:56:15 -04:00
urkerab
97d4d973bb
Adjust fractional priority for very latest research (#6931) 2020-06-30 07:51:01 -07:00
The Immortal
f119d911e7 Add shiny Zeraora event 2020-06-30 13:25:19 +04:00
urkerab
17e4cb49a4
Adjust fractional priority for latest research (#6928) 2020-06-29 12:09:10 -07:00
The Immortal
f739d546f7 Alolan Exeggutor learns Draco Meteor in gen 8 2020-06-29 21:48:58 +04:00
The Immortal
25198a6917 Randoms: Fix Miltank, Stoutland, and Rillaboom 2020-06-29 18:30:21 +04:00
Kris Johnson
2035ec27e6
Move Thievul to PUBL (#6924)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8520811
2020-06-29 02:17:25 +04:00
The Immortal
36cac2339a Random Battle updates 2020-06-29 00:05:46 +04:00
The Immortal
4769823d25 Revert part of 0e0ad1f3d8 2020-06-29 00:02:34 +04:00
Marty-D
b972fada6d Learnsets: Applin learns Grassy Glide 2020-06-27 11:20:09 -04:00
Marty-D
2cf9631ed5 Update some descriptions
and fix Corrosive Gas interaction with Sticky Hold
2020-06-27 11:15:40 -04:00
The Immortal
7bf8639ae9 Fix Galarian Slowbro's types 2020-06-26 17:38:09 +04:00
urkerab
f69ebf4f77
Fix Gen 3 Metal Coat's description (#6919) 2020-06-26 04:52:42 -07:00
Kris Johnson
28a4a9a91e
Fix STABmons Move Legality (#6918) 2020-06-25 16:12:57 -07:00
Marty-D
910bdaf1e2
Update Quick Draw 2020-06-25 10:53:51 -04:00
ACakeWearingAHat
e0ce96fa46
Random Doubles Update (#6909) 2020-06-25 14:55:24 +04:00
The Immortal
8550766299 Learnsets: Add missing tutor moves 2020-06-25 12:43:53 +04:00
Kris Johnson
0e0ad1f3d8
Fix some National Dex mechanics (#6914) 2020-06-24 15:23:05 -07:00
Marty-D
508650fb7e
Fix DLC moves and update descriptions 2020-06-24 16:19:19 -04:00
The Immortal
2e1ae4d4ea Add alias for Urshifu-Rapid-Style 2020-06-24 16:29:59 +04:00
Kris Johnson
42abd49d27
LC: Unban Vulpix (#6908) 2020-06-24 10:02:29 +04:00
Marty-D
a6216eb6cb
Fix Poltergeist 2020-06-23 18:29:02 -04:00
The Immortal
aa906d0f68 Add missing move data 2020-06-23 15:05:08 +04:00
The Immortal
d842f89e92 Pikachu-World is unreleased 2020-06-23 15:02:15 +04:00
The Immortal
1da571af74 Cap Pikachu learn Rising Voltage 2020-06-23 15:02:00 +04:00
Marty-D
263380ae03
Fix Gen 8 starters' G-Max Move powers 2020-06-22 18:16:04 -04: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
Marty-D
65d2bb5d0c
Fix Shell Side Arm 2020-06-22 15:02:48 -04:00
The Immortal
fb2ac9502a Random Battle updates 2020-06-22 15:24:43 +04:00
The Immortal
d5f86cad02 Fix Surging Strikes' Max move power 2020-06-22 13:36:32 +04:00
The Immortal
8897d90c7f Dynamax doesn't end Illusion 2020-06-22 13:14:39 +04:00
Instruct
bec4f81fad
Ban Indeedee-M from RU (#6902) 2020-06-21 23:45:55 -07:00
Kris Johnson
676554b757
Update tiering (#6901)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8513440
2020-06-21 23:45:41 -07:00
Kris Johnson
12f69bcd4e
Update tiers for various Pokemon (#6899)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-indeedee-f-and-porygon2-banned.3660646/page-3#post-8512853
2020-06-21 22:57:54 -04:00
Kris Johnson
2f4c792b32
The Alolan Sandshrew line learns Steel Beam (#6898) 2020-06-21 19:21:16 -04:00
fart
357e4764a3
Fix Rising Voltage (#6895) 2020-06-21 19:19:53 -04:00
fart
e559d49ece
Fix Kubfu evolution method (#6894) 2020-06-21 19:19:18 -04:00
The Immortal
e706503015 Fix build 2020-06-21 19:04:52 +04:00
The Immortal
572d3b1ca0 Hide Urshifu forme in Team Preview
https://www.smogon.com/forums/threads/sword-shield-battle-mechanics-research.3655528/post-8511700
2020-06-21 16:10:09 +04:00
fart
50797c8c54
Rising Voltage boost applies if target is grounded (#6886) 2020-06-20 20:16:33 -07:00
ACakeWearingAHat
baf04e8315
Add shorter alias for Galarian Zen Darm (#6888) 2020-06-21 04:25:11 +04:00
The Immortal
ed7cb06d22 Random Battle improvements 2020-06-20 14:26:42 +04:00
Kris Johnson
caf3c1045d
Fix Terrain Pulse and Expanding Force (#6884) 2020-06-20 11:53:03 +04:00
The Immortal
8071b8dac8 Correct Poltergeist mechanics
Also changed Aura Wheel to use `onTry` as this is consistent with other moves such as Hyperspace Fury.
2020-06-20 11:26:07 +04:00
The Immortal
faea375c2f Fix Gallade's learnset 2020-06-20 11:17:40 +04:00
The Immortal
4c93edee77 Terrain Pulse is boosted by Mega Launcher 2020-06-20 09:21:15 +04:00
Kris Johnson
4efb4b61f3
Move Chansey to UUBL (#6882)
https://www.smogon.com/forums/threads/np-ss-uu-stage-5-change-is-gonna-come-chansey-banned.3666248/#post-8510094
2020-06-20 08:15:19 +04:00
The Immortal
5018792e23 Correct Magearna-Original's learnset 2020-06-20 01:14:57 +04:00
Marty-D
baed323713
Pass determined priority to Max Moves 2020-06-19 10:39:08 -04:00
The Immortal
58206586e5 Random Battle updates 2020-06-19 18:00:51 +04:00
Marty-D
0ebf03ee82
Fix Max Guard interaction with Unseen Fist 2020-06-19 09:59:49 -04:00
The Immortal
d26e8bc1af Learnsets: Add missing Draco Meteor 2020-06-19 17:16:49 +04:00
The Immortal
13fcaca463 Magearna-Original is DUber 2020-06-19 16:55:31 +04:00
The Immortal
6ef15d4a9b Fix Adrenaline Orb 2020-06-19 16:52:56 +04:00
Kris Johnson
9981b8ecfe
HA Boltund, Thievul, Greedent, Dubwool (#6877) 2020-06-19 00:12:52 -07:00
Marty-D
a50f63078a
Fix Coaching target 2020-06-18 18:31:09 -04:00
Kris Johnson
813a84349e
Fix Quick Draw (#6872) 2020-06-18 18:20:52 -04:00
fart
7d10ed89e7
Fix Steel Roller (#6870) 2020-06-18 17:54:12 -04:00
Marty-D
8035c72259
Fix Scale Shot 2020-06-18 16:42:42 -04:00
The Immortal
3aacc62d0a Fix Poltergeist 2020-06-19 00:28:51 +04:00
The Immortal
0e86997b01 Expanding Force has 10 PP 2020-06-18 22:15:59 +04:00
The Immortal
95dd496556 Move Magearna to Doubles Uber 2020-06-18 21:40:02 +04:00
fart
37dd971753
Add Venusaur-Gmax's Gmax Move (#6869)
Right now Venusaur-Gmax isn't considered a Gmax Pokemon because its move hasn't been specified.
2020-06-18 21:05:41 +04:00
The Immortal
47e1402633 Add missing tutor moves 2020-06-18 18:32:20 +04:00
The Immortal
fad340bcb9 Add new PU bans 2020-06-18 17:45:44 +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
The Immortal
7ece1f3ef3 Update Magearna-Original event data 2020-06-18 15:45:27 +04:00
The Immortal
489f266c43 Add missing tutor moves 2020-06-18 15:33:29 +04:00
The Immortal
a2393dfd2a Fix learnsets 2020-06-18 15:26:40 +04:00
Instruct
2c1b52a40c
Fix Cosmog's learnset (#6864) 2020-06-18 15:12:40 +04:00
Ocean-ey
9f4b261f5a
Fix Shell Side Arm (#6863)
Shell Side Arm's currently states and functions as "Physical if target Def > Sp. Def.", contrary to the ingame description that it will use whichever stat is more effective. (If it was physical when Def was higher, the damage would be LESS effective than if Sp. Def was used.)
2020-06-18 14:10:22 +04:00
LegoFigure11
79f5664f71
Fix Kubfu Base Stats (#6866)
See datamine: 3cb6be3fbd/Pokemon%2520-%2520Sword%25201.2.0.txt
2020-06-18 14:09:12 +04:00
Kris Johnson
875630560b
Move Chansey to RUBL (#6865) 2020-06-18 14:07:21 +04:00
Kris Johnson
4156eef05d
Fix various Isle of Armor DLC moves (#6862) 2020-06-18 00:25:26 -07:00
Kris Johnson
ed98d2bbcf
Move Chansey to NUBL (#6861) 2020-06-17 20:54:51 -07:00
HoeenHero
b61afa2cde Readd Kubfu event level & mis comments 2020-06-17 23:26:14 -04:00
Kris Johnson
45ed6205f0
Fix Zarude-Dada, Galarian Slowpoke, and Galarian Slowbro (#6859) 2020-06-17 22:42:58 -04:00
HoeenHero
6878d839dd Fix accidental learnset merges 2020-06-17 22:40:00 -04:00
Kris Johnson
6162c850cb
Fix Poltergeist and Triple Axel (#6857) 2020-06-17 18:44:02 -07:00
Kris Johnson
817a3dd556
Prevent Megas from appearing in teambuilder (#6856) 2020-06-17 21:08:14 -04:00
Kris Johnson
c34010c00f
Fix Kubfu's legality (#6855) 2020-06-17 20:59:37 -04:00
Kris Johnson
61a58739f0
Fix Scale Shot and Triple Axel (#6853) 2020-06-17 17:38:36 -07:00
HoeenHero
e2d332f32c
Isle of Armor: Update Learnsets (#6854) 2020-06-17 17:38:04 -07:00
Kris Johnson
dbb397bfb6
Correct some of the DLC moves (#6852) 2020-06-17 16:09:37 -07:00
Kris Johnson
4a80a56193
Update evolution methods (#6851) 2020-06-17 15:53:47 -07:00
Kris Johnson
e20178d69d
Isle of Armor: Pokemon (#6839) 2020-06-17 23:37:14 +04:00
The Immortal
a48a0e502f Add Magearna-Original event data 2020-06-17 22:35:06 +04:00
The Immortal
f37d7471c3 Random Battle: Set improvements 2020-06-17 22:09:03 +04:00
The Immortal
d80416d6d2 Correct Pokemon tiers
- New Pokemon start in DOU as well
- Scyther and Tangela are banned from LC
- Mageara-Original is legal
2020-06-17 22:07:43 +04:00
Kris Johnson
774c9bae34
Isle of Armor: Abilities (#6840) 2020-06-17 22:05:55 +04:00
Kris Johnson
6b8826df58
Isle of Armor: Moves (#6841) 2020-06-17 22:02:25 +04:00
The Immortal
567451a73c Update available Pokemon in Sw/Sh
And add Random Battle moves for them as well.
2020-06-17 20:51:34 +04:00
The Immortal
98e9bd2f8e Add new data for Slowpoke lines 2020-06-17 19:21:35 +04:00
The Immortal
472688ef33 Update moves usable in Sw/Sh 2020-06-17 18:45:20 +04:00
Kris Johnson
b33c6a85ba
LC: Remove suspect notice and ban Chlorophyll (#6850) 2020-06-17 08:14:52 +04:00
Enigami
21685eb661
Fix various Stadium issues (#6838) 2020-06-16 14:27:09 -07:00
Enigami
832887402f
Implement Stadium Sleep Clause (#6834) 2020-06-14 19:14:21 -07:00
The Immortal
24b2228009 Update CAP 1v1 sets 2020-06-14 10:23:18 +04:00
Kris Johnson
3228f91fbc
Fix uncommon evolution methods (#6830) 2020-06-13 12:46:21 -07:00
Marty-D
382ca76f2c Add CAP 27 Astrolotl 2020-06-12 14:30:40 -04:00
TheMezStrikes
589b92cd9e
CAP: Volkraken and Volkritter are gen 6 (#6829) 2020-06-12 10:08:20 -07:00
The Immortal
c7fdeb9867 Random Battle updates 2020-06-11 13:11:44 +04:00
Mia
6839a1f4db
Add a library for utility functions (#6817) 2020-06-09 22:06:43 -07:00
Kris Johnson
4908ee1343
Move Melmetal to DUber and remove suspect notice (#6818)
* Move Melmetal to DUber and remove suspect notice

https://www.smogon.com/forums/threads/ss-dou-melmetal-voting.3665737/post-8495347

* Update formats.ts
2020-06-08 11:03:58 +04:00
Kris Johnson
86f7aafc6b
Move Galarian Rapidash and Golurk to PUBL (#6816)
https://www.smogon.com/forums/threads/np-pu-stage-1-la-devotee-golurk-and-gapidash-banned.3661966/page-4#post-8494713
2020-06-07 16:58:11 -07:00
DeltaCoderr
f447333bdd
SSB: Batch Update (#6797) 2020-06-07 12:12:18 -07:00
urkerab
32d84a1d1a
Correctly attribute target with full HP (#6807) 2020-06-06 05:11:27 -07:00
Guangcong Luo
287743c83b Fix Pumpkaboo CC1v1 crash
This will probably need to be less hardcoded in the future, but
for now this is fine.

A better solution would involve revising `getLearnsetData` to be
able to do these things.
2020-06-04 12:21:25 -04:00
The Immortal
a258a24ff9 Challenge Cup: Fix Pumpkaboo-Super and Zygarde-10% 2020-06-04 20:18:16 +04:00
urkerab
a21c64fd10
Back out erroneous change from 1fa9e14 to fix After You regression (#6799) 2020-06-04 06:52:55 -07:00
The Immortal
390e8b8d4f Random Battle updates 2020-06-04 17:02:34 +04:00
The Immortal
0199852386 Gen 3: Random Battle improvements 2020-06-04 16:57:55 +04:00
Kris Johnson
ff1a7bcc1a
Fix crash from adding Two vs Two to triples formats (#6801) 2020-06-04 16:11:34 +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
The Immortal
e239688e2f Prevent crash with One vs One rule in random doubles 2020-06-03 00:33:43 +04:00
The Immortal
71d31692af Random Battle updates 2020-06-03 00:31:07 +04:00
Kirk Scheibelhut
89968b315e Ban Haxorus from UU and remove suspect notice
https://www.smogon.com/forums/threads/ss-uu-suspect-process-stage-4-haxorus.3665399/page-3#post-8488182
2020-06-02 09:48:07 -07:00
PartMan
e1a26fc0ef
Hidden Ability Starters (#6790)
Libero is gonna be fun.
2020-06-02 20:00:10 +04:00
Guangcong Luo
4f790cf04f Validate learnset order 2020-06-02 01:02:01 -07:00
Guangcong Luo
36941fe898 Add Learnsets validator
I didn't have time to fix all the errors the validator found, but I
fixed half of them.
2020-06-02 00:38:56 -07:00
PartMan
c8a471963e
Fix Gourgeist / Type: Null Doubles Sets (#6788)
(i) Gourgeist can't learn Shadow Claw.
(ii) I was also asked by A Cake Wearing A Hat to remove Type: Null's entry from Doubles.
2020-06-02 11:34:09 +04:00
Kris Johnson
960721aef6
Fix Mandibuzz's Gen 5 tier (#6785) 2020-06-01 22:21:34 -07:00
Kris Johnson
2d2d15018d
Add June 2020 OMotM, RoA Spotlight, and Tier Shifts (#6783) 2020-06-01 21:00:44 +04:00
Kris Johnson
4db979a313
Fix misspelled instances of facade in learnsets (#6779) 2020-05-31 10:22:57 -07:00
Kris Johnson
5f724397fc
Make Species#nfe work for previous generations (#6776) 2020-05-30 21:36:47 -07:00
SSlayer9
7f3b464bc2
Update Heal Bell interaction with Soundproof (#6771) 2020-05-30 16:04:57 -04:00
ACakeWearingAHat
8e509a8f83
Random Singles & Doubles updates (#6769) 2020-05-30 12:30:08 +04:00
Guangcong Luo
54974b8d56 Improve Pursuit desc 2020-05-29 19:04:12 -07:00
urkerab
fc6e4b82ae
Disguise breaking prevents critical hits (#6766) 2020-05-29 18:57:39 -07:00
urkerab
d3a3666e85
Fix bugs caused by not specifying effectiveness priority (#6765)
Inverse Mod needs to go first, to calculate the negated effectiveness.
Disguise goes second, to suppress effectiveness.
Delta Stream goes third, to weaken moves super-effective against Flying types.
Tar Shot goes last, to make its victim weak to Fire type moves.

This allows the existing test for Delta Stream with Tar Shot to pass.
Additionally a new test for Delta Stream with Inverse Mod now passes.
A test for Flying Press with Inverse Mod is also included.
2020-05-29 16:55:42 -07:00
ACakeWearingAHat
5a867d2feb
Random Battle: Fix Aegislash-Blade (#6763) 2020-05-30 01:24:02 +04:00
urkerab
7dd6e8bd64
Fix doubled effectiveness for victims of Tar Shot (#6566) 2020-05-29 01:27:53 -07:00
The Immortal
4091fe65ce Random Battle updates 2020-05-29 03:16:24 +04:00
Kirk Scheibelhut
adfc77246b EBC: Entrainment/Skill Swap inflicts staleness 2020-05-28 12:05:16 -07:00
The Immortal
2f4c728b69 Random Battle improvements 2020-05-28 06:49:00 +04:00
The Immortal
d8364dc952 Gen 3: Random Battle updates 2020-05-28 02:08:28 +04:00
ACakeWearingAHat
527815bfcc
Random Doubles Update (#6741) 2020-05-28 01:31:12 +04:00
HoeenHero
148570ddb5 Fix Emergency Exit Bug
Fixes 0450e8cb65
2020-05-27 10:11:04 -04:00
Sigmatecture
18b8d019ed
Set Random Battle singles levels by species (#6706) 2020-05-27 00:31:41 +04:00
Kris Johnson
437dc16aa9
Gmax Meowth is available from raids (#6746) 2020-05-26 01:47:42 -07:00
fart
0450e8cb65
Fix Life Orb + Emergency Exit interaction (#6738) 2020-05-25 14:14:59 -07: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
Kris Johnson
7d85771d05
Gmax Eevee is no longer event-only (#6719) 2020-05-19 18:41:51 +04:00
Leonard Craft III
c263038197
Fix Trace's interaction with Neutralizing Gas (#6712) 2020-05-18 09:19:11 -07:00
Kris Johnson
f43f5ffcf2
Move Inteleon and Slurpuff to RUBL (#6713)
https://www.smogon.com/forums/threads/np-ru-stage-1-i-lost-something-in-the-hills-inteleon-and-slurpuff-banned-see-post-104.3659533/page-5#post-8470839
2020-05-18 05:51:35 +04:00
Kirk Scheibelhut
8a6797da07
Correct the Farfetch’d's line's names (#6682)
From Anubis and Marty's research, Farfetch’d should be using U+2019.
With the exception of Gen 5 and Pokemon Home it seems like it was
always meant to be the 'smart quote' symbol (though using a custom
encoding scheme in earlier gens).
2020-05-16 09:53:40 -07:00
Guangcong Luo
381bd7508a Clarify species limit and requiredItem errors 2020-05-16 12:30:41 -04:00
Konrad Borowski
b0f0cb28a8
Gen I: Add HP hint for Rest (#6701) 2020-05-16 08:34:22 -07:00
The Immortal
1fd32a0dac CAP 1v1: Fix Cawmodore's EVs 2020-05-16 10:46:57 +04:00
The Immortal
77bd8d7366 CAP 1v1: Set corrections 2020-05-16 09:50:51 +04:00
The Immortal
4fb3bc7d98 Fix Hackmons Cup 2020-05-16 09:27:45 +04:00
The Immortal
f8065cc9bb Improve ec4bb6cb4
Removed the unnecessary arrays in moves. Also fixed the thread link.
2020-05-16 08:45:18 +04:00
The Immortal
36d8d9b45a Fix typo in CAP 1v1 sets 2020-05-16 08:31:02 +04:00
The Immortal
ab1565c136 Fix Xerneas-Neutral crashes 2020-05-16 08:22:07 +04:00
The Immortal
0e80285a5e Gen 3 Random Battle: More improvements 2020-05-16 08:13:27 +04:00
The Immortal
ec4bb6cb4d Add CAP 1v1 format 2020-05-16 08:11:54 +04:00
Marty-D
0d8c840ce2
Fix Taunt interaction with Me First
The better implementation would be a check for zero `basePower`, but that's for another refactor.
2020-05-15 17:27:54 -04:00
Marty-D
dd53650f78 Fix G-Max Centiferno/Sandblast binding
+1 Anubis/DaWoblefet
2020-05-15 16:25:19 -04:00
Marty-D
6311dd7f0b Fix Binding Band implementation 2020-05-15 16:20:59 -04:00
Marty-D
4f325648af
Fix Eject Pack interaction with Parting Shot
+1 SadisticMystic
2020-05-15 11:37:03 -04:00
Marty-D
31ed3f33ec
Gen VII: Fix Skill Swap description 2020-05-15 11:33:39 -04:00
Marty-D
1b62902b5c
Fix Mirror Armor interaction with minimum stat stages
+1 DaWoblefet
2020-05-15 09:21:46 -04:00
Kirk Scheibelhut
2159785579
Correct Xerneas formeOrder oversight (#6683)
Add Xerneas-Neutral forme missed in #6669
2020-05-14 16:19:17 -07: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
fba8410985 One vs One: Prevent crash 2020-05-14 19:35:10 +04:00
The Immortal
4dfb21c2e8 Random Doubles: Fix rejections 2020-05-14 08:48:35 +04:00
Kirk Scheibelhut
7d5975b8c7 Correct Lightning Rod's number 2020-05-13 21:26:09 -07: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
ACakeWearingAHat
54fb0bea04
Random Doubles updates (#6654) 2020-05-14 01:42:04 +04:00
The Immortal
cecff54e00 Add Two vs Two rule
And change One vs One rule to allow any number of Pokemon in Team Preview.
2020-05-14 00:25:45 +04:00
The Immortal
d085c30856 Fix Struggle recoil under Dynamax 2020-05-13 22:47:24 +04:00
The Immortal
ae24249628 Add One vs One rule 2020-05-13 22:21:27 +04:00
HoeenHero
f9c8c025f5 Correct when Magnemite learns Magnet Bomb in Gen 5 2020-05-13 00:37:02 -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
Kris Johnson
56fbb0201a
Pikachu-Gmax is now available from raids (#6679)
* Pikachu-Gmax is now available from raids

* Volt Tackle is legal on Gmax Pikachu now
2020-05-12 06:14:57 +04:00
Kris Johnson
e44b0c9211
Move Appletun, Silvally-Fighting, and Silvally-Poison to PUBL (#6676)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8464064
2020-05-11 17:06:59 -04:00
Marty-D
da377cdd05 Add latest Eevee and Pikachu events 2020-05-11 16:58:40 -04:00
Kris Johnson
9f5d1bc681
Fix Dynamax Clause validation (#6674) 2020-05-10 14:42:53 -07: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
Kris Johnson
8faaa45eb8
Gen 8 CAP learnset updates (#6636) 2020-05-04 19:05:28 +04:00
Leonard Craft III
04e40f0864
Update Struggle's Gen 4 description (#6651) 2020-05-03 17:35:12 -07:00
Guangcong Luo
e20a71206e Fix Struggle recoil rounding in Gen 4
Thanks to DaWoblefet for finding this mechanic.
2020-05-03 16:56:37 -07:00
Kris Johnson
66b9ebe189
Move Linoone to NUBL (#6649)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-see-post-10.3660646/page-2#post-8453880
2020-05-03 15:58:22 -07:00
The Immortal
c40d9dfd99 Fix Struggle interaction with Dynamax
https://twitter.com/Sibuna_Switch/status/1256055062469607426?s=20
2020-05-04 01:00:59 +04:00
The Immortal
281106bac1 Random Doubles updates 2020-05-03 02:50:01 +04:00
The Immortal
fc62da963a Random Battle: Adjust Pokemon rates 2020-05-03 02:31:15 +04:00
The Immortal
71e9f94c5d Meowstic-F is PU 2020-05-03 02:05:20 +04:00
Guangcong Luo
6c1992b067 Fix Metronome blacklists 2020-05-02 00:16:55 -07:00
Guangcong Luo
5aa5f53089 Fix Shields Down for cosmetic formes 2020-05-01 23:30:04 -07:00
urkerab
1eff20a530
Fix G-Max Chi Strike's effect on Crit Ratio (#6639) 2020-05-01 21:14:01 -07:00
Kris Johnson
6ee3826d75
Add missed May tier changes (#6638) 2020-05-02 01:18:59 +04:00
The Immortal
7cc55fc1cb Usage-based tier update for May 2020-05-02 01:06:30 +04:00
Guangcong Luo
23b59de881 Fix Metronome 2020-05-01 13:22:16 -07:00
The Immortal
864bddfaf2 Challenge Cup: Fix Hidden Power check 2020-05-01 21:11:13 +04:00
Guangcong Luo
7aa42b1212 Remove Dex.getOutOfBattleSpecies
Literally every current use is a bug.
2020-04-30 23:29:20 -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
Guangcong Luo
2b83a5ed51 Support Unown formes
This adds Unown formes as true cosmetic formes, and also applies word
filters to them.
2020-04-30 14:16:56 -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
8884e9d377 Fix Alcremie cosmetic forme names 2020-04-28 17:40:41 -07:00
Guangcong Luo
1e9d9ef7c3 Update FORMES.md documentation for changesFrom
(Also clarify Gigantamax information.)
2020-04-28 17:40:23 -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
Kris Johnson
1bb842e099
Convert evos/prevo/etc from IDs to names (#6625) 2020-04-28 16:02:50 -07:00
urkerab
1ede5508aa
Moxie and Beast Boost should have one combined boost for all fainted Pokémon. (#6557)
In addition, they should not activate for a spread move that ends the game.
(This contrasts with Soul-Heart, which will activate until the last target.)
2020-04-27 15:44:33 -07:00
Kris Johnson
839c835752
Move Venusaur to UUBL (#6626)
https://www.smogon.com/forums/threads/np-ss-uu-stage-3-as-the-world-falls-down-mamoswine-banned.3661513/page-5#post-8445057
2020-04-27 16:47:11 -04:00
urkerab
8476a24318
Shell Trap should not power up if hit by a Z- or Max move (#6622) 2020-04-27 08:04:49 -07:00
Guangcong Luo
e8e3493c40 Fix Struggle activation conditions
PS wasn't correctly detecting `disabled: 'hidden'` moves as disabled
for the purposes of detecting Struggle activation. This has been fixed.

Thanks to DaWoblefet for unit tests!

Fixes #6620
2020-04-26 17:52:06 -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
Kris Johnson
979be98574
Refactor inheritsFrom to changesFrom (#6611) 2020-04-26 14:44:25 -07:00
ACakeWearingAHat
c7431fb8cd
Random Doubles update (#6618) 2020-04-26 06:01:10 +04: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
c8b4213e16
Change Clangorous Soul self damage from 1/3 -> 33% (#6608)
Per SadisticMystic:

"https://docs.google.com/spreadsheets/d/15r_-iUngMDoA9ux7tCkUJLJVBeQhpIzEH7rju9fgWOQ/edit
the "Moves" tab is a dump of move data from the game, CS has a "-33"
listed under the Heal% field, just like Double-Edge has under
Drain%"
2020-04-25 13:33:16 -04:00
urkerab
554cb570a7
Dancer should not activate if the holder fainted (#6613) 2020-04-25 09:55:13 -04:00
Kirk Scheibelhut
66e4bac94c
Give Struggle 10 PP in Gen 1 (#6609) 2020-04-25 09:53:58 -04:00
The Immortal
d2bd85aede Random Battle improvements 2020-04-25 16:14:50 +04:00
The Immortal
7441eb6ea6 Random Doubles: Update level formula 2020-04-25 15:03:18 +04:00
Kris Johnson
0b014096f9
Weezing's hidden ability is released (#6610) 2020-04-25 05:32:52 +04:00
HoeenHero
a8903eeec0 STABmons: Prevent infinite loop when validating moves 2020-04-24 21:08:29 -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
Kris Johnson
1cbaeef826
PU: Ban Silvally-Flying, Drought, and Heat Rock (#6606)
* PU: Ban Silvally-Flying, Drought, and Heat Rock

* Update formats.js

https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8440324
2020-04-24 13:52:21 -07:00
Marty-D
abe7b58419
Fix Steel Beam description
Nice catch @scheibo!
2020-04-24 15:51:02 -04:00
Marty-D
e03d6e9020
Gen III: Remove obsolete code 2020-04-24 15:03:04 -04:00
The Immortal
f77432d7fc Random Battle: Improve Raichu-Alola 2020-04-24 21:58:03 +04:00
Literally who
4ea14070b9
Gen 8 Random Doubles Update (#6596) 2020-04-24 21:45:59 +04:00
The Immortal
3925dc304d Increase Punk Rock's rating 2020-04-24 20:58:12 +04:00
The Immortal
a59bf5e270 Random Battle: Fix Noctowl 2020-04-24 20:07:05 +04:00
The Immortal
f7e1a1d253 Hackmons Cup: Fix G-Max moves being rolled 2020-04-24 01:57:53 +04:00
The Immortal
171233b6de Random Battle: Reject Steadfast 2020-04-24 01:29:44 +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
The Immortal
46b4ad4768 Move Rufflet to LC Uber 2020-04-20 21:41:12 +04:00
Luc Moussiegt
be4ff58260
Fix Sky Drop Wonder Guard interaction (#6593) 2020-04-20 12:14:37 -04:00
Marty-D
4997963c8b Gen I & Stadium: Fix accuracy calculations 2020-04-19 15:02:04 -04:00
penpexgit
5e13bc2432
Improve FORMES.md (#6590) 2020-04-19 10:48:17 -07:00
Nol
a3b8db05f7
SSB: Update several ranks (#6556) 2020-04-18 22:03:42 -07:00
Leonard Craft III
c376c1f80d
Fix Max Move base move source from leaking (#6592) 2020-04-18 19:00:08 -07:00
Marty-D
d9d345d8df Correct power modifier priorities
Thanks @dawoblefet!
2020-04-18 20:33:13 -04:00
Luc Moussiegt
4a749aff3e
Fix Technician interaction with Battery/Auras/PowerSpot (#6587) 2020-04-18 12:46:19 -04:00
The Immortal
8fce5ef798 Parental Bond doesn't affect Max moves 2020-04-18 17:22:48 +04:00
Guangcong Luo
286246da82 Push Dynamax ending to as late as possible 2020-04-17 00:31:59 -07:00
scoopapa
c32997cb51
Roulettemons: Update movepools (#6551) 2020-04-16 04:36:40 -07:00
Guangcong Luo
80634c6918 Fix Dazzling
I don't like using Bulbapedia as a source, but our researchers are all
asleep and TI said this was high-priority.
2020-04-16 03:12: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
Kris Johnson
712b7e0e8e
Add "seejong" as an alias for Sealeo (#6585)
The entire Pokemon Games room refers to Sealeo as Seejong and it has significant meme value. Additionally, Seejong is Sealeo's German name.
2020-04-16 00:20:07 -07:00
Leonard Craft III
c1bf933e31
Fix Neutralizing Gas + ability changing effects (#6581) 2020-04-15 20:36:46 -07:00
Kirk Scheibelhut
78151fad79 Fix 32e193b2 to rely on isMax instead of Nonstandard 2020-04-15 16:15:19 -07:00
Leonard Craft III
3842e03d60
Fix residual order for G-Max Volcalith / Wildfire (#6565) 2020-04-15 12:20:27 -04:00
Kris Johnson
608deb3d8d
Move Gmax formes to (DUber) (#6578) 2020-04-14 15:18:21 -07:00
Kris Johnson
209c95891f
Move Noctowl, Silvally-Fire, and Silvally-Ground to PUBL (#6576)
https://www.smogon.com/forums/threads/pu-general-rules-tiering-and-announcements-thread.3660650/#post-8428752
2020-04-14 01:07:02 -07:00
timbosu
4f0bf449b0
Prevent Crafty Shield from blocking Perish Song (#6573) 2020-04-14 01:06:40 -07:00
urkerab
19be262793
Fix Pastel Veil mechanics (#6571)
Makes Pastel Veil pass the tests from #6568
2020-04-13 15:18:14 -07:00
urkerab
9c8c1e1468
Fix Fell Stinger after redirection (#6572) 2020-04-13 14:20:37 -07:00
The Immortal
32e193b2b9 Prevent G-Max moves from being used in Hackmons 2020-04-13 19:41:54 +04:00
Kris Johnson
98b0e98098
Move Barraskewda and Centiskorch to RUBL (#6569)
https://www.smogon.com/forums/threads/np-ru-stage-1-i-lost-something-in-the-hills-barraskewda-and-centiskorch-banned-see-post-71.3659533/page-3#post-8427541
2020-04-12 23:05:38 -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
Guangcong Luo
7c0a6a9c60
Update FORMES.md 2020-04-12 22:25:45 -07:00
Guangcong Luo
b9e25acbbf
Document forme data formats 2020-04-12 21:55:49 -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
urkerab
9b3a51da14
Fix accuracy of Hurricane and Thunder against holder of Uility Umbrella (#6558) 2020-04-10 16:20:52 -07: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
Guangcong Luo
0fb601f7f2 Don't allow arrays in battle.add
A bug in Mimicry happened because someone put an array into
`battle.add`. This shouldn't happen.

(Also add a hint for Mimicry.)
2020-04-08 11:17:48 -07:00
scoopapa
5ba6b3ee2d
Add Roulettemons final pokemon (#6539) 2020-04-08 10:48:01 -07:00
Guangcong Luo
26a6c9e075 Fix Standard NatDex 2020-04-08 10:47:02 -07:00
charizard8888
02aa306d0a
Add rulesets directly in Roulettemons formats.js (#6538)
* Add Standard Pet Mods Clause in mods/roulettemons

For Standard Pet Mods Clause which was earlier in mods/csm

https://github.com/smogon/pokemon-showdown/blob/master/data/rulesets.js#L851
standardpetmod: {
		effectType: 'ValidatorRule',
		name: 'Standard Pet Mod',
		desc: "Holds all custom Pet Mod ruleset validation",
		// Implemented in mods/[petmod]/rulesets.js
	},

Rulesets weren't in there before https://replay.pokemonshowdown.com/gen8petmodroulettemons-1092931925

* Add rulesets in Roulettmons

* Delete rulesets.js

* Remove Standard Pet Mod Clause
2020-04-08 18:18:33 +04:00
The Immortal
2db59a70e3 Update Pet Mod aliases 2020-04-08 07:25:30 +04: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
The Immortal
c5ff9b634a Random Battle: Fix Malamar 2020-04-08 06:00:04 +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
Guangcong Luo
40783b7dc6 Fix spread moves vs Unaware 2020-04-07 10:56:20 -07:00
Guangcong Luo
33fa9d56ef Fix mega evolving into self
A hacked-in Megazard X can mega evolve into Megazard Y, but not into
Megazard X.
2020-04-07 10:56:19 -07:00
The Immortal
f8f27efabd Move Mamoswine to UUBL 2020-04-07 20:44:25 +04:00
Leonard Craft III
dd566f3eeb
Ban Hidden Abilities unreleased in VGC17 (#6533) 2020-04-06 21:39:42 -07:00
fart
de036ae9e2
Additional fix for NatDex validation (#6529)
This fix re-introduces Arceus plates.
2020-04-07 01:33:03 +04:00
The Immortal
1e07e2aa1c Fix NatDex validation 2020-04-07 00:56:04 +04:00
The Immortal
5d6a8a5f10 Random Battle: Update Xerneas 2020-04-06 23:02:55 +04: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
Marty-D
3c7d1d3b02
Make Dynamax ending the last end-of-turn effect
This is not a complete fix for 296c308e62, but fixes probably 99% of cases so is good enough for now.
2020-04-06 12:44:02 -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
Marty-D
ff3ca6783a Fix Imposter activation 2020-04-05 14:56:42 -04:00
The Immortal
d39e90d1f7 Move Haunter & Sneasel to NUBL 2020-04-05 21:42:05 +04:00
The Immortal
4aefa160b5 Random Battle: Improve Latios & Ninetales-A 2020-04-05 21:41:20 +04:00
Leonard Craft III
64d42624b8
Mark Plates (except Pixie Plate) as past gen items (#6524) 2020-04-05 11:09:16 -04:00
The Immortal
ec6561633b Random Battle: Fix Metagross & Lanturn 2020-04-05 15:16:59 +04:00
Kris Johnson
2f1419bd38
Shared Power and ORAS Doubles: Update bans (#6527) 2020-04-05 09:56:31 +04:00
The Immortal
cc6e81a410 Random Battle: Fix Marshadow & Pangoro 2020-04-05 09:51:23 +04:00
Kirk Scheibelhut
8cab3be4c4 Update Alcremie aliases to match cosmetic forme ids 2020-04-04 19:48:49 -07:00
Guangcong Luo
20e7e604eb Unify more switch-in code
This removes the redundant 'SwitchOut' code, and continues to ensure
that switching and dragging share as much code as possible, which
should help avoid bugs where they previously were different for no
reason.
2020-04-03 19:08:54 -07:00
Kris Johnson
327f30baad
Silvally, Swoobat, Arctovish, and Arctozolt are PUBL (#6518) 2020-04-03 17:35:31 +04:00
Kris Johnson
d938d567b0
Fix Rapidash and Gardevoir's doubles tiers (#6516) 2020-04-02 13:27:33 +04:00
The Immortal
e2c21407b1 Move Dynamax Ubers Clause to rulesets 2020-04-02 06:03:43 +04:00
Kris Johnson
83e97e2282
Fix tiers, add ZU (#6512) 2020-04-02 01:05:13 +04:00
The Immortal
b5d9829e0e Random Battle improvements 2020-04-01 23:06:19 +04:00
The Immortal
172a2010cd April tier shift 2020-04-01 19:59:11 +04: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
Kris Johnson
9274833be4
LC: Ban Cutiefly (#6505) 2020-03-30 22:27:58 -07: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
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
f72f37d704 Fix Mega Rayquaza Clause 2020-03-27 23:42:48 +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
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
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
Guangcong Luo
91e278d22d Fix Blunder Policy Sheer Cold 2020-03-25 16:58:45 -07:00
The Immortal
483aba6876 Gen 1 Random: Fix Omanyte 2020-03-25 15:34:13 +04:00
Guangcong Luo
b7ed1e0908 Clarify Pickpocket 2020-03-24 23:55:54 -07: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
ec503fa8e5
Move Scrafty to NUBL (#6483)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-see-post-10.3660646/#post-8398979
2020-03-22 21:02:20 -07:00
Marty-D
5ea76bd947
Descriptions: Update Gen 8 items 2020-03-22 16:32:15 -04:00
The Immortal
eeed18ca0c Challenge Cup: Use inheritsFrom
And prevent Eternamax as it should only be legal in Hackmons Cup.
2020-03-23 00:09:15 +04:00
Marty-D
41c126fc8b
Descriptions: Update Gen 8 Abilities 2020-03-22 15:16:36 -04:00
Marty-D
3b9bde44cd
Descriptions: Update G-Max Moves 2020-03-22 12:14:01 -04:00
The Immortal
8a5a2f8ea1 Spirit Break is a contact move 2020-03-22 17:54:46 +04:00
The Immortal
acfd8f8808 Fix CC again 2020-03-22 17:18:58 +04:00
The Immortal
2fede78e62 Fix Challenge Cup 2020-03-22 17:04:15 +04:00
The Immortal
f465c20ed1 Random Battle updates 2020-03-22 16:16:42 +04: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
Kris Johnson
01769c1ca7
Update Custom Rules documentation and implementation (#6477) 2020-03-22 04:11:17 +04:00
Marty-D
d764555f39
Descriptions: Update for Gen 8 moves 2020-03-21 19:55:17 -04:00
Marty-D
0af4a07da4 Descriptions: Update move disabling effects 2020-03-21 12:11:45 -04:00
The Immortal
7878f01ea1 Cotton Down does activate on Pokemon before they faint 2020-03-21 17:22:12 +04:00
Kris Johnson
770f1a3f7c
Add support for (NU) (#6475) 2020-03-20 20:50:14 -07:00
The Immortal
ca8870c64e Update Cotton Down activation 2020-03-21 00:20:47 +04:00
The Immortal
a94b9ba5c9 Mirror Armor activates for each boost 2020-03-20 23:15:10 +04: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
0eb0c47eea
Revert Cramorant's forme when Dynamaxing 2020-03-19 13:33:48 -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
1765d9fbfa Improve bbb4da013 2020-03-19 02:06:10 +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
da856e67bd Fix crowned formes learnsets 2020-03-18 15:25:03 +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
7e802c3268 Formats: Remove BS Doubles & update aliases 2020-03-18 11:13:47 +04:00
The Immortal
90ef9c6619 Doubles: Fix Doublade's tier 2020-03-18 11:03:19 +04:00
The Immortal
922a58de89 Random Battle: Update Electivire and Celebi 2020-03-17 14:24:17 +04: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
The Immortal
f4ae5b435f Correct Forme Clause 2020-03-16 23:21:11 +04:00
The Immortal
fc04f3e25e Random Battle: Fix Solgaleo 2020-03-16 23:20:44 +04:00
Kris Johnson
83ebdb27da
Add Dex#getOutOfBattleSpecies (#6463) 2020-03-16 20:31:38 +04:00
The Immortal
2f7fd7c9cd Random Battle: Add Kyogre
Missed in the mass update of db6b9add6.
2020-03-16 20:29:14 +04:00
The Immortal
db6b9add6b Random Battle updates 2020-03-16 14:03:48 +04:00
The Immortal
3e85f33014
Move Gyarados & Primarina to UUBL 2020-03-14 19:48:16 +04:00
The Immortal
bdfb975041 Gen 5 Randoms: Fix Sunflora 2020-03-14 13:09:01 +04:00
Kris Johnson
db7b66548d
Forme Clause: Fix typo (#6456) 2020-03-14 11:36:24 +04:00
Kris Johnson
f424f367db
BH: Add Forme Clause and suspect notice (#6455) 2020-03-13 23:30:34 -04:00
Marty-D
d9b931e2bb
RU: Ban Goodra
https://www.smogon.com/forums/posts/8389416/
2020-03-13 16:53:08 -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
Leonard Craft III
0dabac28ef
Fix G-Max Volcalith and add tests for G-Max Wildfire/Volcalith (#6442)
* Fix G-Max Volcalith mechanics

* Add tests for G-Max Wildfire/Volcalith
2020-03-11 12:53:49 +04:00
Kris Johnson
219026278d
Steel Beam is a tutor-only move (#6443) 2020-03-11 12:36:33 +04:00
Kris Johnson
34d0d880a4
Clarify Punk Rock description (#6440) 2020-03-10 20:15:32 -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
The Immortal
84253d40ee Fix getPokemonPool 2020-03-10 17:43:03 +04:00
Kris Johnson
f56e3ef66d
Fix BW Magic Room priority (#6437) 2020-03-10 17:00:51 +04:00
The Immortal
e35289d399 Fix Challenge Cup generator 2020-03-10 15:39:06 +04:00
The Immortal
90923f65a8 Random Battle: Fix Darmanitan-Galar-Zen 2020-03-10 13:05:54 +04:00
The Immortal
2dac2abd59 Fix typo 2020-03-10 11:59:30 +04:00
The Immortal
dbf4bcc8a5 Random Battle updates 2020-03-10 11:56:48 +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
Kris Johnson
6b29ab44c1
Move Kingler, Vikavolt, and Turtonator to NUBL (#6434)
https://www.smogon.com/forums/threads/np-nu-stage-1-criminal-see-post-10.3660646/#post-8385934
2020-03-09 09:06:50 +04:00
Marty-D
94a9734817
Items: Update TR sprite numbers 2020-03-08 17:43:26 -04:00
The Immortal
0d0ab9a90b Update Sw/Sh starters learnsets 2020-03-08 19:01:00 +04:00
Kris Johnson
9a2d41cf10
LC: Ban Vulpix-Alola (#6432) 2020-03-07 18:29:59 -08:00
Guangcong Luo
ac50dc2a48 Fix Dynamax Liquid Voice 2020-03-07 14:57:54 -08:00
Guangcong Luo
185966f44d Fix G-Max Steelsurge damage against Eiscue 2020-03-07 14:52:45 -08:00
Kris Johnson
c36870263b
Add Mimic Glitch validator rule (#6428) 2020-03-07 08:34:34 -08:00
The Immortal
a5b55d6127 Fix event moves of Sw/Sh legends 2020-03-07 16:44:52 +04:00
Kris Johnson
a0128b8a95
Fix Zacian, Zamazenta, and Eternatus legality (#6430) 2020-03-07 14:54:00 +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
cc681692dd
Properly implement Sinistea and Polteageist formes (#6429) 2020-03-06 22:35:19 -08:00
Kris Johnson
9d995eb838
SSB: Update Aeonic's rank (#6426) 2020-03-06 17:58:43 -08:00
The Immortal
583ca129c3 Remove display for trapping moves after using Substitute 2020-03-06 17:28:38 +04:00
Guangcong Luo
d450b50936
Fix more doubles tiers (#6421) 2020-03-05 14:57:00 -08:00
Guangcong Luo
d007bdc12f
Force timer if blitz mod is in effect (#6418)
Also increase first turn time to 40
2020-03-05 09:43:56 -08:00
The Immortal
f1a27dc79c
Move Ninetales-Alola to UUBL 2020-03-05 01:15:35 +04:00
The Immortal
03f34611e5 Random Battle: Update sets and levels 2020-03-02 23:54:37 +04:00
The Immortal
52e82453cf Random Battle updates 2020-03-01 23:46:13 +04:00
Kris Johnson
bb1c4f5fa7
Fix various Pokemon's doubles tiers (#6410) 2020-03-01 23:39:38 +04:00
The Immortal
876f8a369f
Move Slurpuff to NUBL 2020-03-01 21:32:51 +04:00
The Immortal
ce7a78db42 March tiers update 2020-03-01 19:02:28 +04:00
The Immortal
fad1d3c7a6 Random Battle improvements 2020-03-01 05:19:46 +04:00
The Immortal
11e33f925d Update Octolock activation 2020-03-01 00:59:35 +04:00
The Immortal
22feeebaee Gen 5: Fix Rapid Spin 2020-02-29 12:50:50 +04:00
Zachary Perlmutter
72a88037e7
Mark old moves as viable again (#6400) 2020-02-28 05:51:03 +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
Kris Johnson
f9d8da6053
Move Diggersby, Durant, and Weavile to UUBL (#6389)
https://www.smogon.com/forums/threads/np-ss-uu-stage-1-here-comes-the-sun-diggersby-durant-weavile-banned.3658529/page-6#post-8374900
2020-02-23 22:13:54 -08:00
Marty-D
795ce777ec
Remove Torment volatile when Dynamaxing 2020-02-23 17:45:16 -05:00
The Immortal
bd262b726c Fix ADV UU NFE Clause 2020-02-23 22:25:35 +04:00
Guangcong Luo
a41e4b051f Fix infinite loop with disabled Max Guard 2020-02-23 04:47:52 -08:00
The Immortal
cecbf396cd Revert "Fix Moxie and Beast Boost in doubles"
This reverts commit d7af602017.
2020-02-23 13:46:18 +04:00
Kris Johnson
fd63ee2a3b
Add ADV UU NFE Clause (#6386) 2020-02-23 00:15:35 -08:00
The Immortal
d7af602017 Fix Moxie and Beast Boost in doubles 2020-02-22 19:30:44 +04:00
The Immortal
563323f4c1 Fix Lum Berry activation 2020-02-22 05:39:37 +04:00
The Immortal
d7c09e0f0e Gen 5: Update Random Battle moves 2020-02-22 02:00:16 +04:00
urkerab
98edf3e025
Refactor Dragon Darts (#6378) 2020-02-21 06:36:41 -08:00
The Immortal
79af87374a Fix Wandering Spirit 2020-02-21 18:18:51 +04:00
The Immortal
03ecc3c4b1
Stench Weezing is unreleased 2020-02-21 16:45:16 +04:00
The Immortal
8e93518550 Max Guard is disabled by Taunt 2020-02-21 15:49:27 +04:00
Guangcong Luo
f89f44f209 Max Guard is disabled by Assault Vest 2020-02-21 00:46:28 -08:00
Guangcong Luo
e04769d3b8 Fix multi-hit move hitcount message 2020-02-20 17:49:10 -08:00
Guangcong Luo
1d09dd1174 Fix Dragon Darts bugs
- should not stop after one faint
- should not show miss message for first miss
2020-02-20 15:58:36 -08:00
The Immortal
5cb8c6ea9c Remove redundant Max Guard checks
bfa7ff2d3 added them to Max Guard.
2020-02-20 16:59:05 +04:00
Guangcong Luo
bfa7ff2d31 Update Max Guard
Max Guard doesn't block literally everything, just most things.
2020-02-20 02:28:57 -08:00
Guangcong Luo
14a252c208 Improve Dragon Darts description 2020-02-20 02:06:24 -08:00
Guangcong Luo
0df0d234f2 Fix Dragon Darts
Dragon Darts has a variety of mechanics that I don't care to fully
write unit tests for, but this commit should track its in-game
implementation much more closely.

If anyone still has a Dragon Darts interaction that this implementation
handles incorrectly, they should confront me about it.

Fixes #6279
2020-02-20 00:14:58 -08:00
Guangcong Luo
e3c9cf22ab Fix Max move Lightningrod redirection
Max moves can be redirected to allies, even though they can't
normally hit allies.

Fixes #6375
2020-02-19 01:01:58 -08:00
The Immortal
c83199801b G-Max Sweetness doesn't have any battle text 2020-02-19 05:11:50 +04:00
Guangcong Luo
d6fffde560 G-Max Wildfire etc deal damage on last turn 2020-02-18 13:18:39 -08: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
Guangcong Luo
6778bc585d Fix Yawn Safeguard 2020-02-18 13:18:39 -08:00
The Immortal
b6f9a8f6df Fix Encore mechanics vs Dynamax 2020-02-18 16:21:22 +04:00
Guangcong Luo
206b5c2b26 Fix multihit moves vs Emergency Exit 2020-02-18 01:13:10 -08:00
Guangcong Luo
518d4b796a Fix Rapid Spin not activating against Sub 2020-02-17 14:10:29 -08:00
Guangcong Luo
14cdc79a8e Fix Dynamax Toxic damage 2020-02-17 11:57:59 -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
Guangcong Luo
07ae9d0ea2 Add hint for Court Change Sticky Web Defiant 2020-02-17 00:22:47 -08:00
Guangcong Luo
78eceb6f03 Fix Emergency Exit activating on faint 2020-02-16 23:42:43 -08:00
The Immortal
78449f7ef8
Update RU banlist 2020-02-17 04:42:25 +04:00
The Immortal
e877044985 Random Battle improvements 2020-02-17 01:31:02 +04:00
Guangcong Luo
eee403fbea Properly fix Pledge moves
I had this fixed and forgot to commit + push it. :(
2020-02-15 15:40:59 -08:00
Guangcong Luo
1fa9e141f6 Fix Pledge moves 2020-02-15 13:38:58 -08:00
The Immortal
5985e1f3e0 Add missing Steel Beam Pokemon 2020-02-15 23:15:44 +04:00
The Immortal
9ad09488f5 Random Battle updates 2020-02-15 22:01:36 +04:00
Guangcong Luo
09e563f9fc Fix some moves triggering abilities twice 2020-02-15 08:54:14 -08:00
The Immortal
14d6509fbf
Fix Slowpoke being legal 2020-02-15 20:47:32 +04:00
Kris Johnson
da66b5c599
OU: Ban Melmetal and Kyurem-Black (#6370)
https://www.smogon.com/forums/threads/kyurem-black-and-melmetal-are-now-banned-from-ou.3660047/
2020-02-14 23:20:26 -05:00
Guangcong Luo
7dab5f8d79 Fix Rapid Spin activation order
Order should be:

1. -Spe
2. Rocky Helmet
3. hazard removal if not fainted
2020-02-14 18:13:49 -08:00
Guangcong Luo
b14b38598b Improve sim protocol documentation
This new protocol spec resolves ambiguities in cases where multiple
message types would be valid (no more wondering if an ability
activation is `-activate` or `-ability`, no more wondering if a
blocked attack is `-fail` or `-block` or `-immune` or `-activate`). It
also better matches the client's `data/text.js`.
2020-02-14 17:01:18 -08:00
The Immortal
9e70a66f2d Power is unusable in Sw/Sh 2020-02-14 23:56:18 +04:00
The Immortal
0564851b49 VGC: Properly ban Toxtricity-Low-Key-Gmax 2020-02-14 23:08:36 +04:00
Russell Jones
4615693685
Fix Gyro Ball/Electro Ball divide-by-0 edge cases (#5805) 2020-02-14 10:39:54 -08:00
The Immortal
bbc58ee68a Update Little Cup 2020-02-14 21:02:52 +04:00
The Immortal
607a507be1
Move Pikachu forms to the lowest tier 2020-02-14 01:16:21 +04:00
The Immortal
5a7ec76b6b Fix validation for Virtual Console & Let's Go moves 2020-02-13 23:59:51 +04:00
The Immortal
0b305661b6 Update Standard GBU banlist 2020-02-13 23:06:15 +04:00
The Immortal
6660c8ac0d Re-sort learnsets 2020-02-13 15:40:41 +04:00
Kris Johnson
358d947b15
Add Let's Go transfer support (#6367) 2020-02-12 21:22:45 -08:00
The Immortal
65a2bad577
Move Jirachi/Kyurem-B/Marshadow to DUber 2020-02-13 07:41:56 +04:00
The Immortal
5f6c26ffdc Snatch isn't usable in Sw/Sh 2020-02-13 07:29:43 +04: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
d5388bc58b
Add (Uber) support (#6363) 2020-02-13 01:55:56 +04:00
Kris Johnson
239b7cdf13
Update VGC banlist (#6361) 2020-02-12 21:24:06 +04: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
The Immortal
19cdf79821 Update OMs 2020-02-12 14:19:29 +04:00
The Immortal
14558e3b27 Update Random Battle levels 2020-02-12 12:16:43 +04:00
Guangcong Luo
1914a37aba Fix Eject Pack to activate for self-boosting 2020-02-11 11:16:46 -08:00
Guangcong Luo
ee4435716f Fix crash in Knock Off + Substitute
(This also fixes a bug where hitting Substitute procced DamagingHit
events.)
2020-02-10 15:37:34 -08:00
The Immortal
ec5471872f Move Dracozolt to UUBL 2020-02-10 07:16:07 +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
e464ccd0ad Improve Present Kee Berry workaround 2020-02-08 08:14:08 -08:00
Guangcong Luo
6a677e39e8 Fix Emergency Exit timing
This is a really hacky implementation of Emergency Exit, but Emergency
Exit itself is a huge mess on cart, too.

Our previous implementation:
- activated Emergency Exit at AfterMoveSecondary timing for move damage
- activated Emergency Exit immediately after dealing any other damage

This new one:
- activates Emergency Exit only in three situations:
- right after AfterMoveSecondary timing, for move damage
- right after DamagingHit timing, for DamagingHit residual damage
  (Rough Skin, Iron Barbs, Rocky Helmet)
- right after the switch update, for switch-hazard residual damage
  (Stealth Rock, Spikes)
- does not otherwise activate (so Substitute, Hail, Toxic, etc no
  longer activate Emergency Exit)

This should much accurately simulate Emergency Exit behavior, including
most famously timing it after healing berries after hazards, as
documented in:

https://www.smogon.com/forums/threads/pokemon-sun-moon-battle-mechanics-research.3586701/#post-7075354

Fixes #6309
2020-02-08 08:07:39 -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
Volco
dab2d21e3f
Fix Kee Berry activating due to Present healing (#5745) 2020-02-08 05:51:56 +04: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
Kris Johnson
8aa26d39b0
Fix Psychic Terrain crash (#6348) 2020-02-07 04:12:26 +04:00
The Immortal
15fe9f27e9 Random Battle: Improve Inteleon 2020-02-07 03:55:58 +04:00
Kris Johnson
9f08d93244
Toxtricity-Low-Key can Gigantamax (#6343) 2020-02-07 03:54:07 +04:00
Guangcong Luo
b30758a3e1 Standardize Alcremie forms
We're now using what should be the official names for the Alcremie
cosmetic forms.
2020-02-06 04:09:55 -08: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
Kris Johnson
9f27583ff1
Release Gigantamax Toxtricity (#6341) 2020-02-05 10:57:13 -08:00
Kris Johnson
4ef357cc92
Add aliases for Heavy-Duty Boots, Obstagoon, and Mr. Rime (#6340) 2020-02-05 10:57:01 -08:00
Salaaa
3b59e44b52
SSB: Fix Lava Terrain damage boost (#6332) 2020-02-06 01:01:25 +10:30
Guangcong Luo
3255d287b8 Add hint for Psychic Terrain flying interaction
This is by far the most commonly reported "bug" on Twitter, so it's
probably worth adding a hint for.
2020-02-05 05:14:34 -08:00
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
Kris Johnson
d3e266cddd
Fix crash with TRs (#6330) 2020-02-03 00:25:49 -08:00
Kris Johnson
05efe2e011
Add TRs (#6317) 2020-02-02 23:19:45 -08:00
Marty-D
8d644fcb0c Calculate Innards Out damage using non-Dynamax HP 2020-02-02 18:04:33 -05:00
The Immortal
3278f97576 Show Crowned formes in Team Preview
They are immediately visible after Team Preview in-game, but PS! lacks that feature so this is the best compromise. This also fixes their appearance in Hackmons Team Preview.
2020-02-03 01:05:38 +04:00
Marty-D
47c8d6b52b Fix Pickpocket interaction with switches
U-turn is the only switch effect that occurs after Pickpocket resolves during an attack segment (even though the switch message and animation appear to happen before it)
2020-02-02 15:02:41 -05:00
The Immortal
9b07458ee9 Fix Last Resort
And the message activation of No Retreat which was broken in a79c094df.
2020-02-02 23:51:15 +04:00
The Immortal
a79c094df3 Update No Retreat mechanics 2020-02-02 23:18:52 +04:00
The Immortal
d9327d945a Simplify max moves check in Copycat 2020-02-02 22:30:04 +04:00
Marty-D
9e443cc337
Fix Copycat against non-Dynamax Max Moves 2020-02-02 13:05:51 -05:00
The Immortal
6db191a0a8 Implement Copycat interaction with Max moves 2020-02-02 21:29:55 +04:00
The Immortal
89e79a6e81 Fix randoms crash 2020-02-02 17:01:30 +04:00
Kris Johnson
e81fab513a
Fix Butterfree-Gmax's doubles tier (#6328) 2020-02-02 14:51:45 +04:00
James Ko
1596429c2e
Correctly set hp and maxhp fields if Zygarde transforms while Dynamaxed (#6318) 2020-02-01 22:06:08 -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
770e761e22
Add (DUU) and fix Gurdurr's doubles tier (#6327) 2020-02-02 05:48:51 +04:00
The Immortal
a65f91114f Random Battle: Improve Greedent 2020-02-02 00:04:19 +04:00
The Immortal
778aff1ea0 Correct No Retreat mechanics 2020-02-01 23:43:28 +04:00
The Immortal
6c88ebc9ac Fix Challenge/Hackmons Cup 2020-02-01 23:05:27 +04:00
The Immortal
55a4678ffd Correct Dynamax HP formula 2020-02-01 21:31:11 +04:00
The Immortal
a7a82a2ddd February tier shift 2020-02-01 20:55:00 +04:00
The Immortal
cddb3ea151 Remove gen 7 ladders 2020-02-01 15:45:46 +04:00
Kris Johnson
4c5640d051
Add February 2020 OMotM and RoA Spotlight (#6323) 2020-02-01 15:10:59 +04:00
The Immortal
4bc7a8dedb Fix Clangorous Soul
Closes #6321
2020-01-31 16:36:20 +04:00
The Immortal
49be40c33e Safeguard is also affected by Court Change 2020-01-31 15:02:37 +04:00
The Immortal
7c3f9f47a2 Update Court Change effects 2020-01-31 14:00:10 +04:00
The Immortal
5e69597b93 Improve Court Change shortDesc 2020-01-30 13:11:05 +04:00
The Immortal
c34b41661c Venusaur/Blastoise learn Frenzy Plant/Hydro Cannon in Sw/Sh 2020-01-29 19:52:01 +04:00
The Immortal
68e0bcb75f Refactor single-use items
This adds a `boosts` property to items that runs in `useItem`.
This allows it to be added to `datasearch` or similar plugins.
The item activation messages are now as accurate as in-game.
The Gem activation message is also consolidated in `useItem`.
2020-01-28 13:21:23 +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
The Immortal
41f1085d00 Wandering Spirit: Prevent swapping Illusion/Wonder Guard 2020-01-27 05:56:55 +04:00
The Immortal
f9c5b2868b Random Battle updates 2020-01-27 05:26:08 +04:00
The Immortal
5b910431a7 Disguise: Fix double activation 2020-01-25 16:20:40 +04:00
The Immortal
83a23bb36d Fix move numbers 2020-01-23 17:09:48 +04: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
c754dca3ea Random Battle improvements 2020-01-22 12:12:16 +04: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
The Immortal
0aba98eb11 Fix Tar Shot 2020-01-21 10:45:39 +04:00
urkerab
d1a66cbe07 Simplify handling of Encore volatile (#6292) 2020-01-20 17:00:37 +04:00
The Immortal
63fc04c9aa Use baseMaxhp in move.heal 2020-01-20 15:52:06 +04:00
HoeenHero
dc13b32ed8 Charizard can learn Blast Burn in Gen 8 2020-01-19 08:34:48 -05: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
Guangcong Luo
e6f53a7ad2 Implement smart target tracking
(Stalwart, Propeller Tail, Snipe Shot behavior.)
2020-01-18 15:43:33 -07:00
Guangcong Luo
ec68ff11a2 Refactor Life Dew to target allies
`allyTeam` is the incorrect target
2020-01-18 15:43:31 -07:00
The Immortal
8f7df1e5c4 Set Genesect drives as past items 2020-01-18 14:17:12 +04:00
The Immortal
9c338dbd18 Properly implement 8ccfed069 2020-01-18 05:24:44 +04:00
The Immortal
b54c25a2b2 Perish Body: Fix text 2020-01-17 14:52:42 +04:00
The Immortal
38053c0168 Random Battle improvements 2020-01-17 14:05:15 +04:00
The Immortal
cb11d42c73 Update ability clause 2020-01-17 13:58:13 +04:00
urkerab
f5718b7ab0 Make Dynamax and Inner Focus prevent setting the Flinch volatile (#6287) 2020-01-16 20:08:55 -05:00
Salaaa
f42699ee0a Fix Life Dew interaction with Dynamax (#6288) 2020-01-16 06:19:24 +04:00
The Immortal
8ccfed069c Encore and Torment fail against Dynamax 2020-01-15 02:41:56 +04:00
CK Yong
f8d0f3fffd Fix Pickpocket applying when being switched out through Eject Button (#6254)
Also makes sure that dragging moves like Dragon Tail do activate Pickpocket.
2020-01-13 19:32:37 -05:00
Kris Johnson
d20a46d4c7 Update item sprite numbers (#6276) 2020-01-13 09:23:09 -05:00
Kris Johnson
40d6a51747 UU: Update bans (#6282)
https://www.smogon.com/forums/threads/np-ss-uu-stage-1-here-comes-the-sun-crawdaunt-gengar-and-hawlucha-banned.3658529/page-2#post-8339339
2020-01-13 10:54:20 +04:00
urkerab
b589745a25 Typescript move.target (#6260) 2020-01-11 09:10:10 -05:00
Kris Johnson
a97360a966 Slowpoke-Galar can use Eviolite (#6274) 2020-01-10 02:50:12 +04:00
Kris Johnson
54df4fb1ed Add Slowpoke-Galar (#6272) 2020-01-09 21:33:15 +04:00
The Immortal
9253a115b1 Learnsets: Remove duplicate 7V entries 2020-01-09 20:50:23 +04:00
The Immortal
d70af8e12a Update Slowpoke data 2020-01-09 20:43:58 +04:00
The Immortal
18ef25958a Fix Zygarde-C's HP 2020-01-09 18:38:07 +04:00
The Immortal
5b97367952 Update Skill Swap & Wandering Spirit 2020-01-09 10:49:41 +04:00
Dawnofares
32382cc95d Clarify Wandering spirit's shortdesc (#6269) 2020-01-09 04:33:23 +04:00
The Immortal
1ec2d0bfa1 Doubles: Remove Evasion Abilities Clause
Closes #6268
2020-01-09 04:02:56 +04:00
The Immortal
491e0575e0 Random Battle updates 2020-01-07 22:07:09 +04:00
urkerab
4b55ac9ba9 Fix interaction between Court Change, Sticky Web, and Defiant or Competitive (#6265) 2020-01-07 07:12:33 +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
8c432e6118 Fix Screen Cleaner messages
This makes the ability activate first, and also fixes the duplicate screen ending messages.
2020-01-07 03:40:08 +04:00
The Immortal
f493304819 Pichu learns Volt Tackle 2020-01-07 01:51:47 +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
The Immortal
2f00b61024 Correctly implement Ice Scales 2020-01-06 18:43:09 +04:00
ZardMX
7736fa556a Status moves bypass Obstruct (#6264)
In-game proof: https://www.youtube.com/watch?v=8EVTeRfY-0c (Thanks KennedyLFC)
2020-01-06 18:35:31 +04:00
SalamanderFire
6b2293918f SSB: More bugfixes/updates (#6262) 2020-01-05 22:47:15 -05:00
Marty-D
7c814ada7f Fix Gulp Missile 2020-01-05 20:45:36 -05:00
The Immortal
70125f68a0 Fix Pollen Puff 2020-01-06 02:34:02 +04:00
The Immortal
b7258fc06b
Move Hawlucha to UUBL 2020-01-05 23:57:28 +04: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
The Immortal
8b8f963669 Fix Floral Healing 2020-01-04 03:41:33 +04:00
The Immortal
3d7b203fc3 Instruct should fail against Dynamax 2020-01-04 03:18:25 +04:00
SalamanderFire
d8a0449702 SSB: Bugfixes and Namechanges (#6241) 2020-01-03 18:16:48 -05:00
The Immortal
3fbcff08fa Fix Heal Pulse 2020-01-04 02:56:42 +04:00
The Immortal
1b7c47b6f4 Fix HP healing berries 2020-01-04 02:54:50 +04:00
The Immortal
52a1d7e5a3 Fix G-Max Finale text 2020-01-04 02:51:37 +04:00
The Immortal
6dbcff1811 Meowstic-F's hidden ability is unreleased 2020-01-04 02:37:14 +04:00
The Immortal
755afc350d Update Zacian & Zamazenta learnsets
- Add Steel Beam
- Remove duplicate learnsets from crowned formes
2020-01-04 02:32:17 +04:00
SalamanderFire
338ae14d33 Fix Drapion's tier (#6251) 2020-01-02 04:55:39 +04: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
Kris Johnson
4b127ad160 January usage-based tier changes (#6249) 2020-01-02 01:51:39 +04:00
Guangcong Luo
ca1f8ec820 Fix Howl ally-targeting
Fixes #6247
2020-01-01 11:10:49 +09:00
Quinton Lee
266928be83
Fix Charjabug's evolution method in /details 2019-12-31 17:22:11 -06:00
urkerab
5067f1fefa Fix displayed target of move-specific immunity in Gen 1 and 2 (#6244) 2020-01-01 01:44:33 +04:00
Kris Johnson
0535d76219 Move Gmax formes to Uber (#6242) 2020-01-01 01:25:48 +04:00
Marty-D
cc4c622e56
Add Sleep Clause Mod back to Standard Gen 4 rulesets 2019-12-31 12:30:25 -05:00
ZardMX
de7d8168af Fix Neutralizing Gas (#6232) 2019-12-31 16:29:21 +09:00
Kris Johnson
59154fadad Rename Vice Grip to Vise Grip (#6240) 2019-12-31 13:56:41 +09:00
urkerab
cbb11cf32c Shell trap takes effect directly after a physical hit (#6231) 2019-12-31 00:33:36 +09:00
The Immortal
a0bffce283 Revert "Max happiness in gen 8 is 160"
This reverts commit c7bc102c5a.
2019-12-30 16:44:39 +04:00
Guangcong Luo
744f7732e8 Fix rulesets
- Remove "Standard Ubers"

- Rename "Standard ND" -> "Standard NatDex"
2019-12-30 12:23:51 +09:00
urkerab
3db3f29a72 Fix fractional priority for Full Incense and Lagging Tail (#6230) 2019-12-30 10:08:22 +09:00
Kris Johnson
36a92b5465 Move Darmanitan-Galar to Ubers (#6236) 2019-12-30 01:13:39 +04:00
TheMezStrikes
80c04412d6 Fix typo in breaking swipe (#6227) 2019-12-30 00:53:58 +04:00
fart
2d8c5fa48a Court Change affects G-Max Steelsurge (#6235) 2019-12-30 00:52:07 +04:00
urkerab
b437e64efe Fix tier counting in Gen 5 randbats (#6234) 2019-12-29 20:01:59 +04:00
ZardMX
e06db3e117 Mew is obtainable with 3 perfect IVs in SwSh (#6228)
https://www.smogon.com/forums/threads/bug-reports-v3-read-original-post-before-posting.3634749/page-101#post-8322820
2019-12-29 03:27:27 +04:00
Kris Johnson
6a3945bb18 Custap Berry is released in ORAS and USUM (#6226) 2019-12-28 15:41:07 +04:00
te
87867f6824 Fix Toxtricity-Gmax Pokedex number (#6225) 2019-12-28 03:09:52 +04:00
The Immortal
5e8529faaa Correctly implement Court Change 2019-12-27 22:39:35 +04:00
The Immortal
519954624b Re-add gen 7 OMs 2019-12-27 22:38:00 +04:00
Guangcong Luo
c738027074 Fix crash/bug in Zen Mode 2019-12-27 22:09:12 +09:00
The Immortal
189a1421a8 Rename Sleep Clause to Sleep Moves Clause 2019-12-27 13:13:41 +04:00
urkerab
7152b42daf Calculate fractional priority once per turn (#6224) 2019-12-27 12:42:34 +09:00
The Immortal
fe00864b8e Add Sleep Clause rule 2019-12-27 05:09:24 +04:00
The Immortal
4414fab072 BW OU: Remove Sleep Clause 2019-12-27 01:08:47 +04:00
The Immortal
0199e9a952 Modify damage for Dynamax Cannon 2019-12-27 00:22:25 +04:00
The Immortal
0387853117 Update Court Change 2019-12-27 00:19:22 +04:00
The Immortal
1fbd92f925 Behemoth moves modify damage
Not BP.
2019-12-26 22:52:08 +04:00
The Immortal
390e542f75 Use onBasePower for Behemoth moves 2019-12-26 22:31:30 +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
Marty-D
1475df0674
Team Preview: Hide Zacian and Zamazenta formes
They transform silently once a battle starts
2019-12-26 10:13:21 -05:00
The Immortal
73c16225b7 Fix G-Max Steelsurge start message 2019-12-26 18:28:56 +04: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
Kris Johnson
578f2199fc Add 'eternamax' alias for Eternatus-E (#6219) 2019-12-25 15:49:48 +09:00
Guangcong Luo
b31b88a79b Add documentation for custom rules 2019-12-25 11:26:23 +09:00
The Immortal
a1b502f901 Random Battle improvements 2019-12-25 05:58:16 +04:00
Guangcong Luo
223e2af9fa Fix Custap Berry, Quick Claw, Stuff Cheeks
- Prevent Custap Berry and Quick Claw from activating on switches

- Stuff Cheeks now bypasses Unnerve and Magic Room
2019-12-25 09:42:39 +09:00
The Immortal
7f87804955 Update Screen Cleaner 2019-12-25 02:00:48 +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
b82aeb623b Gorilla Tactics should only lock into the first successful move (#6217) 2019-12-24 20:35:42 +04:00
Guangcong Luo
7f772fba67 Fix Teatime
Fixes #6210
2019-12-24 14:49:47 +09:00
Guangcong Luo
e953747570 Improve error text for Arceus EV Limit rule 2019-12-24 13:39:15 +09: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
e04d2eef8b Gen 4: Update Arceus EV limitations 2019-12-24 01:35:45 +04:00
The Immortal
357005970e Grav Apple is boosted in Gravity
Closes #6209
2019-12-23 15:15:52 +04:00
The Immortal
f5eb722bbf Add Standard ND ruleset 2019-12-23 00:33:57 +04:00
The Immortal
ed725ab694 Implement Mimicry mechanics 2019-12-22 18:55:13 +04:00
SalamanderFire
994e646bac Fix Sparkly Swirl data (#6203) 2019-12-22 05:12:16 +04:00
The Immortal
dfcddf8351 Dynamax ends Illusion 2019-12-21 23:58:22 +04:00
The Immortal
85d8aefaaf Eternatus can't Dynamax
This effect (incorrectly) affects hacked Eternatus-Eternamax and is unneeded as Eternatus is unable to Dynamax into Eternamax.
2019-12-21 22:37:10 +04:00
The Immortal
c08d521547 More viable moves updates 2019-12-21 07:36:19 +04:00
Kris Johnson
0135d4f0c8 Take National Dex out of beta (#6195) 2019-12-21 06:11:41 +04:00
The Immortal
2695f5a8b8 Update viable moves 2019-12-21 01:08:56 +04:00
Guangcong Luo
12b49bb5e2 Fix G-Max move descriptions 2019-12-21 05:23:32 +09:00
The Immortal
5bb8dddad8 Delibird's hidden ability is released 2019-12-20 06:23:53 +04:00
Kris Johnson
dd016c21ff Add support in /details for Pokemon that require special trading conditions (#6194) 2019-12-19 20:38:05 +09:00
urkerab
80c45cdf27 Fix No Guard interaction with Perish Song and Tea Time (#6197) 2019-12-19 15:23:36 +04:00
The Immortal
a988a7f560
Fix crash
Remnant from c9af9eacce
2019-12-19 03:30:52 +04:00
The Immortal
ea4d20ab01 Random Battle updates 2019-12-17 05:03:06 +04:00
The Immortal
1548729c11
Prevent Eternamax in Challenge Cup 2019-12-16 05:54:37 +04:00
Kris Johnson
23fbcf747b Update the LGPE moves (#6178) 2019-12-16 05:50:31 +04:00
The Immortal
c9af9eacce Correct forme mechanics
New research shows that only Zacian-Crowned and Zamazenta-Crowned are unobtainable out-of-battle. So, reverting the validateForme changes and hardcoding it in BH instead of using Obtainable Formes.
2019-12-16 05:37:17 +04:00
The Immortal
1b44584e6e Entrainment fails against Dynamax 2019-12-15 03:14:26 +04:00
urkerab
56a0e37e3b Some Utility Umbrella fixes (#6180)
- Cherrim should revert if given a Utility Umbrella in Sun.
- Castform shouldn't keep transforming if it holds a Utility Umbrella.
- Leaf guard Utility Umbrella check works but is just inconsistent placement.
- Sun/Rain affected recovery moves should heal 50% with Utility Umbrella.
- Solar moves power should halve in sand or hail even with Utility Umbrella.
- Weather Ball should double in power if Magic Room blocks Utility Umbrella.
2019-12-15 04:05:25 +09:00
urkerab
1c102b12d0 Gigantamax forme change is client-only (#6181) 2019-12-13 19:21:37 +09:00
Kris Johnson
cb83dda418 Update Utility Umbrella (#6127) 2019-12-13 00:30:57 +09:00
The Immortal
fc4c185005 Refactor validateForme 2019-12-12 17:13:45 +04:00
Guangcong Luo
2aa440ebbd Add hint for Destiny Bond Dynamax interaction 2019-12-12 18:45:56 +09:00
Guangcong Luo
a062a6c96e Fix Custap Berry 2019-12-12 18:23:52 +09:00
Guangcong Luo
d91bad3365 Fix Quick Claw 2019-12-12 17:09:17 +09:00
The Immortal
b2c5b31e1d Random Battle updates 2019-12-12 04:43:31 +04:00
YaBoiJD
9a88d49a83 Fix Ditto from Dynamaxing as a Mega/Primal etc (#6139) 2019-12-12 00:14:47 +04:00
Kris Johnson
f1ad861659 Fix Necrozma-Ultra's inheritance (#6176) 2019-12-12 00:13:14 +04:00
The Immortal
0b044cf280 Skill Swap fails against Dynamax 2019-12-11 23:30:29 +04:00
Guangcong Luo
65187a9053 Improve Dragon Darts
This is not the best implementation and the animation/messages will be
wrong, but the mechanics should be pretty accurate.

Fixes #6085

Fixes #6086
2019-12-11 18:14:29 +09:00
Guangcong Luo
3b86164a77 Fix Quick Claw 2019-12-11 18:12:54 +09:00
Guangcong Luo
8e5fe17617 Fix G-Max Snooze/Replenish
Snooze applies even if the target is behind a Sub.

Snooze/Replenish only have a 50% proc chance.
2019-12-11 18:12:53 +09:00
Marty-D
1b3e577753 Ensure the Room Service holder is the source of the stat change
This matters for Clear Body, etc.
2019-12-11 02:29:48 +04:00
Guangcong Luo
6a4b5db15d Allow Volt Tackle Pikachu
Pikachu gets Volt Tackle by a really weird method, which PS never
implemented. This never mattered until now because PS would just assume
you had an event Pikachu, but with no event Pikachus available in Gen 8,
PS has been rejecting valid Pikachu sets.

This change makes it too permissive, but that's a better stopgap than
being too restrictive.
2019-12-11 03:41:38 +09:00
ZardMX
6cb0ca6299 Ice Face restores on switch-in when hail is active (#6147) 2019-12-11 03:11:42 +09:00
420Blazeitt
143ea606fd Fix type-changing moves & abilities while Dynamaxed (#6080) 2019-12-11 03:10:38 +09:00
The Immortal
c23a0c5d5b Obtainable Moves: Remove unnecessary ban 2019-12-10 19:17:05 +04:00
420Blazeitt
82d1f8ed92 SSB: dont let glitzer popping call gen 8 moves (#6171) 2019-12-10 17:32:18 +04:00
Lusamine
841f8cfab0 Correct Apple evolution methods for Flapple/Appletun (#6172) 2019-12-10 17:02:11 +04:00
Kris Johnson
89002124b3 Change inheritsLearnsetFrom to inheritsFrom and fix Necrozma-Ultra's inheritance (#6168) 2019-12-10 08:03:49 +04:00
The Immortal
26c11a20e8 Add test for Aura Wheel
And clean up the implementation.
2019-12-10 02:05:41 +04:00
The Immortal
23b692e0b3 Fix Dynamax messages 2019-12-09 23:53:04 +04:00
The Immortal
c2b8485ae3 OHKO moves fail on Dynamax
Closes #6165
2019-12-09 16:44:04 +04:00
asgdf
97d76831ea Fix Forretress not showing up in gen 2 randbats (#6164) 2019-12-09 16:29:17 +04:00
Kris Johnson
82dbf537e7 Make G-Max Centiferno/Sandblast mechanics more accurate (#6167) 2019-12-09 16:28:10 +04:00
420Blazeitt
a6117ac954 Gen 8 LC: ban Cherubi (#6166) 2019-12-08 22:13:18 -05:00
The Immortal
7dfc381e9b Leaf Blade + Sucker Punch Shiftry is legal 2019-12-09 05:16:46 +04:00
The Immortal
883ce3fa61 Fix formes in Hackmons Cup 2019-12-09 00:46:08 +04:00
The Immortal
a16c503b11 Random Battle improvements 2019-12-09 00:13:09 +04:00
The Immortal
29fdcc42cf Update Electric/Grassy/Psychic terrains 2019-12-08 22:35:07 +04:00
ZardMX
fa95878e7f Fix order of G-Max Tartness/Terror (#6163) 2019-12-08 21:01:33 +04:00
urkerab
0df06217ce Some Tea Time updates (#6156) 2019-12-08 17:44:24 +04:00
Kris Johnson
2854e71166 Fix various evolution methods (#6160) 2019-12-07 17:15:31 +04:00
Kris Johnson
3c321ca62e Fix G-Max Sweetness's short description (#6157) 2019-12-07 06:37:45 +04:00
Zachary Perlmutter
1e8551a71a Fix Eternatus-Eternamax (#6154)
* Fix bug caused by #6149
2019-12-06 14:10:10 +04:00
The Immortal
ede116418c Fix Gulp Missile
Closes #6155
2019-12-06 13:46:31 +04:00
The Immortal
d8bea75618 Update Power of Alchemy, Receiver, and Trace 2019-12-06 13:33:52 +04:00
The Immortal
600b54a9b1 Unaware ignores attacker's defense boosts
Relevent to Body Press.
2019-12-06 10:47:31 +04:00
The Immortal
0c5e7fb86b Update Copycat/Metronome exceptions 2019-12-06 10:01:01 +04:00
The Immortal
b586ae7188 Random Battle updates 2019-12-06 02:53:00 +04:00
The Immortal
f1530288e5 Move Keldeo-R validation to Obtainable rule
Keldeo-R is not a battle forme and is possible to hack without Secret Sword, unlike most other formes. It should be restricted by the rule that prevents hacks and not the rule that validates battle formes. This is mostly relevant for Hackmons.
2019-12-05 22:36:20 +04:00
The Immortal
534c984106 Cramorant, Eiscue, and Morpeko formes require their respective abilities 2019-12-05 22:03:58 +04:00
The Immortal
aa7421ff48 Psych Up & Transform fail against Max Guard 2019-12-05 18:21:02 +04:00
The Immortal
5de3015d35 Fix Heavy-Duty Boots interaction with Toxic Spikes 2019-12-05 18:11:35 +04:00
Zachary Perlmutter
6621444190 Prevent Eternamax Max HP Doubling (#6149) 2019-12-05 18:06:52 +04:00
The Immortal
6724ce500a Move Kyurem/Necrozma forme legality to Obtainable
Obtaintable Formes is for in-battle forme changes. Obtainable makes sure a team is possible to obtain in-game without hacking. Multiple Kyurem/Necrozma formes are the latter case.
2019-12-05 18:00:01 +04:00
whales
6aa04a842d Fix Pain Split (#6151) 2019-12-05 17:46:59 +04:00
The Immortal
4266000df4 Update forme validation
- In gen 8, Silvally is able to enter battles in different types if it doesn't have RKS System (i.e. it doesn't require a Memory).
- In gen 8, formes that transform in battle are no longer able to start in that forme (relevant to BH).
2019-12-05 07:29:15 +04:00
The Immortal
8f7c22feb0 Fix Gulp Missile
Gulp Missile shouldn't inherit the effects of the move that triggered it.
2019-12-05 03:35:21 +04:00
The Immortal
1ee6a3933d STABmons: Use `isMax` in validator 2019-12-05 03:13:09 +04:00
The Immortal
5ce9aa926d Disable fails against Max moves 2019-12-05 03:11:15 +04:00
The Immortal
c7bc102c5a Max happiness in gen 8 is 160 2019-12-05 03:01:59 +04:00
urkerab
01b6fcc4ca Improve GMax Centiferno, GMax Sandblast and GMax Sweetness (#6148)
- GMax Centiferno applies Fire Spin
- GMax Sandblast applies Sand Tomb behind Substitute
- GMax Sweetness cures despite Substitute or Sap Sipper
2019-12-05 02:21:13 +04:00
ZardMX
3cdebcc3a6 Add Obstruct in list of protection moves (#6124) 2019-12-04 10:32:22 -05:00
Guangcong Luo
a01e2a26bc Fix Darmanitan-Galar-Zen crash 2019-12-04 13:52:44 +09:00
whales
95afe1acc7 Octolock can't hit ghost types (#6137)
Co-Authored-By: Marty-D <Marty-D@users.noreply.github.com>
2019-12-04 13:36:01 +09: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
fart
d1f7dc0bce Snorlax-GMax Released (#6142)
https://serebii.net/swordshield/wildareaevents.shtml
2019-12-04 05:44:05 +04: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
8b19d099fb Random Battle updates 2019-12-04 01:12:48 +04:00
The Immortal
4f95f7adb7 Update Arceus/Silvally mechanics
Relevant to Hackmons, mostly.
2019-12-03 00:41:46 +04:00
The Immortal
198d8ac1ba Update LC banlist 2019-12-02 22:20:56 +04:00
Kris Johnson
9553a82506 Gmax Eevee, Meowth, and Pikachu shouldn't be LC/NFE (#6134) 2019-12-02 19:11:36 +04: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
Kris Johnson
953531cb6f Add inheritsLearnsetFrom property (#6133) 2019-12-02 21:15:48 +09:00
Guangcong Luo
24fe6b8781 Fix Mago/Wiki Berry descriptions 2019-12-02 17:25:40 +09:00
Guangcong Luo
8484c3312a Optimize Tar Shot 2019-12-02 15:10:56 +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
d9c49a2861 Team Preview: Hide items in gen 8 2019-12-02 07:02:19 +04:00
The Immortal
9a0258c128 Meltan doesn't evolve in Sw/Sh
Or even in Let's Go.
2019-12-02 05:02:22 +04:00
The Immortal
4b5c65ac98 STABmons: Prevent Max moves 2019-12-02 04:14:12 +04:00
The Immortal
4ebfac459e Random Battle fixes 2019-12-02 02:40:14 +04:00
The Immortal
c75da0f8f1 Random Battle: Update levels 2019-12-02 00:07:33 +04:00
The Immortal
867e0edfc8 Toxtricity is not tiered separately 2019-12-01 23:59:43 +04:00
The Immortal
6a14a8ed81 December tier update 2019-12-01 23:27:52 +04:00
The Immortal
6055be5624 Random Battle improvements 2019-12-01 21:45:30 +04:00
YaBoiJD
c6ccb747b5 Add 'Past' values for isUnreleased (#6128) 2019-12-01 23:11:20 +13:00
HoeenHero
5c75f0463c Dont turn status moves into G-Max Moves 2019-11-30 16:55:20 -05:00
420Blazeitt
f64bd4e9d3 Defog now removes terrains and G-Max Steelsurge (#6126) 2019-12-01 10:18:14 +13:00
YaBoiJD
546065a10d Update National Dex Mechanics (#6108)
Pokemon that are holding an Item that enables Mega Evolution, Primal Revision, or the use of a Z-Move cannot Dynamax. A Rayquaza that can Mega Evolve also cannot Dynamax.

Also fixes an alias loop with the national dex format/ruleset.
2019-11-30 14:50:09 -05:00
Quinton Lee
aa741c1e0a
Fix National Dex alias 2019-11-30 13:27:23 -06:00
Kris Johnson
1fe47eabdd Add Utility Umbrella (#6120) 2019-12-01 01:24:25 +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
urkerab
61ca16f530 G-Max moves should run their effects against a substitute (#6110) 2019-11-30 10:17:10 +13:00
urkerab
4db904df6a Fix two issues with Magic Powder (#6113) 2019-11-29 19:52:49 +04:00
Spandan Punwatkar
97e910a093 National Dex: Ban Unobtainables (#6105) 2019-11-29 23:34:10 +13:00
The Immortal
acd111e7d3 Mix & Mega: Allow native megas 2019-11-29 13:20:35 +04:00
TheMezStrikes
b0dcf0d597 Fix NFE clause in battles (#6109) 2019-11-29 11:51:21 +04:00
HoeenHero
7957e74b75
Dynamic speed updates for Gen 8 (#6100)
In Generation 8, a Pokemon's speed updates dynamically. Meaning that it can move sooner than expected if its speed is modified by something such as tailwind or swift swim. This is different from past generations where the Pokemon's updated speed would only take effect the next turn.
2019-11-28 17:08:58 -05:00
Guangcong Luo
903c297b39 Fix Disguise descriptions
Fixes #6064
2019-11-29 10:06:20 +13:00
Guangcong Luo
cc1f13cf24 Fix G-Max Wildfire
(It does 1/6 damage and doesn't hit Fire types)

Fixes #6104
2019-11-29 10:02:33 +13:00
Spandan Punwatkar
3deb1c69c4 Dexsearch: Allow searching national dex (#6106) 2019-11-28 12:40:30 -05:00
Spandan Punwatkar
0e8ee00acb Add Eternamax forme for Eternatus (#6081) 2019-11-28 12:24:47 -05:00
Spandan Punwatkar
b6b66de896 Update Repo Links (#6102) 2019-11-28 12:47:38 +04:00
Spandan Punwatkar
d1f79e5108 Add alias for Drapion (#6101) 2019-11-28 18:19:23 +13:00
Guangcong Luo
b4ce0c32e3 Fix G-Max Finale again
Our newest research shows that it heals by 1/6 of max HP.
2019-11-28 18:16:02 +13:00
Guangcong Luo
1d2921eb8b Add Grass Knot Dynamax failure message 2019-11-28 18:16:01 +13:00
TZubiri
01dea52db9 Fix Disguise HP loss from 1/10 to 1/8 (#6094) 2019-11-28 15:48:47 +13:00
The Immortal
224465f6f7 Remove Moody Clause from Standard ruleset 2019-11-28 02:52:39 +04:00
ZardMX
00ea982c61 Add full desc for Max moves (#6098) 2019-11-28 11:02:33 +13:00
Marty-D
5390d4b402
Fix Dauntless Shield and Intrepid Sword 2019-11-27 11:30:21 -05:00
HoeenHero
661f52f2c3 Fix crash with Disguise in Gen 7 2019-11-27 08:35:51 -05:00
TheMezStrikes
650a8e49f0 Add aliases for max moves (#6079) 2019-11-27 21:54:29 +13:00
Spandan Punwatkar
599a6e39fc Add some Gen 8 aliases (#6069) 2019-11-27 18:57:17 +13:00
ZardMX
83ecf3984d Clarify doubles interactions for Max moves (#6076) 2019-11-27 18:56:48 +13:00
Guangcong Luo
c04898eab1 Remove Substitute upon Dynamaxing
Fixes #6089
2019-11-27 17:15:42 +13:00
Guangcong Luo
9777c2f344 Remove redundant zMovePower entries
(They're now filled in by the Move constructor.)
2019-11-27 17:15:42 +13:00
Guangcong Luo
4959b70c17 Fix G-Max Finale to be a draining move 2019-11-27 17:15:41 +13:00
The Immortal
bb2ec85564 Random Battle: Improve Avalugg 2019-11-27 04:48:24 +04:00
HoeenHero
7397aa9678 Jaw Lock trapping should end when one pokemon faints 2019-11-26 18:20:09 -05:00
The Immortal
e020334a78 Fix NFE Clause 2019-11-27 02:51:01 +04: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
951d9df6aa Zen Mode: Fix and remove duplicate code 2019-11-26 23:25:18 +04: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
420Blazeitt
7319f35ff1 Vice Grip -> Vise Grip in Learnsets (#6093) 2019-11-26 13:34:28 -05:00
HoeenHero
b2625ed70c Remove formeLetters
We don't use these at all currently and they are starting
to overlap. As discussed at the start of Gen 8 development
were removing them now.
2019-11-26 13:26:17 -05:00
HoeenHero
44a7fa0946 Make Dynamax checks more dynamic
Specifically we now check the battle.canDynamax method when
notifying a player about their pokemon's eligibility to dynamax.

This enforces the fact that pokemon that are transformed into
dynamax ineligible pokemon cannot dynamax themselves.

As a result of this change the pokemon.canDynamax flag is unnessecary
and has been refactored to a side.canDynamax flag. All pokemon specific
dynamax checks should use the battle.canDynamax method.
2019-11-26 13:05:38 -05:00
HoeenHero
c0c9bca26b Mark various berries as unreleased in Gen 8 2019-11-26 12:55:49 -05:00
PartMan
e4fbac0d29 Steel Beam hits one adjacent Pokemon (#6074)
Source:
https://pokemondb.net/move/steel-beam
https://pokemon.fandom.com/wiki/Steel_Beam
https://www.serebii.net/attackdex-swsh/steelbeam.shtml
2019-11-26 14:48:13 +04:00
PartMan
ec0ea11d82 Explain Gulp Missile (#6077)
Make Gulp Missile actually explain what it does. This implementation is a bit wordy, though.
2019-11-26 22:42:18 +13:00
ZardMX
c3211652c6 Fix Octolock not activating certain abilities (#6065) 2019-11-26 20:51:21 +13:00
supermii2
cf10a81985 Fix Ice Stone description (#6075)
Description reflects that it can evolve Galarian Darumaka into Galarian Darmanitan
2019-11-26 20:50:25 +13:00
The Immortal
767433dbb7 Fix Clangorous Soul 2019-11-26 01:41:49 +04:00
The Immortal
67870d344b Implement Punk Rock correctly 2019-11-26 01:20:31 +04:00
The Immortal
ac0f865d9a Rename NatDex Anything Goes
And add the thread link.
2019-11-26 00:11:18 +04:00
The Immortal
4110ead42b Fix VGC 17 & re-add US/UM Doubles UU 2019-11-25 20:58:14 +04:00
TheMezStrikes
4e43d64f2c Update format aliases for gen 8 (#6052) 2019-11-25 16:04:35 +04:00
HoeenHero
8792d7345f Most past gen items should still be illegal (#6066) 2019-11-25 22:00:12 +13:00
PartMan
265996a2b4 Shorten Ice Scales shortDesc (#6067) 2019-11-25 20:28:46 +13:00
Guangcong Luo
740004f23e Fix Moody shortDesc 2019-11-25 20:23:09 +13:00
The Immortal
cb98a190c9 Reduce G-Max Finale healing
Not sure what the exact ratio is but half is much closer to the correct value.
2019-11-25 07:22:54 +04:00
The Immortal
d9f3a24462 STABmons: Fix Galar Pokemon 2019-11-25 07:19:59 +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
eff4d957e7 NatDex: Add ruleset & sort OU banlist 2019-11-25 03:06:31 +04:00
Kris Johnson
562c042d28 Fix Gmax Pikachu, Eevee, and Meowth hidden abilities (#6063) 2019-11-24 19:51:54 +13:00
The Immortal
0f1d2b0b5c
Allow Stick in past gens 2019-11-24 06:29:14 +04:00
Guangcong Luo
ed10023df9 Fix G-Max Wildfire/Volcalith mechanics 2019-11-24 14:11:23 +13:00
HoeenHero
05aecec2cd Let Wildfire/Volcalith volatiles end naturally 2019-11-23 19:54:08 -05:00
urkerab
8502de49d8 G-Max Snooze shouldn't affect already statused foes (#6054) 2019-11-24 13:32:06 +13:00
HoeenHero
792396c391 Also fix G-Max Volcalith 2019-11-23 19:25:01 -05:00
HoeenHero
a16de0b698 Use pokemon arguments for G-Max Wildfire's effect 2019-11-23 19:08:34 -05:00
PartMan
d9cd828c0a Add Stick / Rename Vice Grip (#6046) 2019-11-24 12:00:42 +13:00
PartMan
0ed2874932 Clarify misleading move/ability descriptions (#6009) 2019-11-24 11:52:32 +13:00
ZardMX
6094cf5e4b Fix Clangorous Soul not showing up in /ms (#6053) 2019-11-24 10:58:30 +13:00
PartMan
a79bb072a4 Update moves' shortDesc (#6055) 2019-11-24 10:36:56 +13:00
PartMan
caaea5934b Make Max moves deal 25% through Obstruct (#6060) 2019-11-24 10:13:51 +13:00
Kris Johnson
b732a0f0a6 Add missing G-Max moves (#6045) 2019-11-24 10:13:15 +13:00
Kris Johnson
413b28b36f Fix lockedmove volatile interaction with Max moves (#6050) 2019-11-23 22:37:07 +04:00
TZubiri
68593cd168 Updated dark pranster immunity message for gen 8. (#6041) 2019-11-23 20:38:31 +04:00
The Immortal
e8461496ff Update CAP data
- Add gens
- Sort them by evolution family and re-number
2019-11-23 20:11:13 +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
Kris Johnson
d7d2e2868e Cramorant always changes to Cramorant-Gorging if its HP is 50% or less (#6043) 2019-11-23 01:20:56 +04:00
The Immortal
987d31f8e4 Implement Power Spot 2019-11-22 23:22:36 +04:00
The Immortal
240034d6fb Implement Steely Spirit 2019-11-22 23:17:13 +04:00
The Immortal
492f5ac7d5 Remove Moody Clause from Doubles ruleset 2019-11-22 22:38:57 +04:00
The Immortal
8eb6deb3a3 Bolt Beak & Fishious Rend double against switches 2019-11-22 22:35:40 +04:00
PartMan
9da9c99507 Eternabeam is one word (#6049) 2019-11-22 17:16:28 +04:00
HoeenHero
cd8b85b5a0 Fishious Rend is boosted by Strong Jaw
https://www.smogon.com/forums/threads/3655528/page-15#post-8288436
2019-11-21 20:42:24 -05:00
The Immortal
9c56269e3e
Steel Beam has 95 accuracy 2019-11-22 01:39:33 +04:00
The Immortal
0805535b40 Flag rest of the unusable moves as Past 2019-11-22 01:07:05 +04:00
The Immortal
f46923173a Update OM clauses 2019-11-21 23:54:57 +04:00
The Immortal
ebd501bb04 Update Dynamax messages 2019-11-21 18:01:32 +04:00
Kris Johnson
36eed8cca0 Fix Life Dew (#6044) 2019-11-21 13:46:16 +04:00
HoeenHero
52d8afcab2 Add Gulp Missile 2019-11-20 22:36:22 -05:00
Marty-D
20230d4b9f
Fix typo in Octolock removal 2019-11-20 21:14:06 -05:00
The Immortal
9e55c775b6 Random Battle: Fix Delibird and Salazzle 2019-11-21 03:56:24 +04:00
Jordan Shenfield
11b9c58d23 Fix Stuffed Cheeks (#6023) 2019-11-21 12:42:52 +13:00
The Immortal
4a06a92fd6
Court Change affects Tailwind 2019-11-21 03:08:54 +04:00
Guangcong Luo
744b25935d Dynamax moves are immune to Encore etc 2019-11-21 11:59:13 +13:00
The Immortal
7432ebcc92
Pyro Ball is a bullet move 2019-11-21 02:15:56 +04:00
The Immortal
bb370216e0 Set Gems to Past items 2019-11-20 23:23:05 +04:00
HoeenHero
10b8641465 Correct Max & GMax move targeting 2019-11-20 14:00:04 -05:00
HoeenHero
43b22a04fd Fix dynamax targeting in doubles 2019-11-20 08:55:25 -05: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
930540d04b Metronome can't call Dynamax moves 2019-11-20 22:06:21 +13:00
420Blazeitt
acbe8b8404 Cause G-Max Steel Surge hazards to be removed (#6026) 2019-11-20 12:51:57 +04:00
Kris Johnson
8370c488ce Fix the evolution method of new Pokemon (#5982) 2019-11-20 21:44:16 +13:00
Guangcong Luo
b97b426f26 Fix SSB crash 2019-11-20 21:43:01 +13:00
Kris Johnson
480a96998f Fix various LC tiers (#6033) 2019-11-20 21:39:56 +13:00
Guangcong Luo
4a3fd8717e Update Moody
Fixes #6027
2019-11-20 21:28:50 +13:00
Kris Johnson
755e76f253 Fix Tar Shot (#6029) 2019-11-20 20:42:07 +13:00
Guangcong Luo
621d55646a Don't change Ability for temporary forme changes
Fixes #6025
2019-11-20 20:23:05 +13:00
Guangcong Luo
86467ce1bd Fix Octolock
Fixes #5968
2019-11-20 19:53:29 +13:00
Quinton Lee
c3426bd934 Learnsets: fix typo in Roselia's learnset 2019-11-19 20:49:58 -06:00
The Immortal
97689e931a Add Dynamax Clause 2019-11-20 03:20:00 +04:00
The Immortal
426c013cae Add Gmax events 2019-11-20 03:04:16 +04:00
Guangcong Luo
09412bb570 Dynamaxed Pokemon can't be forced out
Fixes #6007
2019-11-20 11:31:27 +13:00
YaBoiJD
bc0d0174d2 Fix Mewtwo-Mega-X & Mewtwo-Mega-Y tiers (#6020) 2019-11-20 01:52:56 +04:00
The Immortal
464c67daa2 Random Battle improvements 2019-11-20 01:46:06 +04:00
The Immortal
6575dbe1f6 Implement G-Max Steelsurge
And remove the unneeded Dynamax checks from G-Max moves as they can't be used outside Gigantamax.
2019-11-20 01:45:32 +04:00
The Immortal
d4da290613 Yamper's ability is Ball Fetch 2019-11-20 01:13:37 +04:00
Guangcong Luo
9c970035e5 Fix "visegrip" spelling
Fixes #6010
2019-11-20 09:39:04 +13:00
The Immortal
0e358e0108 random6Pokemon: Use sampleNoReplace 2019-11-20 00:23:46 +04:00
The Immortal
74a2a3f7af Fix previous commit 2019-11-20 00:19:55 +04:00
The Immortal
f1662921e1 G-Max moves aren't real
They can't be hacked onto Pokemon.
2019-11-20 00:09:17 +04: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
ef53aae40c Destiny Bond doesn't affect Dynamax 2019-11-19 20:57:04 +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
The Immortal
a28aabdac7 Max Flare is 100 BP 2019-11-19 20:03:08 +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
The Immortal
e8dec9a44c random6Pokemon: Support limited Dex
Closes #5976
2019-11-19 18:44:36 +04:00
Christopher Monsanto
ccd0e34c33 Fix previous gen Gumshoos forme (#6014) 2019-11-19 17:31:54 +04:00
Kris Johnson
269886eab3 Fix Max moves' interaction with non-dynamaxed Pokemon (#6013) 2019-11-19 16:36:16 +04:00
The Immortal
2539d885ac Random Battle: Add Cursola and fix Cinderace 2019-11-19 09:32:58 +04:00
420Blazeitt
9ed1dec6bf Fix Max Move effects not activating against substitute (#5997) 2019-11-19 17:17:52 +13:00
The Immortal
a7f5ba92ca Update formats for gen 8 2019-11-19 08:05:42 +04:00
The Immortal
021be9c112 Pokedex: Remove Eternamax remnant 2019-11-19 05:18:54 +04:00
Kevin Lau
3e211e1ffa Random Battle: Update Greedent (#6002) 2019-11-19 04:32:58 +04:00
Alumn
e20d6c3db0 Fix Dragon Darts in Doubles (#6000) 2019-11-19 12:05:13 +13:00
The Immortal
d9a617b0e9 Correct Disguise descs 2019-11-19 00:14:36 +04:00
Nol
075cb04def Fix Spirit Break base power (#5999) 2019-11-19 00:02:58 +04:00
The Immortal
eb905cbe92 Implement Disguise damage 2019-11-18 23:58:00 +04:00
Alumn
7b55fbc537 Fix Tar Shot (#5995) 2019-11-19 05:25:14 +13:00
Nol
5fddc67576 Add dance flag to Clangorous Soul (#5989) 2019-11-19 04:58:34 +13:00
PartMan7
d648f3130e Update shortDesc with Intimidate interactions (#5996) 2019-11-19 04:53:13 +13:00
The Immortal
d86f84a470 Add tutor moves to SwSh starters 2019-11-18 16:13:12 +04:00
The Immortal
7f20f80c8c Add event Silvally 2019-11-18 16:08:39 +04:00
Kris Johnson
7c7d9d79a4 Remove Meowth-Gmax's learnset (#5993) 2019-11-18 18:23:12 +13:00
urkerab
2eec58ee10 Effects of (G-)Max Moves should not be secondaries (#5983) 2019-11-18 12:22:11 +13:00
The Immortal
fa3b306b33 Random Battle updates 2019-11-18 00:02:35 +04:00
Lusamine
173e1509c0 Fix Corsola-G's Speed (#5988) 2019-11-17 23:29:25 +04:00
PartMan7
69951a3fe2 Make Libero descriptions match Protean (#5986) 2019-11-18 08:14:17 +13:00
Guangcong Luo
6de97db219 TypeScript event handler types 2019-11-18 07:02:32 +13:00
Guangcong Luo
2601450517 Fix Ice Face 2019-11-18 06:23:24 +13:00
Alumn
a56270fee5 Make Pyro Ball viable (#5984) 2019-11-17 19:37:04 +04:00
The Immortal
224f9a3a39 Fix Ice Face 2019-11-17 19:35:38 +04:00
The Immortal
ed3a6e73aa Dynamax: Add hint on switch out
Dynamax has no actual text in Wi-Fi battles. I left the Start/End messages for now and just added a hint on Switch.
2019-11-17 19:09:27 +04:00
420Blazeitt
77e4d694b9 Disallow Vivillon formes in gen 8 (#5980) 2019-11-17 17:53:29 +04:00
The Immortal
b78c7a8ff8 Enable Ice Face mechanics 2019-11-17 17:51:39 +04:00
Guangcong Luo
4fc49bc7f9 Fix Body Press
Fixes #5975

Fixes #5979
2019-11-17 18:47:16 +13:00
Guangcong Luo
8565fd6d02 Don't let Gorilla Tactics lock into Max moves 2019-11-17 18:47:15 +13:00
Guangcong Luo
ab38ef82cd no-multi-spaces should be an eslint error 2019-11-17 18:47:13 +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
TapoCollino
ca392d979c Fix Max Guard damaging user (#5977) 2019-11-17 06:45:01 +04:00
The Immortal
a6bd62a51b Remove unneeded isUnreleased flags for LGPE moves 2019-11-17 05:33:37 +04:00
The Immortal
5b5750db68 Change Tea Time to Teatime 2019-11-17 05:24:13 +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
Marty-D
d2841edcfe
Correct Steam Engine boost 2019-11-16 17:33:33 -05:00
Alumn
bc745ed4fe Fix Jaw Lock and Strange Steam descriptions (#5972) 2019-11-16 17:09:00 -05:00
Kris Johnson
6355363be4 Fix Pikachu-Gmax's number (#5973) 2019-11-17 01:12:02 +04:00
The Immortal
34ccd2536a Lombre is NFE 2019-11-17 01:09:22 +04:00
The Immortal
b1b7157275 Update Random Battle levels 2019-11-17 01:06:03 +04:00
The Immortal
eba141fb94 Correct Magearna-Original tier 2019-11-17 01:05:48 +04:00
The Immortal
f3ae4bbec9 Pokedex: Fix typo 2019-11-17 00:20:45 +04:00
The Immortal
df45776a79 Lombre is not a tier 2019-11-16 23:51:11 +04:00
Guangcong Luo
6fb922930d Fix Toxel evolution 2019-11-17 08:47:41 +13: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
57626ea484 Correct unreleased hidden abilities 2019-11-16 23:07:27 +04:00
Marty-D
35c4361762
Fix Court Change target 2019-11-16 13:54:26 -05: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
dcf12cec13 Fix Court Change 2019-11-17 07:45:57 +13:00
Guangcong Luo
cc84d1c4f1 Fix some Z crystals being allowed 2019-11-17 07:26:10 +13:00
Guangcong Luo
1082258f84 Clangorous Soul can self-target through Soundproof 2019-11-17 07:26:10 +13:00
Guangcong Luo
5b6771091d Choice items don't boost stats during Dynamax 2019-11-17 07:26:09 +13:00
The Immortal
c5bfbecbe0 Random Battle: Clean up 2019-11-16 21:41:51 +04:00
Guangcong Luo
e27233307f Display Dynamax as a volatile status 2019-11-17 06:32:20 +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
Guangcong Luo
41d957919b Update Tar Shot
- Fix description
- Give it 2x damage instead of 1.2x for now (we don't know the real
  value yet, but 2x seems more likely, and will be more fun anyway)
2019-11-17 06:32:15 +13:00
asgdf
f498a03da6 Fix Pokemon in pastgen randbats sometimes having no moves (#5970) 2019-11-16 21:25:41 +04:00
Marty-D
46baf9db2c
Dex: Add Hattrem height and weight 2019-11-16 11:01:30 -05:00
Marty-D
a21f8949f4
Dex: Update gender ratios 2019-11-16 10:39:45 -05:00
TheMezStrikes
37d6ba5e02 Add shortDesc to abilities (#5966) 2019-11-16 10:12:08 -05:00
HoeenHero
6253a77d3f Use level 10 dynamax power for HP changes 2019-11-16 10:02:12 -05:00
HoeenHero
7ac8663556 Add default BP for Gen 8 Max Moves 2019-11-16 09:53:53 -05:00
HoeenHero
34649c12ae Trigger dynamax switch out events sooner 2019-11-16 09:00:03 -05:00
HoeenHero
f28921d2d2 Do not go under 0 HP when dynamax ends 2019-11-16 08:48:17 -05:00
HoeenHero
a9f0f752d3 Fix choice lock - dynamax interaction 2019-11-16 08:44:31 -05:00
HoeenHero
fd46616a93 Max Move's categories should reflect the base move 2019-11-16 08:18:56 -05:00
Enrii
e057dd2c14 Fix move name for Grav Apple (#5964) 2019-11-17 02:13:54 +13:00
Kris Johnson
aba6615eca Fix Zen Mode (#5960) 2019-11-16 20:21:56 +13:00
Zakuree
9cdaf10d35 Fix Dragon Darts move name (#5959) 2019-11-16 20:19:01 +13:00
Guangcong Luo
5e6b17beac Fix Darmanitan-Zen-Galar 2019-11-16 20:04:08 +13:00
Guangcong Luo
04799f5c1e Restrict Z-crystals and mega stones to Gen 7 2019-11-16 20:00:53 +13:00
Enrii
5912ff317e Added shortDesc for new abilities (#5962) 2019-11-16 20:00:10 +13:00
The Immortal
d144de991a Random Battle fixes 2019-11-16 09:48:37 +04:00
The Immortal
de7c22bc86 Allow Double Iron Bash in Hackmons 2019-11-16 09:13:58 +04:00
The Immortal
645f5d48aa Fix Breaking Swipe 2019-11-16 09:10:34 +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
The Immortal
3bd93ca15e Fix Clangorous Soul 2019-11-16 08:57:45 +04:00
HoeenHero
c7d31804de Fix issues with Max Guard priority 2019-11-15 23:46:43 -05:00
Kris Johnson
d73f05dc0c Check if the target is Dynamaxed for weight moves (#5957) 2019-11-15 23:22:24 -05:00
HoeenHero
1f324ce065 Dynamax should bypass choice lock
While a pokemon is dynamaxed, they can use any of
their moves. Once it ends, they are locked back in
to the move they were originally locked into.
2019-11-15 23:09:18 -05:00
The Immortal
752e2b8537 Random Battle: Fix Virizion 2019-11-16 08:06:24 +04:00
Kevin Lau
f85f721319 Random Battle: Update Coalossal (#5956) 2019-11-16 08:04:52 +04:00
HoeenHero
8f1e5c917e Fix Shedinja's HP when dynamaxing 2019-11-15 23:03:20 -05:00
HoeenHero
e9a686e9e0 Comment out unsupported protocal, add placeholder 2019-11-15 22:49:44 -05:00
Kris Johnson
463c2a46a8 Fix Hoothoot's tier (#5955) 2019-11-15 22:44:55 -05:00
HoeenHero
e9edcb98ac Fix typo in Will-O-Wisp 2019-11-15 22:44:21 -05:00
HoeenHero
9e5f325902 Restrict gen 8 legendaries from Dynamax 2019-11-15 22:39:46 -05:00
The Immortal
544ab88b8d Fix new Pokemon gender 2019-11-16 07:20:00 +04:00
HoeenHero
e6a900702d Fix dynamax onSwitchOut 2019-11-15 22:17:59 -05:00
Kris Johnson
4bb2cc1ad6 Update Sirfetch'd's evolution condition (#5954) 2019-11-15 21:51:51 -05:00
Guangcong Luo
dae569ecc4 Fix Hatenna spelling 2019-11-16 15:40:24 +13:00
HoeenHero
9ecbcabee9
Dynamaxing (#5946) 2019-11-15 21:33:10 -05:00
420Blazeitt
84dc57aafe Add Fossils (#5953) 2019-11-16 06:31:47 +04:00
Kris Johnson
2c2084dbb7 Remove Eternatus-Eternamax (#5947) 2019-11-16 06:31:05 +04: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
Kirk Scheibelhut
f058731311 Fix typos in data/moves.js 2019-11-15 14:11:39 -08:00
The Immortal
1a90dc71db Fix Rusted Shield/Sword 2019-11-16 01:52:32 +04:00
The Immortal
556950bfda Update random6Pokemon to pick legal Pokemon only 2019-11-16 01:25:46 +04:00
Guangcong Luo
84fb8d5bb4 Fix some build crashes 2019-11-16 10:13:27 +13:00
420Blazeitt
a7e21f28e7 Fix certain Gen 8 Pokemon's stats (#5949) 2019-11-16 01:02:11 +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
Marty-D
5d6f610138
Dex: Touch up Crowned and Gigantamax forme names 2019-11-15 14:55:07 -05:00
Marty-D
22fb086cfb
Dex: Swap Amped and Low Key formes 2019-11-15 14:12:29 -05:00
Kris Johnson
72076e56c2 Fix Dragapult's species (#5948) 2019-11-16 07:59:06 +13: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
a19ad51a20 Fix one part of the build (#5945) 2019-11-16 00:08:28 +13:00
Ezaphs
1608c2387e Add Gen 8 learnsets, Max and G-Max moves (WIP) 2019-11-15 22:02:38 +13:00
Kris Johnson
5447da1f1a Add Mew event 2019-11-15 22:02:30 +13: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
TheMezStrikes
0c7f04356d Generalize NFE bans into validator rule (#5942) 2019-11-11 17:42:30 +13:00
urkerab
4ab68a3440 Refactor Toxic from Poison types against semi-invulnerability (#5930) 2019-11-06 19:51:22 -05:00
Waleed Hassan
92b2c128c2 Upgrade to TypeScript 3.7 (#5935) 2019-11-06 23:02:36 +10:30
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
pokemonvortex
bac81b59db Fix Blast Burn wording for consistency (#5927) 2019-11-03 10:50:09 -05:00
The Immortal
615f16c94d STABmons: Prevent unreleased moves 2019-11-03 05:36:53 +04:00
420Blazeitt
96cc1ed4f9 SSB: Bugfixes (#5922) 2019-10-31 09:16:53 -04:00
Marty-D
ea5d9d70dd Gen III-IV: Correct Intimidate boost attribution 2019-10-30 19:36:03 -04:00
HoeenHero
dedc8e067c SSB: Fix issue where a side has no active pokemon. 2019-10-30 11:00:14 -04:00
HoeenHero
4ced391d6b SSB: Apply various updates 2019-10-30 10:39:20 -04:00
The Immortal
87cdf35dd5
Update RBY tiers 2019-10-28 17:49:03 +04:00
YaBoiJD
149e0afac8 Add "ndm", "ndw", and "unecro" aliases for Necrozma formes (#5909) 2019-10-25 13:11:18 +10:30
HoeenHero
074b78be71 SSB: Improve Wonder Trade's interaction with Super Illusion 2019-10-24 21:56:07 -04:00
Kris Johnson
eeccd322ed Add "nidok" and "nidoq" as aliases for Nidoking/Nidoqueen (#5908) 2019-10-24 20:51:47 +10:30
urkerab
bae434e606 Add a single event for a move's own immunity to a specific target (#5904) 2019-10-24 11:00:28 +10:30
The Immortal
db1f2aa691 Remove Partners in Crime 2019-10-21 01:44:03 +04:00
420Blazeitt
74b3483da8 SSB: Fix Nap Time with existing status (#5836) 2019-10-20 08:55:03 -04:00
Marty-D
42a1ebe396 Add Shiny Tapu Koko event 2019-10-19 22:15:19 -04:00
Lusamine
6cc9212321 SSB: Correct Fat Rain descriptions (#5900) 2019-10-19 20:12:52 +04:00
Lusamine
f1ec1785b2 SSB: Fix Quick Reload to properly use Defog and then U-Turn (#5892) 2019-10-18 19:31:00 -04:00
420Blazeitt
b49de0960d SSB: Nerf Rach (#5889) 2019-10-18 19:26:08 -04:00
Lusamine
0053aa3adc SSB: Nerf Sundar (#5881) 2019-10-18 19:20:03 -04:00
Lusamine
880ebf2438 SSB: Fixes Pirate Princess's Tea Break vs Substitute (#5893) 2019-10-18 12:00:53 +04:00
urkerab
00d6e9d741 Fix activation of Defiant and Competitive when boosts are maxed (#5895) 2019-10-18 13:32:07 +10:30
urkerab
5b9d0c8db6 Centralise invulnerability checks for No Guard and Lock-On (#5894) 2019-10-17 22:32:44 -04:00
urkerab
3bfec7bf2f Rename TryImmunity to Invulnerability (#5877)
It's a check for semi-invulnerability rather than any sort of immunity.
2019-10-16 20:12:12 -04:00
The Immortal
a3233ee09c Random Battle: Fix Dragonite/Salamence 2019-10-16 16:01:59 +04:00
Lusamine
dcb438c041 Update vivalospride's and Rage's ranks (#5887) 2019-10-16 04:22:35 +04:00
The Immortal
756e21ff1b CC: Fix Necrozma 2019-10-16 00:50:55 +04:00
Guangcong Luo
92c0011b93 Fix HP Fighting Mega Latias validation 2019-10-15 21:00:40 +10:30
Guangcong Luo
e97bb7462a Fix healing move messages at full HP
Fixes #5885

Fixes #5746
2019-10-15 20:32:32 +10:30
The Immortal
773dcdc6f4 Random Battle: Improve Lycanroc & Bruxish 2019-10-13 20:36:38 +04:00
Lusamine
66966f40d0 SSB: Fix Jolteonite's description (#5874) 2019-10-12 15:47:45 +04:00
Marty-D
6030ca127d CAP: Nerf Equilibra
https://www.smogon.com/forums/posts/8253336/
2019-10-11 21:04:44 -04:00
Torracat
d3cd75ce8d SSB: Convert Distortion World to a Pseudo Weather (#5868) 2019-10-11 18:14:24 -04:00
Lusamine
2608ca74fc SSB: Buff Iyarito, rename signature move (#5870) 2019-10-11 17:19:47 -04:00
Torracat
baef9bcb77 SSB: buff Level 51 (#5869) 2019-10-11 17:19:19 -04:00
Lusamine
1145183ca0 SSB: Clarify Tipping Over short desc (#5862) 2019-10-11 17:09:33 -04:00
Lusamine
c3068e23de SSB: Fix typo in Volco's message (#5861) 2019-10-12 00:15:56 +04:00
Lusamine
6cbfe4c11a SSB: Buff ptoad (#5871) 2019-10-12 00:15:23 +04:00
Torracat
b27df882a2 Update Rory's quotes (#5872)
bad puns make the world go round
2019-10-12 00:15:06 +04:00
The Immortal
76db134959 Random Battle: Wigglytuff doesn't learn Memento 2019-10-11 23:09:51 +04:00
Alumn
eb083c46b8 Add a full ability description for Contrary + Simple (#5873) 2019-10-11 12:36:48 -04:00
The Immortal
6f78d6ec72 Random Battle: Fix Dhelmise 2019-10-09 05:26:24 +04:00
The Immortal
a57ee0bfed Random Battle improvements 2019-10-09 04:01:33 +04:00
Lusamine
1cbcb654c1 SSB: Update HoeenHero's rank (#5856) 2019-10-09 01:00:15 +11:00
Guangcong Luo
2adc80efe4
Improve egg validator (#5854)
Previously, we split gen 2-5 egg move validation into two phases,
`checkLearnset` where we searched for a valid father, and
`reconcileLearnset` where we made sure the father could learn the move
combination.

Egg move validation has now been completely moved out of these
functions and into `validateSource`, which calls `findEggMoveFathers`.

The new algorithm no longer requires `C` moves to be hardcoded into
`learnsets.js`, now doing a more thorough check validation for the
father's move combination. This should be slower than before, but
net performance should be massively improved due to two other
optimizations in this refactor:

- We no longer do any father-searching if the moveset can be obtained
  any other way - in particular, this means no more father validation
  in gen 6+ where all egg move combinations are legal anyway.

- We only check fully-evolved pokemon as fathers (because anything a
  prevo can learn, its evos can learn, too - yes, we remember to make
  exceptions for Salazzle, Combee, and future-gen evos)

In addition, `/learn` should now provide significantly better
information for egg move breeding, since it uses a more thorough check
instead of the validator's short-circuiting the moment it finds a valid
father.

This also improves some baby-only move validation, specifically fixing
the issue with Seismic Toss Charm Chansey.
2019-10-09 00:59:24 +11:00
Kirk Scheibelhut
691cf76de7 Fix EBC for external staleness via consumed Leppa 2019-10-05 15:41:18 -07:00
Guangcong Luo
7a023746ba
Refactor battle.dex out of battle (#5851)
In most other similar systems, like TeamValidator, we use `thing.dex` instead of having it extend `ModdedDex`. Battle has always extended `ModdedDex`, though. This changes Battle to match the others.

This should fix an issue with `Battle.data` not being cached.

This also frees up Battle to extend ObjectReadWriteStream<string> in a future update.
2019-10-06 07:38:08 +11:00
Torracat
86344e1de9 SSB: Properly update Snaq's health when switching out (#5837) 2019-10-05 14:55:31 -04:00
Torracat
ec388fd2d1 SSB: Trick Room & Alien Wave cancel eachother out (#5841) 2019-10-05 14:53:34 -04:00
Torracat
f088b25c83 SSB: Clarify Back Off's description (#5844)
The word "attacked" could mean that status moves can still work on it, which is not the case here.
2019-10-05 14:48:21 -04:00
Torracat
4be004510c SSB: Protect blocks Soup Stealing 7 star strike (#5848) 2019-10-05 14:47:52 -04:00
Guangcong Luo
3cd04c349e Fix missed conversions of validate -> obtainable 2019-10-06 04:32:23 +11:00
Guangcong Luo
71498d451d
New validator (#5840)
* Refactor validator

This is a major refactor intended to make the default rules easier to
understand, and also easier for OMs to bypass.

Removed rules:
- `Pokemon`: This is now `-Nonexistent`. Its previous name was intended
  to be interpreted as "simulate the Pokémon games exactly, and only
  allow what they allow". The new name should make it clearer that it
  mainly bans CAPs and other nonexistent Pokémon and functionality.
- `-Illegal`: This is now `Obtainable` (see below).
- `Allow CAP`: This is now `+CAP`. Instead of having a hardcoded rule,
  OMs can now be manually whitelist any pokemon/item/etc or group of
  them, overriding `-Nonexistent`.
- `Ignore Illegal Abilities`: This is now `!Obtainable Abilities` (see
  below).

`Obtainable` was previously `-Illegal`, and does the same thing: Makes
sure you have a regular Pokémon game with only Pokémon that can be
obtained without hacking.

But instead of being a ban, it's now a rule that does nothing by
itself, except contain more rules:
- `Obtainable Moves`
- `Obtainable Abilities`
- `Obtainable Formes`
- `Obtainable Misc`
- `-Nonexistent`
- `-Unreleased`

This allows OMs to piecemeal repeal and unban any of these individual
rules, instead of the previous approach of unbanning them all and
manually reimplementing every single validation you wanted to keep.

* Refactor PokemonSources into a class

This mostly just makes a lot of the weirder checks in the validator
substantially more readable.

This also renames `lsetData` to `setSources`, which should also help
readability.

* Validate Bottle Cap HP types

Fixes an issue reported here:

https://github.com/Zarel/Pokemon-Showdown/issues/5742#issuecomment-533850288

* Fix several move validation issues

Fixes #5742

We have a new MoveSource type: R for Restricted. R moves work like
level-up/tutor/TM moves, except you're limited to one R move.

- Shedinja move stolen from Ninjask in Gen 3-4 are now R moves instead
  of event moves. This allows them to coexist with Nincada egg moves.

- Necrozma-DW/DM now inherit moves/events from Necrozma (like Rotom,
  but with event validation). This allows them to be shiny.

- Pokemon can now get egg moves from their own evolutions. This fixes
  some Tyrogue, Charmander, and Treecko sets mentioned in #5742

- Some more C moves were added, fixing some Hitmontop and Chatot sets
  mentioned in #5742

* Improve ability/move compatibility validator
2019-10-06 04:21:30 +11:00
Kris Johnson
1d3fb35e9d SSB: Update Eien's rank (#5846) 2019-10-04 16:25:55 +10:00
Marty-D
236b9bc841 Fix Challenge Cup movepool generation 2019-10-03 22:19:58 -04:00
Marty-D
ee7e9fb66a Learnsets: Update Vivillon forms 2019-10-03 22:17:57 -04:00
Lusamine
7c7083b493 Add shiny Solgaleo/Lunala events (#5843) 2019-10-03 20:47:38 -04:00
urkerab
948257cce7 Change weight units to hectograms (#5765) 2019-10-03 14:00:16 +10:00
Lusamine
483839d1a8 SSB: correct Storm Assault OGs' description (#5835) 2019-10-01 22:37:35 -04:00
Marty-D
f8e933b7be Tiers: Update for October tier shift 2019-10-01 20:55:13 -04:00
HoeenHero
9a2c2adf82 Fix bad typing 2019-10-01 19:55:09 -04:00
HoeenHero
78a0fb0ad6 SSB: Update Inactive's Faint Message 2019-10-01 11:19:04 -04:00
Torracat
d977cc8aa4 SSB: Break Illusion on Scripted Terrain Corrupt (#5830) 2019-10-01 11:13:58 -04:00
whales
17fc8e5771 SSB: Fix rageee + beat up crash (#5829) 2019-10-01 11:12:08 -04:00
Lusamine
84b6ec486a SSB: Change Acid Rain so Steel/Poison retain immunities; Rewrite Corrosive Toxic (#5816) 2019-10-01 11:06:24 -04:00
The Immortal
ead81c7f79 Add new OMs of the Month 2019-10-01 16:20:02 +04:00
Honko
486a394d98 Gen 4 Random Battle improvements (#5828) 2019-10-01 16:11:28 +04:00
Lusamine
f78876640a Change Murky Ambush to only work on Physical attacks (#5825) 2019-09-27 23:03:18 -04:00
HoeenHero
3445da848a Move support for overwritting custom terrains to client.
This didnt work anymore anyways since setTerrain was moved from battle to field.
2019-09-27 22:53:49 -04:00
Lusamine
edada46463 Fix multiple places in SSB leaking Illusion (#5818) 2019-09-27 21:28:12 -04:00
Torracat
f9c50edf09 SSB: Fix OM + Illusion (#5820) 2019-09-27 13:14:20 -04:00
Lusamine
c8446e3c1f Fix SSB crash when Illusion copies Kay's innate ability (#5819) 2019-09-27 10:51:26 +09:30
Lusamine
a54e534b9b Fix SSB bug in Gracidea Mastery (#5817) 2019-09-26 17:05:05 +04:00
The Immortal
0e044687a6 Random Battle: Fix duplicate moves
Accidentally added in previous commit.
2019-09-25 22:40:53 +04:00
The Immortal
f005a5bfcf Random Battle updates 2019-09-25 17:14:39 +04:00
Lusamine
7dd2d2d18f Update SSB descs (#5813) 2019-09-25 08:07:07 -04:00
TheMezStrikes
da918d5e78 SSB: Akasianse is a girl (#5812)
I'm pretty sure I specified
2019-09-25 01:38:19 +02:00
Lusamine
edeb155448 Shorten descs, add speech (#5809) 2019-09-23 11:27:34 -04:00
HoeenHero
8723969e89 Fix Toxic Spikes in SSB 2019-09-22 22:29:35 -04:00
Torracat
e9ba49fb67 Ectoplasm should not bypass protect (#5808) 2019-09-22 22:02:59 -04:00
HoeenHero
c6e30cd2f4 Fix typo 2019-09-22 19:22:44 -04:00
Torracat
f29fcef26a SSB: Fix gz guishark (#5806) 2019-09-22 16:44:28 -04:00
HoeenHero
025d3e2f72 Fix Spikes in SSB 2019-09-22 16:39:35 -04:00
HoeenHero
7f7c2d9a95
Super Staff Bros Brawl Update (#5764) 2019-09-22 14:47:33 -04:00
The Immortal
dad61c43d5 Random Battle fixes 2019-09-19 21:21:32 +04:00
fart
007215d311 Update random-teams.js (#5793) 2019-09-18 05:17:52 +04:00
The Immortal
2b76546d84 Random Battle updates
In addition to various improvements, this commit removes unused LC and NFE random moves as they are outdated.
2019-09-18 02:12:42 +04:00
TheTiksiBranch
5550ef5155 Gen 3 Random Battle: Minor Move Generation Improvements (#5788)
* Gen 3 Random Battle: Minor Move Generation Improvements

* fix typo

* fix duplicate case
2019-09-17 17:50:34 +04:00
TheTiksiBranch
5451887047 Gen 3 Random Battle: Improve Movesets (#5787)
* Gen 3 Random Battle: Improve Movesets

* Revert removing Shadow Ball from Gengar
2019-09-17 17:49:39 +04:00
Lusamine
3d8b69f218 Add shiny Necrozma event (#5786) 2019-09-15 11:50:57 -04:00
The Immortal
de2e0e4ab7 CC: Fix multiple Hidden Powers Smeargle 2019-09-14 15:36:13 +04:00
The Immortal
5d5b82a689
Gen 1: Fix Omanyte in Random Battle 2019-09-13 15:09:33 +04:00
supermii2
f1de564999 Fixed a missing space in Grassy Terrain shortDesc (#5773) 2019-09-12 21:08:08 -07:00
Flametix
a374c6aa8b Fix typo in Gen 1 accuracy hint (#5771)
accurracy -> accuracy
2019-09-11 09:10:08 -07:00
The Immortal
b096c19aa9 Random Battle: Improve sets 2019-09-04 17:03:57 +04:00
The Immortal
eba65e878a Display abilities against Magic Guard
https://github.com/Zarel/Pokemon-Showdown/projects/3#card-23723659
2019-09-03 03:26:16 +04:00
The Immortal
2cf5ff1fcf Fix build 2019-09-03 02:32:18 +04:00
The Immortal
82e4217d46 Fix past gens Challenge Cup 2019-09-03 01:53:53 +04:00
The Immortal
44d637f7b1 Random Battle: Add sound move counter 2019-09-03 00:40:23 +04:00
The Immortal
e416b34129 Random Battle fixes 2019-09-02 04:58:35 +04:00
The Immortal
ada2e5ee46 Mergemons: Update bans 2019-09-02 01:24:45 +04:00
The Immortal
aba67d6db4 Random Battle: Add minimum speed for Life Orb 2019-09-01 21:16:54 +04:00
The Immortal
09311dba14 Fix Magician & Fling interaction 2019-09-01 20:46:18 +04:00
The Immortal
92d13b2463 Add new OMotM 2019-09-01 20:32:32 +04:00
The Immortal
26dfe8fd9e Revamp Random Battle
- New ability ratings
- Improve move pools
- Allow non-status moves to be re-rolled if rejected (this fixes all undesired move set combinations)
- Update move & ability rejections
- New item possibilities
2019-09-01 19:40:53 +04:00
Guangcong Luo
0fdaeea3db Fix spread move messages
In certain cases, a spread move that KOed an opponent would send an
incorrect message which could crash the client. This fixes that while
also simplifying the code.
2019-08-28 20:47:15 -05:00
fart
49416194db Add Celebrate Aerodactyl event (#5711) 2019-08-16 22:16:14 -04:00
Marty-D
196983430f Gen 3 OU: Add 3 Baton Pass Clause and ban Baton Pass Smeargle
https://www.smogon.com/forums/posts/8212796/
2019-08-16 21:39:06 -04:00
The Immortal
242b6bed9b Random Battle updates 2019-08-16 19:40:31 +04:00
Danofares
c7da0b1e82 Fix Toxic interaction with semi-invulnerable states (#5625) 2019-08-08 20:33:13 -04:00
Guangcong Luo
0cbb632521
Fix Blitz rule description 2019-08-07 10:54:52 -07:00
maxalexandderpi
e42cfac93e Update Blitz's description from 10s to 15s (#5681) 2019-08-07 09:22:21 +02:00
Marty-D
51932ab4f2
Linked: Fix crash 2019-08-04 15:59:42 -04:00
Ivo Julca
045fe45609 Linked: Make 2nd move autotarget when needed 2019-08-03 02:32:25 -05:00
Jacob McLemore
3af1c771c2 Fix Encore + Pledge moves interaction (#5641) 2019-08-01 20:31:38 -04:00
The Immortal
c285997991 Add August OMs 2019-08-01 18:53:43 +04:00
Kris Johnson
abe2ba1f5e UU: Allow Mimikyu (#5652) 2019-07-23 12:18:40 -05:00
ekmnoop
892551fc86 Fix alphabetization in data/moves.js (#5650) 2019-07-23 15:28:46 +02:00
ekmnoop
913395fa40 Fix alphabetization in data/moves.js (#5647)
sandstorm > sandtomb
2019-07-23 13:40:20 +02:00
Kirk Scheibelhut
57dd3b527f Add isPokeball field to Items data (#5644) 2019-07-22 16:20:09 -05:00
jmclemo6
e4ad7d894b Moves: Fix Flower Veil + Yawn interaction when ally is already under effect of Yawn 2019-07-21 14:21:42 -05:00
Jacob McLemore
cc69590c2e Fix Poison Touch interaction with self-targeting contact moves (#5640) 2019-07-21 10:24:46 -05:00
HoeenHero
bdfde21dae PU: Ban Guzzlord
https://www.smogon.com/forums/posts/8190551/
2019-07-21 09:50:11 -04:00
Danofares
5fb57e6cfc Don't show "It's a one-hit KO!" if move did not OHKO the target (#5637) 2019-07-21 08:29:30 -05:00
Kris Johnson
a1ccc6fe77 Gen 2 OU: Move Jynx/Golem to OU, Porygon2/Jolteon to UUBL (#5633)
https://www.smogon.com/forums/threads/3652655/
2019-07-19 22:20:10 -04:00
Guangcong Luo
3db1d9916c Deduplicate Template definition
It turns out Template is the only remotely-easy type to merge the class
and interface for.

The others all have a bunch of event methods which would need to be
redefined on the class.
2019-07-19 18:20:42 -05:00
Jacob McLemore
293867eb1c Pokedex: Correct evolution condition for Happiny (#5632) 2019-07-19 10:51:27 -05:00
Marty-D
4c1ee02de6
Gen 3 OU: Move Moltres to OU and Raikou to UUBL
https://www.smogon.com/forums/threads/adv-tier-changes-moltres-raikou.3652636/
2019-07-18 19:27:36 -04:00
Kirk Scheibelhut
875b02c816 Make Blitz/VGC Timer 'Rule' instead of 'ValidatorRule' 2019-07-17 12:14:35 -07:00
Jacob McLemore
bd55178ee8 Moves: Fix Psych Up's interaction with Focus Energy and Laser Focus (#5621) 2019-07-17 09:22:53 -07:00
Jacob McLemore
ed4b027b5b Update ts-ignore comment in Dancer codepath in scripts.js (#5619) 2019-07-16 20:52:17 -07:00
Jacob McLemore
7e4ebe44aa Make moves called by Dancer target properly (#5616) 2019-07-16 21:15:05 -04:00
Guangcong Luo
0cc534092a Support timer rules 2019-07-16 16:03:02 -05:00
Kirk Scheibelhut
d8dc151859 Fix dei -> di Japanese alias romanization 2019-07-15 10:18:12 -07:00
Kirk Scheibelhut
aea0d09cac Correct romanization in Japanese aliases 2019-07-10 19:50:06 -07:00
Marty-D
21a0d80d6a Gen I-II: Actually fix TOX -> PSN display 2019-07-09 21:25:16 -04:00
Marty-D
b3b553cfbd Gen V: Prevent illegal Huntail move combination 2019-07-09 21:23:07 -04:00
Guangcong Luo
413bf26d0d Correct .tier/.isNonstandard for future gens
Fixes #5243
2019-07-09 06:31:42 -05:00
Guangcong Luo
b1891ab6d4 Gen 1-2: Fix TOX -> PSN display
Because the TOX -> PSN change happened onSwitchIn, it wouldn't display
correctly on the first switch after TOX, requiring two switches to
display correctly.

This corrects the change to onBeforeSwitchIn, where it will display
correctly for the first switch.
2019-07-07 03:08:07 -05:00
urkerab
6155639fbc Fix Pickup/Recycle of Terrain Seed while terrain is up (#5594) 2019-07-06 21:19:31 -05:00
Marty-D
89deb387fb Add CAP 25 prevos 2019-07-06 20:24:56 -04:00
Marty-D
d2a84586a3
PU: Quickban Cinccino and Mega Abomasnow
https://www.smogon.com/forums/posts/8175322/
2019-07-05 19:48:53 -04:00
Kirk Scheibelhut
23ebc12a57 Fix last-slot Zoroark in random team generation 2019-07-01 13:17:43 -07:00
Marty-D
6c26bf68dc Tiers: Update for July tier shift 2019-07-01 15:52:04 -04:00
Kirk Scheibelhut
a61c10eeb8
Remove hardcoded URLs in favor of Config.routes (#5557) 2019-07-01 10:19:21 -07:00
Marty-D
f722ec9846 RU: Ban Linoone
https://www.smogon.com/forums/posts/8170548/
2019-06-29 18:56:35 -04:00
Kirk Scheibelhut
b6aad4eed0 Rework random teams to only perform 2 iterations (#5558) 2019-06-28 19:53:38 -07:00
Marty-D
208c22ad72
Fix multi-hit moves against Berserk/Emergency Exit/Wimp Out too 2019-06-27 17:01:36 -04:00
Kirk Scheibelhut
8fe6d89d14 Make sure randomly generated monotype teams are actually all one type 2019-06-27 12:10:03 -07:00
Kirk Scheibelhut
d279a95829 Ensure random team generation always ends up with 6 Pokemon (#5556) 2019-06-27 10:23:25 -07:00
Marty-D
605ce563ca
Fix Berserk/Emergency Exit/Wimp Out damage detection 2019-06-27 08:29:46 -04:00
The Immortal
9f8e20da8e Random Battle: Fix Monotype teams
And remove unused item selection.
2019-06-25 22:28:57 +04:00
Marty-D
c1dde231a9 CAP: Nerf Aurumoth 2019-06-25 10:23:06 -04:00
Marty-D
f65fe2c049 Don't stop moves before the first hit while asleep
The point of this check was to end a multi-hit move if you fell asleep to Effect Spore in the middle of the move, not be applied to every move (i.e. Doom Desire and Future Sight).
2019-06-22 20:38:47 -04:00
Marty-D
4b62546ab4 Fix Equilibra's gender 2019-06-20 14:16:50 -04:00
Marty-D
4e4d4725f9 Add CAP 26 Equilibra 2019-06-20 13:54:03 -04:00
Marty-D
611fab25a6
Fix Knock Off power against targets holding the user's species-specific items 2019-06-19 16:37:35 -04:00
Marty-D
591f4aa0ed NU: Ban Vileplume
https://www.smogon.com/forums/posts/8160298/
2019-06-17 10:19:25 -04:00
HoeenHero
a029157138 Gen II: Send Rest message while asleep for tracking sleep turns (#5537) 2019-06-14 09:04:11 -04:00
Marty-D
1671fe4e15
Fix Doom Desire/Future Sight on hit 2019-06-11 10:57:29 -04:00
asgdf
d12dc87c84 Fix Reflect Type interaction with typeless targets on client (#5533) 2019-06-11 09:25:06 -04:00
The Immortal
e8eaa319a7 Random Battle: Improve Cloyster 2019-06-10 16:55:32 +04:00
The Immortal
dbb0f0306b Gen 5 Random Battle: Fix Meloetta 2019-06-10 16:54:50 +04:00
Kevin Lau
09b6eba829 Random Battle: Update Heliolisk (#5523) 2019-06-10 16:25:14 +04:00
Danofares
8924245f5a Fix typo in Purify's shortDesc (#5529) 2019-06-09 12:59:05 -07:00
Marty-D
83845927ed
Gen IV: End Healing Wish and Lunar Dance's effects properly 2019-06-07 15:44:27 -04:00
Marty-D
e4574c4efb
Fix type-changing moves that rely on held items 2019-06-06 16:58:16 -04:00
urkerab
9abb7f11ab Don't share self-replacing abilities (#5526) 2019-06-05 16:39:58 -05:00
Marty-D
88400207ec
Tiers: Add June quick drops 2019-06-01 14:17:03 -04:00
The Immortal
878dde6bdc Update Other Metagames for June 2019-06-01 19:22:52 +04:00
Kirk Scheibelhut
db66195c26 Remove additional toID calls (#5503) 2019-05-23 18:11:26 +01:00
Marty-D
f8ad77f943 Gen IV: Add Soundproof description 2019-05-21 13:10:36 -04:00
Marty-D
bde086c600 Add Shiny Tapu Fini event 2019-05-21 13:09:29 -04:00
Marty-D
e2a2983050
Gen I: Fix multi-hit move damage against substitutes 2019-05-20 11:09:51 -04:00
Marty-D
c5ed893dc8
Tiers: Mega Tyranitar is actually OU by usage 2019-05-20 11:03:03 -04:00
Guangcong Luo
01804f988e Fix spread hit animation
Properly fixes https://github.com/Zarel/Pokemon-Showdown-Client/pull/1267
2019-05-16 12:52:13 +04:00
Guangcong Luo
7436c1f0f2 Remove import = and export =
`import =` and `export =` are really only intended for backwards
compatibility with CommonJS. While I really don't like the new module
system TC39 has designed for us, it's what we should be using, and
consistency is important.
2019-05-16 01:27:07 +04:00
Jacob McLemore
0ae5f842d3 Fix Fusion Bolt and Fusion Flare's interaction with each other (#5493) 2019-05-14 15:49:51 -04:00
Kirk Scheibelhut
9fb516a2a4 Update reference to EBC spec 2019-05-13 16:25:49 -07:00
Kirk Scheibelhut
3d24166cdf toId -> toID
Closes #5479
2019-05-12 17:53:01 -07:00
The Immortal
8019aeec10 Random Battle updates 2019-05-12 18:31:56 +04:00
HoeenHero
562c021273 SSB: Fix self-switch that do no damage 2019-05-09 20:28:41 -04:00
Kirk Scheibelhut
aeafb34a96 Fix double [still] in Gen 1 (#5491)
Moves with the 'charge' flag add the 'twoturnmove' volatile which
already handles adding [still].
2019-05-09 12:18:12 +09:30
Kirk Scheibelhut
be82a3b817 Move -mustrecharge message to onStart (#5488)
This way it doesn't show up at the end of the turn or get added 3 separate times.

Fixes #5462.
2019-05-08 16:39:56 -04:00
Kirk Scheibelhut
29430984f6 Only add the '-status slp' message in statuses (#5486) 2019-05-08 11:52:44 -04:00
The Immortal
5ca2ddbbea Random Battle: Remove Water Spout Kyogre-Primal 2019-05-08 05:05:21 +04:00
Kirk Scheibelhut
a0734bde6f Redo Endless Battle Clause with a new specification (#5472) 2019-05-07 11:18:06 +09:30
The Immortal
2935344fcd Move Lilligant to PUBL 2019-05-06 22:12:52 +04:00
Marty-D
611ddbd6f2 Fix crash in Trump Card 2019-05-06 12:23:36 -04:00
Martin Chukwu
5fd1a5844a Gen 2 Random Battles: Removed illegal moves (#5473) 2019-05-05 01:33:09 +04:00