Guangcong Luo
ba3016340a
Update check for Node version
2017-06-23 14:29:13 -07:00
Guangcong Luo
abfebe0da5
Drop mock-fs-require-fix dependency
...
mock-fs-require-fix was always kind of a huge hack. It's no longer
necessary, with an FS API that does everything it used to.
This removes a lot of other hacks from test/main.js, which is nice.
2017-06-23 14:29:13 -07:00
Guangcong Luo
86707e6ef5
Add new FS module
...
The new FS module is an abstraction layer over the built-in fs module.
The main reason it exists is because I need an abstraction layer I can
disable writing from. But that'll be in another commit.
Currently, mine is better because:
- paths are always relative to PS's base directory
- Promises (seriously wtf Node Core what are you thinking)
- PS-style API: FS("foo.txt").write("bar") for easier argument order
- mkdirp
This also increases the minimum supported Node version from v6.0 to
v7.7, because we now use async/await. Sorry for the inconvenience!
2017-06-23 14:29:13 -07:00
CheeseMuffin
ca94b7d764
Scavengers: Add alias of ladder ( #3688 )
2017-06-23 14:18:08 -07:00
Konrad Borowski
46f97222d2
Make matchmaking range smaller for Gen7 formats ( #3684 )
...
Previously matchmaking range was smaller for Gen6 formats, however
the most popular formats are Gen7 formats.
2017-06-23 04:35:08 -07:00
Guangcong Luo
f87c0e2790
Use Unicode in package.json
...
`npm install` forces package.json into using the unicode accented-e in
"Pokemon" instead of the escaped format, so committing this prevents the
dirty tree that would otherwise happen every time someone installed
dependencies.
2017-06-23 06:49:58 -04:00
Guangcong Luo
b78350c1ec
Make /dt dex-number lookup stricter
...
Previously, passing anything that started with a number to /dt would
make it look it up as a dex number.
This made it impossible to look up "10,000,000 Volt Thunderbolt".
Now, it has to be exactly a number and nothing else, to be considered
a dex number for the /dt lookup.
2017-06-23 06:49:58 -04:00
Guangcong Luo
82431d9afe
Fix validator issue
...
Bringing no item caused the validator to break (which, of course,
made it nearly impossible to play gen 1).
I really wish full TypeScript coverage could come ASAP, so these
sorts of bugs would come less often.
2017-06-23 06:46:38 -04:00
n10sit
09051162f9
Ban Cameruptite and Banettite from Doubles UU ( #3681 )
2017-06-23 13:59:17 +04:00
Kris Johnson
2e8b27b5a8
othermetas.js: Update Tier Shift boosts ( #3679 )
2017-06-22 23:56:52 -07:00
Kris Johnson
e2a8fd0135
Release Banettite and Cameruptite ( #3680 )
2017-06-23 10:02:25 +04:00
Bär Halberkamp
0b529e1d4d
Fix user reasons in punishments
2017-06-23 01:20:50 -04:00
Ben Davies
e46c32a4b9
Commands: fix /processes crash ( #3678 )
2017-06-22 21:33:02 -07:00
Guangcong Luo
dbea0875fb
Fix Erika spelling in /avatar
2017-06-22 20:58:01 -07:00
Guangcong Luo
83f70fcf3a
Export PRNG from sim/
2017-06-22 20:57:51 -07:00
Marty-D
54067ecc06
Learnsets: Fix Gen IV tutor moves
2017-06-22 23:22:31 -04:00
urkerab
e7395c2228
Munchlax learns Superpower as a Tutor move in Gen 4 ( #3677 )
2017-06-23 06:16:18 +04:00
Konrad Borowski
375ea1313c
Locale aware time in /roomevents ( #3676 )
...
Depends on Pokemon-Showdown-Client#950
2017-06-22 16:11:40 -07:00
Quinton Lee
e3b964a65d
Show correct rulesets in custom format battles ( #3674 )
...
Also add more format documentation
2017-06-22 15:25:31 -07:00
Kris Johnson
085b3b2c83
othermetas.js: Update /mnm Stone restrictions ( #3675 )
2017-06-22 15:02:53 -07:00
Konrad Borowski
a2583085c7
Mark Ash Pikachu events as Gen7 ( #3673 )
2017-06-22 04:42:31 -07:00
asgdf
bf85c96ac4
Modlog: properly spawn processes ( #3672 )
2017-06-22 04:39:18 -07:00
Quinton Lee
5ab919d858
Refactor supplementary banlists into custom formats ( #3671 )
2017-06-22 03:10:15 -07:00
Quinton Lee
ec10d30996
eslint: Lint sim/ directory ( #3670 )
2017-06-21 20:00:17 -07:00
Quinton Lee
1ff35a8f03
Typescript: fix tsconfig target
2017-06-21 21:38:41 -05:00
Bär Halberkamp
ee5cc5e869
Roomfaqs: Change saveRoomFaqs() to not use writeFileSync
2017-06-21 21:36:19 -04:00
Marty-D
88e03486a8
Update Sheer Cold mechanics
2017-06-21 19:25:53 -04:00
jumbowhales
fece2a7d50
Veekun: show help if no target is given ( #3668 )
2017-06-20 21:55:28 -07:00
The Immortal
5a9f3b253e
Update gen 6 Random Battle
2017-06-20 22:35:33 +04:00
EyanZ
b390befabd
UU tier updates ( #3667 )
2017-06-20 22:29:25 +04:00
Spandan Punwatkar
252f844592
Update Other Metas Commands ( #3666 )
2017-06-20 01:07:54 -07:00
panpawn
0bf26f0928
Fix lock/ban messages without a reason but proof ( #3664 )
...
I don't know what I was thinking with this line
2017-06-19 19:07:12 -07:00
xCrystal
6b44bab1fb
Gen 1 Randbats: Minor moveset updates ( #3662 )
...
Reverts #3592 (not a bug), and also I took the opportunity to tweak Beedrill's moveset.
2017-06-19 17:03:47 -07:00
Spandan Punwatkar
d1400f4644
Refactor /data to generate HTML ( #3378 )
2017-06-19 17:02:47 -07:00
Charlie Kobayashi
e4fe38126e
Rooms: send a |customgroups| message on connect ( #3529 )
2017-06-19 16:12:52 -07:00
panpawn
df979b8f89
Fix typo from #3661 ( #3663 )
2017-06-19 15:22:06 -07:00
Guangcong Luo
0835355821
tiny tourney does not require pentagons
...
Source: https://3ds.pokemon-gl.com/information/c22b4e19-b47d-4bad-8919-34c81fa3082e
"You can use the Poké Transporter to bring in Pokémon from earlier
games."
2017-06-19 14:56:28 -07:00
Guangcong Luo
1d7d4ff837
Fix deprecated fs.close call signature
2017-06-19 14:54:42 -07:00
Lionyx
00e7948313
Fix /smogdex for Ubers ( #3660 )
...
Linking to a Smogon format analysis containing /ubers would give a wrong link in the current situation
2017-06-19 14:02:47 -07:00
panpawn
8e0b51d8b2
Some blacklist command changes ( #3661 )
...
- Allow /expiringblacklists to show the list of blacklists that are expiring within 3 months or less
- Add /nameblacklist as an alias to /blacklistname and document it
- Change /blacklist and /blacklistname modlog text to say "from room title" to mirror roombans modlog UI
2017-06-19 14:02:29 -07:00
The Immortal
c6df06fb70
Move Exploud to BL3
2017-06-20 00:22:11 +04:00
jumbowhales
76b56bddb4
Uno: wild cards default to the color of the top card when DQd ( #3578 )
2017-06-19 10:49:13 -07:00
Kevin Lau
6be947c0f8
Random Battle: Add Pursuit to Alolan Muk ( #3659 )
...
It's commonly used on its sets and can help with trapping.
2017-06-19 19:33:06 +04:00
xCrystal
6782b32973
Gen 2: Fix items like Thick Club on nicknamed Pokemon ( #3658 )
2017-06-19 03:30:42 -07:00
Bär Halberkamp
961ffc3f9b
Upgrade eslint to 4.x ( #3657 )
2017-06-18 22:37:43 -07:00
xCrystal
07bbdd0ab9
Gen 2 Random Battles: General update and improvements ( #3601 )
2017-06-18 20:05:44 -07:00
Guangcong Luo
47a35b7b45
Refactor dexsearch
...
- Icons and names now both show up, margins tweaked to look good
- Results are now clickable
2017-06-18 21:56:34 -04:00
Caleb Young
912dfa56c3
Gen 3: Implement correct damage flooring ( #3655 )
2017-06-18 17:25:03 -07:00
The Immortal
26833a9923
Gen 4 Random Battle: Improvements
2017-06-19 04:13:16 +04:00
Bär Halberkamp
b678247ba6
Datasearch: get rid of commas in between icons
2017-06-18 17:26:00 -04:00