Commit Graph

4711 Commits

Author SHA1 Message Date
TheTiksiBranch
686942c888 Update Useful Moves List (more) (#4126) 2017-11-15 15:59:24 -06:00
Guangcong Luo
26f5b6ba56 Add accents to Flabébé
Using Unicode combining acute accents allows the ID to remain
'flabebe'.
2017-11-14 04:48:23 -06:00
MacChaeger
06e03e3431 Parting Shot shouldn't switch if it doesn't change stats (#4105) 2017-11-13 22:23:20 -05:00
Kris Johnson
69cc3a7bf8 STABmons: Make ignorestabmoves a ValidatorRule (#4141)
Making `ignorestabmoves` a validator rule allows it to be added to
tournaments.
2017-11-11 13:18:45 +08:00
urkerab
c352ea70b2 Dancer should not activate while semi-invulnerable (#4137) 2017-11-09 22:55:25 -06:00
The Immortal
5d9944a0a7
Move Mega Latias to BL 2017-11-09 22:41:05 +08:00
The Immortal
6dd84698f5
Move Zoroark to BL2 2017-11-09 11:57:59 +08:00
Kris Johnson
28cb849c1d Manaphy is still OU (#4132) 2017-11-06 21:36:17 -08:00
Kris Johnson
15387188e6 November tier shifts (#4131) 2017-11-06 20:05:02 -08:00
MacChaeger
b0910de0a3 Variable healing moves should have fail messages (#4104) 2017-10-31 16:04:04 -05:00
TheTiksiBranch
79d033ad2e Add Magma Storm to Viable Moves (#4099) 2017-10-30 23:43:11 -05:00
Ridaz
7acc291fe2 Add Challenge Cup 2v2 alias (#4086) 2017-10-26 17:38:34 -05:00
Guangcong Luo
246dfa1da3 Refactor in-object-literal to array-includes (#4079)
Previously, if we wanted to test if A was either 'B' or 'C', we would use
the pattern:

    A in {B:1, C:1}

I actually don't know how common this pattern is; I just started using
it because I was tired of typing `A === 'B' || A === 'C'` all the time.
I never really liked it, though; the `:1` part made it kind of
blatantly a hack.

I did some testing and `['B', 'C'].includes(A)` is overall faster.

(A switch statement is around 20x faster still, but who wants to type
that much code?)

Anyway, the new standard is

    ['B', 'C'].includes(A)

Something something progress!
2017-10-23 09:19:15 -05:00
Marty-D
934fc5b40d Fix Z-Power behaviour while Transformed into Mega/Primal 2017-10-21 15:04:44 -04:00
Marty-D
312f93c47c Revert "Fix confusion interaction with HP-checking items (#4045)"
This reverts commit
6651c5dadb.
2017-10-20 21:05:49 -04:00
The Immortal
792f7e0162 Random Battle updates 2017-10-20 13:29:40 +04:00
The Immortal
b75d339db6 Move Mega Gardevoir to BL 2017-10-19 15:18:07 +04:00
QuiteQuiet
6651c5dadb Fix confusion interaction with HP-checking items (#4045) 2017-10-17 09:26:27 -04:00
The Immortal
0c5251ff26 Move Weavile to BL 2017-10-16 06:02:18 +04:00
Insist
bc2af390f7 Correct Tsareena's evolution condition (#4063) 2017-10-15 19:21:32 -04:00
Marty-D
df05e12f59 Correct confusion prevention messages 2017-10-12 09:36:41 -04:00
Marty-D
9ed34665ab Add new event Pokemon 2017-10-12 08:58:42 -04:00
Kevin Lau
b340edda02 Random Doubles: Update Necrozma (#4047) 2017-10-10 22:40:47 +04:00
The Immortal
252aaeaaa5 Guzzlord is NU 2017-10-07 19:27:18 +04:00
The Immortal
c2708ef14d Implement October tier shifts 2017-10-07 14:54:08 +04:00
MacChaeger
a759b8910b Fix Reflect Type vs. Pokemon with the "???" type (#4039) 2017-10-06 15:24:04 -05:00
The Immortal
c7ed07342c Update NU 2017-10-06 20:07:05 +04:00
MacChaeger
88965b39a4 Improve Ingrain's short description (#4040) 2017-10-05 10:22:11 -04:00
The Immortal
37720c0e97 Move Sharpedo to BL2 2017-10-05 02:43:43 +04:00
Ridaz
8aef13ae18 Update Encore & Fake Out move animations (#4035) 2017-10-03 18:57:05 -05:00
Marty-D
cb91464a49 Update Encore 2017-10-02 21:16:17 -04:00
Kris Johnson
5d13b92bc8 Fix -ate Abilities' interaction with type-changing moves (#4023) 2017-09-27 22:01:37 -04:00
Marty-D
9a35ee28e5 Clarify Stakeout description 2017-09-27 13:50:17 -04:00
Marty-D
c33dff68a0 Fix new Ability modifiers 2017-09-27 10:24:27 -04:00
The Immortal
58e3cf35db Random Battle: Update Groudon 2017-09-27 14:23:31 +04:00
The Immortal
fa3e1ba7f9 Move Jirachi to BL 2017-09-26 22:22:43 +04:00
The Immortal
465232da65 Random Battle updates 2017-09-26 22:22:25 +04:00
urkerab
34eade2e87 Simplify artificial replication of Item Clause (#4018) 2017-09-24 23:40:06 -05:00
LegoFigure11
ca0ed8c8de BSS Factory: Major updates (#4015) 2017-09-25 04:47:29 +08:00
Ben Davies
f0da576d11 Add Gengar alias Morfent's husbando
A very important alias no longer lost to time
2017-09-24 13:30:02 -03:00
Marty-D
a8413731dd Fix Choice-lock before attempting a move 2017-09-24 12:13:30 -04:00
MacChaeger
05cdd33542 Fix Dancer activation order (#4009) 2017-09-23 20:17:00 -04:00
Marty-D
78be53834a Add event Mimikyu 2017-09-23 09:02:56 -04:00
The Immortal
ee66ef2a4d Move Charizard to BL4 2017-09-23 20:12:25 +08:00
urkerab
804d0ea4a0 Remove some move effects to improve compatibility with Instruct (#4003) 2017-09-23 01:35:01 -05:00
Marty-D
c909fae032 Add new event Pokemon 2017-09-21 21:35:37 -04:00
Insist
e3157e36e1 Random Doubles: Fix typo (#3996) 2017-09-20 18:12:44 -04:00
Kris Johnson
36d10c0aa5 Aliases: Remove OU Theorymon (#3995)
OU Theorymon is no longer a format
2017-09-18 20:00:51 -05:00
Marty-D
e6f0f0efd7 Update Instruct 2017-09-18 19:36:52 -04:00
urkerab
c28347edda Fix choice lock for the combined Pledge move (#3993) 2017-09-17 19:47:35 -04:00
Marty-D
b365d3fea6 Update screen-related descriptions 2017-09-16 13:04:34 -04:00
Marty-D
977af547d6 Fix Aurora Veil 2017-09-15 20:47:14 -04:00
Kevin Lau
b617848319 Random Battle: Update Necrozma to its usage stats (#3983)
* Random Battle: Update Necrozma to its usage stats

* Update formats-data.js
2017-09-16 06:43:33 +08:00
The Immortal
68f636d2b2 Random Battle: Minor fixes
Closes #3976
2017-09-11 10:30:16 +04:00
Guangcong Luo
066d970b54 Fix >6-pokemon Custom Games 2017-09-09 19:41:55 -04:00
Guangcong Luo
b42a322ecb Support over 6 Pokemon in Custom Game 2017-09-09 18:25:26 -04:00
The Immortal
5e7d460149 More Random Battle updates 2017-09-10 01:08:51 +04:00
Marty-D
d704b90f5a Gen V-VII: Update move descriptions 2017-09-09 12:41:58 -04:00
The Immortal
e778ee0332 Random Battle: Improve Abilities 2017-09-09 16:07:52 +04:00
The Immortal
8eecbdb899 Random Battle updates 2017-09-09 01:59:11 +04:00
The Immortal
8a47ea6ad9 Mega Latios is OU by technicality 2017-09-08 22:30:28 +04:00
Marty-D
92ebb48e3e Remove now-redundant King's Shield check 2017-09-08 14:29:26 -04:00
The Immortal
6e98ba80aa Remove no longer needed format aliases 2017-09-08 19:44:05 +04:00
Guangcong Luo
36ce199e01 Add aliases
Added: reuni, pex, darm, chandy, zydoge, gene, camel, toed

(Also sort Pokemon aliases)
2017-09-08 09:58:53 -04:00
MacChaeger
0bd4924ed2 Random Battle: Improve ability selection (#3951)
If both options for the ability would be rejected, default to the better one instead of the worse one.
2017-09-08 17:09:29 +04:00
Guangcong Luo
52619d26ea Sim: Fix Thief Weakness Policy interaction 2017-09-07 09:43:16 -04:00
The Immortal
748305ec2b Modify weather abilities' ratings 2017-09-07 13:17:41 +04:00
The Immortal
3f4ac3a44d Random Doubles: Minor changes 2017-09-06 23:31:00 +04:00
The Immortal
68599fac72 Random Battle: Improvements 2017-09-06 23:00:40 +04:00
QuiteQuiet
7f026e7e60 Do not send details about shiny-ness on Team Preview (#3965) 2017-09-06 05:53:25 -04:00
urkerab
a76a462cd1 Perish Song shouldn't normally hit semi-invulnerable Pokémon (#3963) 2017-09-05 22:06:23 -04:00
Guangcong Luo
2923b94140 Sim: Moves may only be aura boosted once
Fixes #3952
2017-09-05 19:11:48 -04:00
Kris Johnson
00612798b2 Medicham was quickbanned from PU (#3962)
http://www.smogon.com/forums/threads/pu-tiering.3611938/#post-7498984
2017-09-05 19:05:20 -04:00
Guangcong Luo
0646743a6d Sim: Check Protect/etc before type immunities in gen 7
TryHit effects, like Protect, Lightningrod, Magic Bounce, etc now
activate before type immunities, rather than after.
2017-09-05 09:36:18 -04:00
Guangcong Luo
6921390955 Fix Z-Instruct
The moves it calls shouldn't be Z-moves.

https://www.youtube.com/watch?v=FRI5PSekhR4
https://www.youtube.com/watch?v=57leF8RuGOg
2017-09-05 06:09:10 -04:00
The Immortal
6ae32005ec Add UU and RU suspect tests 2017-09-05 12:45:14 +04:00
Kris Johnson
6c6b99694f September tier changes (#3954) 2017-09-05 12:35:45 +04:00
MacChaeger
6c51031bf3 Randubs: Minimize unused attacking stats (#3945)
* Randubs: Minimize unused attacking stats

This is mostly for Celesteela and Guzzlord so that Beast Boost doesn't increase a useless stat.

* Fix typo

* Fix weirder typo
2017-09-03 12:42:15 +04:00
The Immortal
2686b2da77 Update PU bans 2017-09-02 00:43:24 +04:00
The Immortal
f67701db9b Update OM aliases 2017-09-01 10:44:07 +04:00
urkerab
111c9ff071 Misty Terrain shouldn't -activate for secondary confusion (#3934) 2017-08-31 16:51:36 -04:00
MacChaeger
b113cc9a57 Add command /viewbanlist (#3914)
This command is intended to be a quick-access option for checking banlists and rulesets for formats as well as descriptions of the rules that would get listed in case the user has questions.
2017-08-31 04:51:45 -04:00
MacChaeger
7b82cc9549 Randbats: Celesteela doesn't learn Rock Polish (#3930) 2017-08-30 15:49:49 +04:00
Austin Bartnicki
373675df12 Ban Xurkitree from UU (#3924)
http://www.smogon.com/forums/threads/sm-uu-stage-3-voting.3613280/page-3#post-7488377
2017-08-28 03:16:20 +04:00
Marty-D
3e6ba18cd4 Fix Disguise interaction with substitutes 2017-08-27 18:48:25 -04:00
urkerab
5ea93dc11b Fix parameters to onAnyBasePower for Dark/Fairy Aura (#3922) 2017-08-27 14:45:15 -05:00
Marty-D
1f83604882 Update item descriptions
And remove redundant inheritance
2017-08-24 18:11:12 -04:00
urkerab
0ed87b755d Remove some ability effects to improve compatibility with Instruct (#3905) 2017-08-23 22:45:54 -07:00
Marty-D
389d10e636 Update Ability descriptions
And remove redundant inheritance from Gen 3
2017-08-23 20:25:50 -04:00
The Immortal
c73cb02431 Update PU banned Pokemon 2017-08-24 02:50:20 +04:00
The Immortal
4550f639ff Update NU 2017-08-23 07:45:05 +04:00
The Immortal
b62d9cb8f9 Random Battle updates 2017-08-22 00:39:17 +04:00
The Immortal
5eb04bdba1 Update RU 2017-08-22 00:05:29 +04:00
panpawn
12dd0a08b7 Aliases: Add 'uber' as an alias to 'Ubers' (#3894) 2017-08-19 15:07:18 -07:00
Marty-D
f44d948c2f Add event Alolan Exeggutor 2017-08-18 18:56:12 -04:00
The Immortal
b9d2f4fa0c Update PU 2017-08-17 02:00:52 +04:00
Austin Bartnicki
61a3094690 Added Aliases and Organized (#3840) 2017-08-14 14:42:56 -07:00
Marty-D
72f79870e3 Add new event Pokemon 2017-08-14 14:18:48 -04:00
Austin Bartnicki
4ee1554999 Add alias Fabio -> Ampharos-Mega (#3880) 2017-08-11 21:54:30 -07:00
Marty-D
b1de57b85a Add new event Pokemon 2017-08-10 10:05:11 -04:00
Archit Date
f6a3b41084 Release Diancite (#3874) 2017-08-10 15:32:45 +04:00
asgdf
8620fab0d4 Add ignoring Aurora Veil to Infiltrator's description (#3872) 2017-08-09 10:30:51 -04:00
HoeenHero
44536c0370 Correct Lurantis's pokedex color 2017-08-08 18:04:06 +02:00
Lionyx
d3c863c7dd Update the list of Abilities Trace cannot trace (#3694) 2017-08-07 23:14:11 -04:00
Marty-D
03eef2604b Release Altarianite, Ampharosite, Latiasite, and Latiosite 2017-08-07 22:44:32 -04:00
urkerab
1f6e1e8d45 Weakness Policy should activate before Thief or Magician (#3867) 2017-08-07 20:40:57 -05:00
The Immortal
c46f2f3d54 Move Manaphy to BL 2017-08-07 06:47:26 +04:00
Kris Johnson
17f0f43189 August tier updates (#3864) 2017-08-07 04:23:10 +04:00
urkerab
ce58237a15 Fix Unburden/Symbiosis interaction with Air Balloon behind Substitute (#3854) 2017-08-04 23:54:41 -05:00
The Immortal
015588d628 Move Conkeldurr to BL 2017-08-04 10:41:32 +04:00
Marty-D
702c029385 Fix -ate Abilities' interaction with moves 2017-08-02 20:17:02 -04:00
The Immortal
727a2e7dff Fix Normalize interaction with certain moves 2017-08-03 00:28:13 +04:00
Marty-D
312714343b Add new event Pokemon 2017-07-31 17:43:40 -04:00
urkerab
5bc0c634d6 Reset Parental Bond damage after a move (#3847) 2017-07-29 20:10:02 -04:00
HoeenHero
67cf1e2453 Fix monotype randbats (#3836) 2017-07-27 17:57:36 -04:00
Guangcong Luo
bbf7bc98d2 Fix random battle sets
(There were doubles sets in singles games)
2017-07-27 17:49:38 -04:00
The Immortal
23cb0d1955 Move Heracross to BL2 2017-07-27 23:35:06 +04:00
The Immortal
d0606f5cce Aurora Veil is viable 2017-07-27 14:12:32 +04:00
Kevin Lau
f519d444f6 Random Doubles: Implement EV fixing for Belly Drum, etc. (#3834)
Copied over from the Random Singles code, minus the Stealth Rocks check.
2017-07-27 03:34:28 -04:00
Marty-D
1206b24aff Add new event Pokemon 2017-07-26 21:14:21 -04:00
Guangcong Luo
0ba508bbd3 Support ./pokemon-showdown generate-team
I might regret supporting this syntax, but it's now possible to make
PS generate teams on the commandline using:

./pokemon-showdown generate-team [optional format name] [optional seed]

The output will be in packed team format (which can be pasted into
a teambuilder import box).

The seed-passing should make it significantly more straightforward to
debug team generation weirdness.
2017-07-25 02:59:59 -04:00
Guangcong Luo
3b4d8b3ff0 Split random-teams.js out of scripts.js
Random team generation scripts are no longer in scripts.js, but instead
in a new file random-teams.js.

The scripts are now also no longer run from inside battles, but in a
new team generator object. This makes it easier for external scripts
to generate random teams by running Dex.generateTeam(format).
2017-07-25 02:59:59 -04:00
HoeenHero
11b93ec467 Alola Pokedex rule: Dont reject alola formes (#3826) 2017-07-24 18:35:23 +04:00
n10sit
268fd70bc7 Random Doubles: Movepool updates (#3744) 2017-07-24 17:39:28 +04:00
The Immortal
d36ba3bf36 Random Battle: Shuffle Pokemon 2017-07-24 17:20:51 +04:00
Insist
83e89672a0 Add CAP LC and NFE to the Allow CAP clause (#3823) 2017-07-23 19:40:13 -04:00
Insist
b661ed9c90 Add "CAP NFE's" (#3821)
Turns out there is indeed some of these that are not LC but indeed CAP NFE's so I will make this a rank to clarify the difference and will make a PR on the client in tandem shortly
2017-07-23 13:48:56 -07:00
Insist
445c2f65d7 Make CAP LC CAPmons show as CAP LC (#3813) 2017-07-21 11:13:44 -05:00
Marty-D
1f983407e4 Release Aggronite 2017-07-21 08:29:53 -04:00
Guangcong Luo
d79e348ebc Refactor banlistTable -> ruleTable
PS's rule table has been renamed from banlistTable, and works a bit
differently now. It's a Map instead of an object now, and the keys
work a bit differently.

The original banlistTable was designed to store bans, and later
additions shoved rules and then unbans in there. The new table is
designed to support all of these.
2017-07-20 12:50:41 -05:00
HoeenHero
ee0e086c0e Dont use Dex in mods (#3803) 2017-07-19 16:58:18 -05:00
urkerab
217f3b34e3 Shields Down blocks Yawn when active and ignores Mold Breaker (#3799) 2017-07-17 18:48:24 -05:00
urkerab
3d3158b5a5 Fix mixup between moves and ids in Metronome (#3791) 2017-07-17 09:20:36 -05:00
The Immortal
9f659232ef Move Cofagrigus to BL3 2017-07-17 08:28:55 +04:00
Insist
df99c57fcc Magikarp's Revenge: Add steals boosts into desc (#3789) 2017-07-16 12:10:12 -05:00
urkerab
d651627755 Fix Metronome calling Gen 7 moves in Gen 6 battles (#3781) 2017-07-15 01:00:55 -05:00
Marty-D
0a4b75615d Add new event Pokemon 2017-07-14 08:45:43 -04:00
LegoFigure11
a7dbe96127 BSSF: Fix bug where Piloswine is named "Mamoswine" (#3780) 2017-07-14 01:50:00 -10:00
Slayer95
ccd5100987 Add Nincada to Hoenn Pokedex 2017-07-13 01:56:14 -05:00
Kevin Lau
24a945efca Random Battle: Add possibility for Fly-Z or Bounce-Z (#3730)
* Random Battle: Add possibility for Fly-Z or Bounce-Z

This involves adding Fly to some Flying Pokemon without a good Flying
STAB. (This also makes sure Fly is not their only STAB, and only exists
with setup.)

* Update scripts.js
2017-07-13 01:42:35 +04:00
Insist
6f2e33ceeb Aliases: Add more aliases (#3746) 2017-07-12 01:52:45 +09:00
urkerab
2a26e161e5 Typed Hidden Power should be Gen 2 (#3764) 2017-07-12 01:04:06 +09:00
The Immortal
1bb8a0a02f Move Buzzwole to BL 2017-07-10 01:38:24 +04:00
sparktrain
2f1b2e3442 Learnsets: Add missing CAP moves (#3754) 2017-07-09 14:51:32 +04:00
The Immortal
c553004006 Move Bewear to RU 2017-07-08 23:31:54 +04:00
The Immortal
0174aa770d Move Marshadow to Uber 2017-07-06 23:40:01 +04:00
Konrad Borowski
4a9e273433 Remove temporary Gen6 aliases (#3734) 2017-07-05 21:07:46 +04:00
Kevin Lau
a4e1b2692a Random Battle: Wormadam learns Bug Buzz in Gen 7 (#3729) 2017-07-05 17:38:26 +09:00
Kevin Lau
b167065d53 Random Battle: Update Swanna and Comfey (#3723)
Swanna has no use for Surf if it has Scald, even in Rain sets.

Triage and Draining Kiss should always be together. Give Triage a
rejection condition.
2017-07-05 01:17:00 +04:00
Marty-D
cda2993da4 Add event Alolan Vulpix 2017-07-04 16:43:20 -04:00