Kris Johnson
aaaa967ba8
Fix tiering for arbitrary battleOnly formes ( #1395 )
2019-11-17 01:12:20 +04:00
Guangcong Luo
e8a3cd55ac
Fix Darmanitan-Galar tiering
2019-11-17 09:31:45 +13:00
Guangcong Luo
cfd29205d5
Fix misc bugs in Gen 8 migration
2019-11-16 02:07:40 -05:00
Guangcong Luo
1eecc0b567
Fix Gen 8 learnsets
2019-11-15 13:54:56 -05:00
Guangcong Luo
c624c6709b
Update client for Gen 8
...
This isn't necessarily a complete update, but it adds everything I'm
aware of. The rest will come down to testing.
2019-11-16 07:25:27 +13:00
Kirk Scheibelhut
5ba0790750
Import @pokemon-showdown/sets during build ( #1368 )
2019-09-13 02:38:00 -07:00
Kirk Scheibelhut
db6c938007
Standardize file/directory names in sprites/ ( #1370 )
...
#1369
2019-09-13 00:55:55 -07:00
Kirk Scheibelhut
a9bf84ba2a
Fix HEAD vs. origin dupe check
...
git rev-parse --short sometimes returns less than 8 characters,
meaning the dedup logic is off. One alternative is just to check
origin.startsWith instead, but making them both a uniform 8 works as
well.
2019-06-16 14:10:49 -07:00
Kirk Scheibelhut
a2bbae3b35
Include origin hash in Config.version if different
2019-06-15 21:51:00 -07:00
Kirk Scheibelhut
bbad2828b0
Include commit hash in client config version ( #1303 )
2019-06-16 13:02:38 +09:00
Guangcong Luo
0757f3c1fa
Update for new Dex API
2019-05-16 01:59:18 +04:00
Kirk Scheibelhut
575bad1cf9
toId -> toID
...
Zarel/Pokemon-Showdown#5479
2019-05-14 09:54:18 -07:00
asgdf
91e84d49da
Teambuilder: Fix changed hidden abilities in older gens ( #1266 )
2019-04-20 15:08:51 +09:30
Dan Huang
2e2852f35c
Add server build step to client build ( #1262 )
2019-04-03 11:40:45 +08:00
Guangcong Luo
e6e65dde4f
Update AFD 2019 implementation
...
AFD messages are now disabled by `/afd off`
2019-04-01 19:18:28 +08:00
Guangcong Luo
27061397e0
Update item viability
2019-04-01 00:53:38 +08:00
asgdf
689c741526
Don't display illegal HMs as legal in Teambuilder ( #1253 )
2019-03-19 10:45:14 +09:00
Kris Johnson
0cb0056dae
Fix teambuilder headers ( #1254 )
2019-03-18 22:29:47 +04:00
Guangcong Luo
eb38544200
Support serving the Preact client
...
If you want to access it, I'm sure you can figure out how from this
code. ;)
2019-03-17 06:21:49 -04:00
Guangcong Luo
c9e46593ba
Update build tools for Sim TypeScript
2019-02-28 03:08:31 -05:00
Kris Johnson
567c7e16b8
Change Untiered to (PU) and (DUU) ( #1230 )
2019-02-25 01:11:06 -06:00
Kris Johnson
c9dbb4d5ae
Change (PU) to Untiered ( #1226 )
2019-02-15 17:28:45 -06:00
Kris Johnson
e62302417c
Support Untiered as a Doubles tier in teambuilder ( #1216 )
2019-01-22 19:00:12 -06:00
Kris Johnson
e3bc453210
Fix the gen number for teambuilder tables ( #1215 )
2019-01-16 15:59:58 -06:00
asgdf
3402a79466
Teambuilder: Properly label healing berry usefulness in gen 7 ( #1211 )
2019-01-13 21:47:00 -06:00
Kris Johnson
e8e347a8f7
Add a getTier function for the teambuilder ( #1208 )
2019-01-08 23:24:22 -06:00
Kris Johnson
0f3145b1ef
Let's Go: Fix learnsets and happiness value ( #1197 )
2018-12-20 09:46:32 -08:00
Guangcong Luo
eff5359fb4
Rename Tools to Dex
...
This has already been done server-side, and there's no use delaying
client.
2018-12-05 21:11:47 -06:00
The Immortal
1ef228ebcb
Let's Go: Remove UUBL classification
2018-12-04 17:16:49 +04:00
Kris Johnson
7b65496bed
Let's Go: Update tiers (client-side) ( #1189 )
2018-12-04 01:22:20 -06:00
Guangcong Luo
9024ce99be
Fix minidex building
2018-11-29 16:12:00 -05:00
Kris Johnson
460ee1ad26
Add learnset support for Let's Go ( #1177 )
2018-11-25 15:56:50 -06:00
Guangcong Luo
096f037a07
Put battle text in battledata.js
...
This makes it so a regular build will rebuild battle text, instead of
requiring a full build.
battle text is under active development, so this is pretty useful,
even if conceptually, text is purely a graphical thing and not actually
needed by headless battles.
2018-11-24 01:14:28 -06:00
Guangcong Luo
01bdf7808b
Don't build minidex if no sprites folder
...
This prevents PS from disabling sprite animations if someone runs
`./build full` without having sprites.
2018-11-24 01:14:28 -06:00
Kris Johnson
44d669f74d
Add more teambuilder support for Let's Go ( #1169 )
2018-11-22 00:10:23 -06:00
Guangcong Luo
f6c03e0370
Implement new battle-text-parser
...
All battle text messages have been moved out of `src/battle.ts` and
into its own file `data/text.js`.
Code for handling this is in the new files `src/battle-log.ts` and
`src/battle-text-parser.ts`.
`data/text.js` is now extremely self-contained, and nearly ready for
translation support!
This is a significant modernization of battle.ts. In addition to moving
messages out:
Functions for getting names (`pokemon.getLowerName()` etc) have been
removed.
`battle.minorQueue` has been removed. Minor lines are now processed
directly on the main queue, with a new `battle.waitForAnimations`
flag to decide whether or not the main queue should wait for animations
to finish before moving on to the next line.
`battle.waitForResult()` and `battle.endPrevAction()` have been
removed. These confusingly-named functions closed the messagebar (and
flush the minor queue). They've been replaced with
`scene.maybeCloseMessagebar()`.
`pokemon.markMove()` and `pokemon.markAbility()` have been renamed
`pokemon.rememberMove()` and `pokemon.rememberAbility()`.
2018-11-15 18:52:53 -06:00
Guangcong Luo
5f05adc856
Split battle-log.ts off from battle-dex.ts
...
This splits battle-dex.ts up into:
- `battle-dex.ts`
- dex data access, misc tools
- `battle-log.ts`
- manipulating HTML, especially in battle logs
This turned out to be a pretty significant portion of what was
previously battle-dex.
2018-11-15 18:52:53 -06:00
Guangcong Luo
25712419c7
Dex: Support multi-word article titles
2018-10-29 01:50:25 -04:00
Guangcong Luo
654abc3162
Fix errors caught by LGTM
2018-10-27 04:32:11 -05:00
Guangcong Luo
f86245febb
Add mocha tests to npm test
2018-10-16 03:31:27 -05:00
Guangcong Luo
9019543dc1
Don't build graphics.js by default
...
graphics.js will still be built by `./build full`, and once it already
exists, `./build` will rebuild it when it's modified.
Fixes #1150
2018-10-16 03:26:51 -05:00
Guangcong Luo
f09d917110
Support incremental builds
...
`./build` should run a lot faster now.
2018-10-16 00:31:07 -05:00
Kris Johnson
22aedd4471
Support ZU in the teambuilder ( #1152 )
2018-10-07 15:52:42 +04:00
Guangcong Luo
11b3022250
Clean up more unused variables
2018-09-06 05:35:18 -05:00
The Immortal
c5d34374ae
Add Zeraora to mythicals
2018-07-14 13:46:55 +08:00
asgdf
ae4ed26a0b
Oldgens: Don't show abilities the Pokemon didn't have at the time ( #1113 )
2018-05-20 11:24:48 -05:00
Guangcong Luo
4e7f998afa
TypeScript data/graphics.js
2018-05-18 17:10:58 -05:00
Guangcong Luo
399f1735b6
Fix build tools
...
It should now be possible to build from a fresh checkout with
`node build`.
2018-05-17 11:52:32 -05:00
asgdf
6933d5a6e6
Fix build script on Windows ( #1118 )
2018-05-14 17:50:24 -05:00
Guangcong Luo
b3c6c2a308
Make eslint ignore compiled files
2018-05-14 12:53:34 -05:00