Commit Graph

262 Commits

Author SHA1 Message Date
Marty-D
c494ac362a
"Fix" the second turn of called multi-turn moves
TODO: Not this. Calling moves that select multi-turn moves currently use the target of the calling move on the second turn, which is probably the user and would otherwise fail if not for being re-targeted again. Maybe store a locking move's randomly selected target in a Pokemon or move volatile instead.
2018-09-08 12:05:55 -04:00
Guangcong Luo
ae03a15c74 Fix misc bugs discovered by LGTM 2018-09-06 02:31:12 -05:00
Guangcong Luo
0f2d590e6e
Update SIM README MOVESLOTSPEC table 2018-09-03 21:12:45 -05:00
Guangcong Luo
a96e804c87
Improve Sim README
- Remove reference to "new API" vs "old API"
- Fix `TARGETSPEC` table Markdown
2018-09-03 21:09:28 -05:00
Marty-D
733ea72d4f Make a move fail if the target is the user and it's not self-target 2018-09-03 11:24:38 -04:00
Marty-D
3933cf5c7b
Fix past gen Pursuit knockouts on the switch 2018-09-01 09:31:45 -04:00
Marty-D
5271a3c44f Gen I: Fix PP underflow for binding moves 2018-08-25 15:07:50 -04:00
Marty-D
009515fafe
Validator: Fix past gen egg move validation
Also fixes #4815
2018-08-21 12:17:36 -04:00
Marty-D
c0d9077ce5
Fix forced Struggle targeting 2018-08-07 22:33:33 -04:00
littlefoot22
58e9a8923e Fix Rollout / Ice Ball target locking (#4796) 2018-08-07 21:54:35 -04:00
MacChaeger
82c792f82c Update to TypeScript 3.0.1 (#4710) 2018-08-07 03:27:28 +09:00
urkerab
09319ff399 Followup to #3211 to ignore Z-status moves (#4787) 2018-08-05 05:02:53 +09:00
Marty-D
69733318ba
Correct end-of-battle boost check 2018-08-03 13:57:58 +00:00
urkerab
d8ebd62c87 Other Metagames of the Month August 2018 (#4782) 2018-08-03 13:49:06 +04:00
urkerab
66f398c413 Set gender when validating restricted sources (#4775) 2018-08-03 09:53:51 +09:00
Marty-D
88d02ef8b5 Deal with illegal move combinations
Until the validator can handle them
2018-07-29 18:18:29 -04:00
littlefoot22
ecdd0f8165 Prevent effects from changing stats after final Pokemon is KOed (#4777) 2018-07-29 08:55:34 -04:00
NoahWhite1115
ee6532d0ce Fix Illusion to display Users level instead of Illusions level (#4764) 2018-07-20 15:27:53 +09:00
Guangcong Luo
7ec8bb7bcb Rename getData to getRequestData
Part of an ongoing effort to get rid of ridiculously vague
function/variable names.
2018-07-20 14:40:40 +09:00
Quinton Lee
58b20d99eb Dex: Support custom rules altering complex bans (#4738)
Also adds some tests for custom rules
2018-07-03 17:22:28 -07:00
Quinton Lee
ed01c527ba
Validator: allow custom rules to unban unreleased items and moves 2018-07-03 11:29:38 -05:00
Marty-D
538ac5ca55 Fix protection interaction with Z-Powered Z-Moves 2018-06-30 16:34:35 -04:00
Marty-D
f259d43987 Fix Nightmare removal properly 2018-06-09 18:17:58 -04:00
Marty-D
e3416dd54a
Fix some formechange bugs
- Allows Rayquaza to visibly Mega Evolve with no item again
- There's no reason to do complete forme changes in Gen 1 or 2
2018-06-09 15:28:57 +00:00
Marty-D
691ce185b0 Add Shiny Zygarde event 2018-05-31 22:02:02 -04:00
MacChaeger
b082705569 Transform should ignore Roost's effects (#4698) 2018-05-28 13:17:06 -04:00
MacChaeger
df20e45f92 Camomons: Fix permanent forme changes causing apparentType to desync (#4693) 2018-05-26 21:11:58 -05:00
MacChaeger
22ad90d3ff Camomons: Modify the template unless the Pokemon is transforming (#4688) 2018-05-25 19:27:47 -04:00
MacChaeger
1aaeca908f Fix transforming into Arceus/Silvally (#4687) 2018-05-23 19:55:59 -04:00
MacChaeger
08ba5bc831 Make formeChange handle relevant messages and ability changes (#4654) 2018-05-23 19:55:05 -04:00
MacChaeger
a85932f75b Actually fix Camomons (#4685) 2018-05-22 00:54:14 -05:00
MacChaeger
1be208916a Improve Stomping Tantrum interaction with Protect (#4680) 2018-05-21 22:39:30 -04:00
MacChaeger
68783537ca Fix type display in camomons after switching out (#4683) 2018-05-21 21:27:07 -05:00
MacChaeger
e3174ebc02 Fix type display in Gen 7 metas (#4655) 2018-05-21 17:27:23 -05:00
MacChaeger
a4a3d31b7c Properly support Pokemon with no ability (#4678) 2018-05-20 22:13:24 -05:00
Ivo Julca
c3e752c87f Fix leak of trapped status if no healthy Pokémon can switch in
Only request data needs this fix, as choice validation is already safe from this issue.
2018-05-19 15:09:41 -05:00
MacChaeger
dbb3d1a053 Fix failure messages of nonstandard healing moves (again) (#4675) 2018-05-18 15:47:46 -05:00
Marty-D
b450fce65e
Fix Shell Bell damage tracker 2018-05-14 13:34:54 +00:00
Marty-D
d5f9b427de
Validator: Check Secret Sword Keldeo-Ordinary origin 2018-05-06 10:35:21 -04:00
Quinton Lee
cf50a3d642 Typescript the rest of mods/ (#4588) 2018-05-05 14:56:45 -05:00
Marty-D
6bf35eeb2c Rename BLs 2018-04-24 20:29:06 -04:00
urkerab
8d82a3d373 Show only one tier validation problem (#4615) 2018-04-21 21:40:01 -05:00
asgdf
40280a12c0 Fix name of Arceus/Silvally templates (#4603) 2018-04-18 17:32:10 -05:00
asgdf
d5c9a241f3 Fix /dt always displaying normal forme of Arceus/Silvally (#4600) 2018-04-17 07:57:13 -05:00
Guangcong Luo
a1a88999ad Support Doubles in battle-stream-example.js 2018-04-15 17:08:08 -05:00
Guangcong Luo
467b545496 Add example code for using the Sim API 2018-04-15 06:10:08 -05:00
MacChaeger
95e0f30027 Spite: Show actual PP reduction (#4590) 2018-04-15 01:40:49 -05:00
Kris Johnson
61076ec11f Change all Smogon links to https (#4587) 2018-04-13 12:24:42 -04:00
urkerab
0ff06a45ee Properly check for battle before logging crash (#4583) 2018-04-13 08:04:52 -05:00
Quinton Lee
acd812c71e Typescript gens 1-4 (#4556) 2018-04-11 22:11:25 -05:00