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
HoeenHero
074b78be71
SSB: Improve Wonder Trade's interaction with Super Illusion
2019-10-24 21:56:07 -04:00
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
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
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
Lusamine
dcb438c041
Update vivalospride's and Rage's ranks ( #5887 )
2019-10-16 04:22:35 +04:00
Lusamine
66966f40d0
SSB: Fix Jolteonite's description ( #5874 )
2019-10-12 15:47:45 +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
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
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
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
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
The Immortal
5d5b82a689
Gen 1: Fix Omanyte in Random Battle
2019-09-13 15:09:33 +04: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
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
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
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
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
The Immortal
c285997991
Add August OMs
2019-08-01 18:53:43 +04: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
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
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
Kirk Scheibelhut
a61c10eeb8
Remove hardcoded URLs in favor of Config.routes ( #5557 )
2019-07-01 10:19:21 -07:00
The Immortal
9f8e20da8e
Random Battle: Fix Monotype teams
...
And remove unused item selection.
2019-06-25 22:28:57 +04:00
HoeenHero
a029157138
Gen II: Send Rest message while asleep for tracking sleep turns ( #5537 )
2019-06-14 09:04:11 -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
Marty-D
83845927ed
Gen IV: End Healing Wish and Lunar Dance's effects properly
2019-06-07 15:44:27 -04:00
urkerab
9abb7f11ab
Don't share self-replacing abilities ( #5526 )
2019-06-05 16:39:58 -05: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
e2a2983050
Gen I: Fix multi-hit move damage against substitutes
2019-05-20 11:09:51 -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
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
Martin Chukwu
5fd1a5844a
Gen 2 Random Battles: Removed illegal moves ( #5473 )
2019-05-05 01:33:09 +04:00
jetou
b2232aa96a
Gen III-IV: Fix Knock Off/Rapid Spin interaction with Rough Skin ( #5474 )
2019-05-04 14:01:26 -04:00
Kirk Scheibelhut
10c744f733
Introduce an ID type to sim ( #5468 )
2019-05-04 13:13:12 +12:00
urkerab
508e58575e
Other Metagames of the Month May 2019 ( #5470 )
2019-05-01 18:24:56 +04:00
Kirk Scheibelhut
df3d9b91ef
Battle toJSON/fromJSON ( #5427 )
2019-04-30 14:48:27 +12:00
Marty-D
1ee999ff0c
Fix Toxic Spikes interaction with Steel/Poison types
2019-04-27 15:50:31 -04:00
Kirk Scheibelhut
e632bd1991
Fixes crash in gen3doubles due to missing target ( #5465 )
...
Fixes #5654
2019-04-26 19:47:38 -04:00
Kirk Scheibelhut
3a366d0499
Fix Gen 2 TOX -> PSN crash ( #5463 )
2019-04-26 09:21:11 -07:00
The Immortal
034b936219
Random Battle updates
2019-04-24 02:50:51 +04:00
Kirk Scheibelhut
7e4929a39f
Change protocol for '|split' message type ( #5331 ) ( #5332 )
2019-04-22 09:20:47 +09:30
Jacob McLemore
5fffde1495
Gen II: Fix confusion interaction with self-destructing moves ( #5460 )
2019-04-21 19:20:30 -04:00
Marty-D
9428d274cc
Gen III: Improve Truant implementation
2019-04-17 16:36:25 -04:00
HoeenHero
3d45ebe62b
SSB: Remove Bimp
2019-04-15 19:28:47 -04:00
The Immortal
ac38db2cd7
Gen 1 Randoms: Properly fix Omanyte
...
Not familiar with these...
2019-04-16 02:29:15 +04:00
Slayer95
cd82475d06
Fix misspecified event handler priorities ( #5445 )
2019-04-15 18:03:32 -04:00
The Immortal
99caab2e9a
Gen 1 Random Battle: Remove illegal moves
2019-04-16 01:58:16 +04:00
Marty-D
9b28525f4e
Gen III: Correct Truant mechanics
2019-04-15 17:15:51 -04:00
Kevin Lau
74d24d8dce
Random Battle: Update Mandibuzz ( #5449 )
2019-04-16 00:15:56 +04:00
The Immortal
b0901e6fc9
Random Battle updates
2019-04-15 16:58:48 +04:00
urkerab
0133ba9bd6
Make Pokemon.moves a read only array ( #5433 )
2019-04-14 23:57:42 +09:30
The Immortal
3e735aa6ce
Fix typo in previous commit
2019-04-13 18:18:53 +04:00
The Immortal
527c6fe82c
Gen 5: Random Battle updates
2019-04-13 16:39:45 +04:00
Marty-D
ad4f80ee67
Fix Anticipation interaction with Hidden Power
2019-04-11 14:01:23 -04:00
Guangcong Luo
a33fc11d26
Refactor Actions, RandomTeamsTypes to namespace
...
They were previously some weird interface where their actual types
were properties. I guess whoever wrote this was unaware that TypeScript
namespaces were designed for this exact use-case.
2019-04-10 19:58:56 +09:30
urkerab
8034198c87
Camouflage and Soak should fail if they don't change the type ( #5425 )
2019-04-09 08:18:07 -04:00
The Immortal
e1c389a182
Random Battle updates
2019-04-08 16:39:19 +04:00
Guangcong Luo
4c47af28aa
Refactor moveHitData
...
This is actually three refactors:
- swap around thing:slot for slot:thing in MoveHitData
- add Pokemon#getSlot
- remove the ActiveMove class; it's back to being an interface
2019-04-06 19:10:45 +08:00
Kirk Scheibelhut
0efd71dfef
Move Data.ActiveMove methods to Pokemon ( #5416 )
...
See #5415 for context - having these methods is unsafe and leads
to crashes because not all ActiveMoves are created through the
Data.ActiveMove constructor. Instead of Pokemon, these could
alternatively be static methods on ActiveMove (or the ActiveMove
class could be completely abolished and reverted back to an
interface), but #5415 will deal with ActiveMove long term, this just
fixes the crashes.
2019-04-06 13:14:50 +08:00
Kevin Lau
cd9694cd20
Random Battle Gen 3: Update ability selection ( #5402 )
...
This updates the gen to use the ability selection algorithm from future
gens, where it defaults to the highest rated ability if all are rejected.
2019-04-04 15:50:17 +04:00
MacChaeger
d3f1161b62
Fix Weakness Policy and Clangorous Soulblaze in doubles ( #5389 )
2019-04-04 18:51:27 +08:00
Kirk Scheibelhut
d938f7ff22
Fix LGTM alert in data/mods/gen4/random-teams.js ( #5406 )
2019-04-04 01:50:13 +04:00
The Immortal
bfa0394e93
Gen 4 Randoms: Update ability selection
...
This copies the ability selection from future gens where it defaults to the highest rated ability if all are rejected.
2019-04-03 21:14:01 +04:00
force
e3e269956a
SSB: update ranks and fix moves ( #5380 )
2019-04-01 22:12:19 -04:00
The Immortal
ca20958a39
Remove Megamons mod
2019-04-01 19:27:03 +04:00
The Immortal
a864d38240
Random Battle updates
2019-04-01 19:05:08 +04:00
Slayer95
6384964a10
Sim: Z Moves may only be disabled when all base moves are ( #5387 )
2019-03-30 18:14:53 -04:00
Slayer95
694cd47e7b
Fix target resolution ( #5363 )
2019-03-30 22:34:44 +08:00
Slayer95
628f32e8fb
Stricter type definitions for dex data ( #5375 )
...
BattleStatuses switched to PureEffectData
2019-03-30 22:31:04 +08:00
Marty-D
40c2210bf0
Gen 4 OU: Ban Sand Veil
...
https://www.smogon.com/forums/threads/dpp-sand-veil.3648687/
2019-03-28 13:13:26 -04:00
The Immortal
8d56dad32b
Random Battle updates
2019-03-28 21:06:55 +04:00
Alexander B
57701a5f04
Refactor OMs to use "m" property of Pokemon ( #4957 )
2019-03-28 22:28:35 +08:00
Kevin Lau
9c226c5556
Reject Magnet Pull on non-Earth Power Probopass ( #5354 )
2019-03-28 17:20:21 +04:00
Ivo Julca
ac4b94876b
Sim: Refactor to use Battle#getAllPokemon() and Battle#getAllActive()
2019-03-26 23:18:19 -05:00
MacChaeger
9a7ce3dedf
Put side conditions on p1 and p2 in multi battles ( #5341 )
2019-03-27 11:00:36 +08:00
Kirk Scheibelhut
9f5a727ad1
Pull Field out of Battle ( #5333 )
2019-03-23 02:52:12 +09:00
The Immortal
1cade1340a
Random Battle improvements
2019-03-22 03:02:41 +04:00
Kirk Scheibelhut
03b2c92cb1
Make isNonstandard specify reason for non-standardness ( #5330 )
2019-03-22 01:49:22 +09:00
Kirk Scheibelhut
4be90a0a28
Cleanup sim/battle.ts ( #5325 )
2019-03-22 01:25:12 +09:00
Marty-D
4854febb2e
Gen I: Fix Leech Seed recovery
2019-03-21 09:26:24 -04:00
MacChaeger
47aadf9cc8
Fix spread modifier for gen 4 FFA battles ( #5321 )
2019-03-19 10:46:18 +09:00
Kris Johnson
f4300a8692
Add "(PU)" support for Gen 6 ( #5316 )
2019-03-18 22:50:48 +04:00
The Immortal
b0f9a9f493
Random Battle updates
2019-03-18 22:49:14 +04:00
MacChaeger
6ac8266696
Support 4 player battles ( #5266 )
2019-03-18 13:37:27 +09:00
MacChaeger
6c486409f4
Fix spread move effect order ( #5216 )
2019-03-17 23:30:08 +09:00
Marty-D
2d08a1ec61
Gen II: Improve boostBy
2019-03-17 10:03:01 -04:00
Marty-D
9315b8d4d8
Gen II: Cap stat boosting properly
2019-03-16 17:49:25 -04:00
force
b6a28d693d
SSB: Bug Fixes & Update Names/Ranks ( #5295 )
2019-03-15 08:54:58 -04:00
Slayer95
7a7ad8453d
Fix regressions in team generators ( #5302 )
2019-03-12 18:44:38 -07:00
Kirk Scheibelhut
e9ccc7ecd6
Fix Stadium mod's stat modification logic ( #5301 )
2019-03-12 13:52:32 -07:00
The Immortal
6c3bee2ae6
Random Battle: More improvements
...
- Remove Dragon Tail from Lugia and replace Aeroblast with Psychic in current gen
- Revert previous Spiritomb change and instead remove Sucker Punch + Pain Split
- Give current gen Heatran Magma Storm (+Firium Z)
- Give Castform-Snowy Life Orb over Icy Rock
- Remove Air Balloon from 2x Ground weak Pokemon
2019-03-12 18:27:11 +04:00
Ivo Julca
3686dcfe46
TS: ModdedDex#generateTeam() returns PokemonSet[]
2019-03-12 00:29:59 -05:00
The Immortal
91c1d661b9
Random Battle: Update Spiritomb
2019-03-12 00:16:51 +04:00
The Immortal
682cab6092
Random Battle improvements
...
- Update Castform sets
- Remove Psyshock from Hoopa-Unbound
- Allow Diggersby to get Choice Scarf
- Lower priority of Air Balloon selection
2019-03-11 23:15:46 +04:00
MacChaeger
a6d9afc356
Randbats: update Poliwrath ( #5250 )
2019-03-11 02:59:51 +04:00
Kirk Scheibelhut
e634d9a7b9
Cleanup Side & Dex after .ts refactor ( #5273 )
2019-03-09 10:14:11 -06:00
Kirk Scheibelhut
a8903d2563
Cleanup stat naming and types (storedStats, StatNameExceptHP) ( #5274 )
2019-03-09 09:53:11 -06:00
Honko
fc95f6e7d9
Gen 4 Random Battle improvements ( #5275 )
...
Fix bad sets for Bastiodon, Infernape, Jirachi, Regirock, Snorlax, Steelix.
2019-03-08 23:57:43 +04:00
JetOU
85533ee3a0
Change forEach to for...of ( #5269 )
2019-03-08 11:24:58 -06:00
Kirk Scheibelhut
91993df916
Continue cleaning up sim/ after .ts refactor ( #5267 )
2019-03-08 07:29:04 -06:00
The Immortal
7653384d20
Random Battle updates
...
- Only give Porygon-Z Z-Conversion under the right circumstances
- Slightly reduce the rating of Download so Porygon gets Adaptability a bit more
- Improve Haxorus' movepool
- Remove unviable Genesect sets
- Allow U-turn as the only STAB on Genesect
- Improve Magearna's movepool (+Fairium Z)
- Don't reject Flash Cannon with Special setup
- Give Fairies STAB when they need it
- Set Shift Gear as a Speed setup move
- Change the Life Orb bulk requirement to match Focus Sash
- Reject Trick with Speed setup
2019-03-08 17:27:44 +04:00
Kirk Scheibelhut
4e74f766b8
Fix Gen 2 stat rollover hint ( #5271 )
2019-03-07 15:00:14 -06:00
Kirk Scheibelhut
295f7c6c9f
Switch hints to use double quotes everywhere ( #5261 )
...
Also, have `Battle#hint` take Side per @urkerab's suggestion.
Followup to #5258 , no functionality changes.
2019-03-07 09:34:14 -06:00
Kirk Scheibelhut
dc5255f7c8
Fix Gen 1 Substitute + self damage behavior ( #5263 )
2019-03-06 16:12:32 -05:00
Kevin Lau
9a2d94220c
Random Battle: Reduce range of Pokemon that get Focus Sash ( #5259 )
2019-03-06 23:44:04 +04:00
Kirk Scheibelhut
a04d4da992
Add more hints to Gen 1 & 4, migrate others to Battle#hint ( #5258 )
2019-03-06 11:24:47 -06:00
Kirk Scheibelhut
961b9882f5
Fix Gen 4 interaction between U-turn/Substitute/Intimidate ( #5222 )
2019-03-06 08:33:52 -05:00
Kirk Scheibelhut
247bb559d6
Fix minor Typescript bugs in dex-data.ts ( #5255 )
2019-03-06 07:12:26 -06:00
Kris Johnson
8373574337
CAP: Nerf Necturna ( #5257 )
2019-03-05 19:01:45 -06:00
Kirk Scheibelhut
137aaf1a99
Fix Gen 1 Jump Kick to be like Hi Jump Kick ( #5256 )
2019-03-05 17:59:44 -06:00
Kirk Scheibelhut
f1f903ceae
Add hints for odd Gen 2 behavior ( #5254 )
2019-03-05 16:36:42 -06:00
The Immortal
2443d16df2
Random Battle: Improve Physical Rock-types
2019-03-06 00:18:35 +04:00
Kirk Scheibelhut
6f82443101
Fix GSC Toxic interaction with Baton Pass/Heal Bell ( #5226 )
2019-03-05 13:28:01 -05:00
MacChaeger
33a872e029
Gen 7: Stockpile tracks individual stat alterations ( #5246 )
2019-03-04 17:59:44 -06:00
Konrad Borowski
8289374460
Disallow non-standard Pokemon in Gen1/2 randbats ( #5235 )
2019-03-03 21:47:37 +04:00
urkerab
9ebaa6877b
Fix Protean and Color Change ( #5233 )
2019-03-03 04:40:35 -06:00
Kris Johnson
575c4224f7
Fix Megamons and Chimera simplistically ( #5229 )
2019-03-03 00:27:12 +04:00
The Immortal
0bc1f96fc3
Random Battle: Improve Kyurem
2019-03-02 22:26:40 +04:00
Kirk Scheibelhut
6e122d5d74
Refactor lib/ to be native Typescript ( #5217 )
2019-03-02 11:12:24 -06:00
Kirk Scheibelhut
2fde28d0ee
Remove FIXME's in gen1/gen2 random-teams.js ( #5227 )
2019-03-02 06:21:49 -06:00
The Immortal
075da69253
Update Other Metagames
2019-03-01 17:27:26 +04:00
The Immortal
bf832a97f2
Random Battle fixes
2019-03-01 17:25:04 +04:00
Guangcong Luo
13accb33eb
Fix crash in SSB import
2019-02-28 14:04:14 -05:00
Marty-D
f108ec0fba
Update Psych Up and Transform interactions with crit rate effects
2019-02-27 12:45:09 -05:00
Lycanium Z
51cb39a599
SSB: Arrested -> Pablo; Fix Fake Claim & Sub Interaction ( #5205 )
2019-02-26 20:33:08 -05:00
Kirk Scheibelhut
b09fd63377
Refactor sim/ to be native Typescript ( #5210 )
2019-02-26 11:03:30 -06:00
Kirk Scheibelhut
623b349fc1
Fix Gen 1 bug involving last damage and Substitute ( #2598 ) ( #5211 )
2019-02-25 21:24:14 -06:00
MacChaeger
bdf74b838a
Pokebilities: Update Trace, Power of Alchemy, and Receiver ( #5203 )
...
* Pokebilities: Update Trace, Power of Alchemy, and Receiver
Now Trace copies a random ability from a random target, regardless of whether it was originally an innate or not
* Send correct target in message to client
2019-02-25 22:42:37 +04:00
Kris Johnson
da6f42c5c1
Change Untiered to (DUU) for Doubles ( #5178 )
2019-02-25 07:35:41 +04:00
Marty-D
a483604687
Gen I: Stop trying to change a fainted Pokemon's stat stages
2019-02-23 21:29:36 -05:00
The Immortal
59c4965dfa
Random Battle improvements
2019-02-24 06:00:24 +04:00
Konrad Borowski
03bd1b4df7
Mark Feebas's evolution in Gen4 as requiring high Beauty
...
Trade evolution for Feebas was introduced in Gen5.
2019-02-21 22:56:07 +01:00
Lycanium Z
cacc83043a
SSB: Fix Evoblast interaction with substitute; update ranks ( #5166 )
2019-02-19 21:23:12 -05:00
HoeenHero
9c9004cacf
Fix "Fix terrain seed activation timing ( #5163 )"
...
Shouldn't of reverted this so quickly. Credit to the code goes to @MacChaeger
2019-02-16 20:31:07 -05:00
HoeenHero
f8a1612906
Revert "Fix terrain seed activation timing ( #5163 )" ( #5173 )
...
This reverts commit 250955ee68 .
2019-02-16 19:46:53 -05:00
Kris Johnson
630180fd1b
CAP: Nerf Crucibelle-Mega ( #5172 )
...
* CAP: Nerf Crucibelle-Mega
* oops
2019-02-16 19:30:38 -05:00
MacChaeger
250955ee68
Fix terrain seed activation timing ( #5163 )
2019-02-16 19:30:00 -05:00
urkerab
9195822c37
Fix transformInto so OMs still work ( #5165 )
2019-02-15 17:52:20 -06:00
Kevin Lau
8860c0e4e0
Random Battle: Update Rhyperior ( #5162 )
...
* Random Battle: Update Rhyperior
- Although Rock Blast is the preferred move in RU, there are notably
fewer Sturdy mons in Random Battle and it struggles more with breaking
Substitutes with it.
- Aqua Tail gives very minimal meaningful coverage since it mostly is
super effective on Pokemon already weak to Ground. Instead, give it Ice
Punch since it's much more common on it.
* Update formats-data.js
* Update formats-data.js
2019-02-13 01:22:59 +04:00
The Immortal
2e0be4ce67
Random Battle improvements
2019-02-12 17:25:49 +04:00
Guangcong Luo
b498bb222c
Require object literal method shorthand
2019-02-11 18:14:09 -06:00
Kevin Lau
df09b719c3
Random Battle: Update Probopass ( #5159 )
...
Earth Power is one of its most used moves because of Steel trapping with
Magnet Pull, while Pain Split is almost unheard of in standard tiers,
and isn't very useful on it unless it has Sturdy (but Magnet Pull is the
better move and is rated higher)
2019-02-11 22:57:54 +04:00
MacChaeger
205a753544
Pokebilities: fix special abilities as well as Gastro Acid ( #5140 )
2019-02-06 16:30:14 +04:00
DubbleClick
0a864e84d8
Fix some LGTM alerts ( #5139 )
2019-02-05 20:34:32 -06:00
Guangcong Luo
f3e45fbb72
Move server code to server/
...
Also move mods/ to data/mods/
This makes PS more monorepo-like. The intent is to further separate
the sim and the server code, but without fully committing to splitting
the repository itself.
We now support `./pokemon-showdown start` in addition to
`./pokemon-showdown`. I'm not clear which I want to be the default
yet.
2019-02-03 16:07:06 -06:00