Commit Graph

1074 Commits

Author SHA1 Message Date
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