Kris Johnson
9e5e67ad92
Let's Go: Fix issues with legality ( #5006 )
2018-12-02 13:08:01 +04:00
Kris Johnson
c3d476f056
OMotM: Update code to better match standards ( #5008 )
...
* OMotM: Update code to better match standards
* oops
2018-12-02 12:57:30 +04:00
Guangcong Luo
d90ac63f4f
Improve protocol documentation
...
Battle protocol documentation, instead of being strewn between
`PROTOCOL.md` and `sim/README.md`, is now in `sim/SIM-PROTOCOL.md`.
Also added:
- documentation for how to do searches and challenges
- documentation for packed team format
Fixes #5005
2018-12-01 19:29:50 -06:00
Guangcong Luo
2a8336e1bf
Support --debug to simulate a battle in debug mode
2018-12-01 16:04:02 -06:00
The Immortal
9121621899
OMotM: Fix legal moves check
2018-12-01 23:07:49 +04:00
The Immortal
196b90c004
Inheritance: Ban Cresselia
...
And remove Double Iron Bash from Let's Go Hackmons list as it's included in the num check.
2018-12-01 22:58:00 +04:00
The Immortal
4131b42726
Formats: Clarify that ZU is unofficial
2018-12-01 21:26:09 +04:00
The Immortal
4cde8b395d
Add Let's Go aliases
2018-12-01 21:08:06 +04:00
The Immortal
386e088992
Let's Go Hackmons: Fix legal moves
2018-12-01 20:12:17 +04:00
The Immortal
e121c0e574
Add desc and thread for Let's Go Hackmons
2018-12-01 19:15:14 +04:00
The Immortal
529bc54ce9
Update RoA Spotlight
2018-12-01 18:51:37 +04:00
The Immortal
24cfdb7d39
Update Other Metagames
2018-12-01 18:51:00 +04:00
Guangcong Luo
b6a3a56a5c
Refactor /alts permission system
...
Main actual change is that trusted users can now see global punishment
details of users in their rooms.
2018-12-01 05:36:27 -06:00
Guangcong Luo
7fd02ddc1a
Show recent battles in /alts
2018-12-01 05:36:27 -06:00
Guangcong Luo
3c316fda4d
Don't filter /data
...
:|
2018-12-01 06:29:13 -05:00
whales
a529efc466
Escape html in a few more places for helptickets ( #5004 )
2018-12-01 04:15:51 -06:00
Bär Halberkamp
49b431f7f4
Fix typo
2018-11-30 15:54:54 +01:00
Bär Halberkamp
67d7fa11b0
Revamp roomintro of groupchats
2018-11-30 15:49:33 +01:00
Russell Jones
601c09e0af
Fix edge cases in truncation ( #5003 )
2018-11-29 18:54:18 -06:00
Bär Halberkamp
f3f6d24c3c
Update PS Credits ( #4971 )
2018-11-29 16:58:57 -06:00
urkerab
a5a2586c7b
Remove obsolete crashlogger parameter ( #5001 )
2018-11-29 16:55:17 -06:00
Marty-D
0606241664
Add CAP 25: Caribolt, Smokomodo, Snaelstrom
2018-11-29 13:30:33 -05:00
CheeseMuffin
6d61719696
Trivia: Update number mode to 5 seconds per question ( #5000 )
2018-11-29 00:00:50 -06:00
Kris Johnson
f35be21021
Battle Factory: Update UU ( #4989 )
2018-11-28 15:52:41 -05:00
urkerab
022e69e944
Fix Solar Blade in Sun animation ( #4998 )
2018-11-28 13:23:33 -06:00
Lycanium Z
a158bdcbfe
SSB: Fix bugs ( #4999 )
2018-11-28 13:06:23 -05:00
urkerab
6a29f2a9da
Fix Skull Bash variants ( #4987 )
2018-11-28 05:59:15 -06:00
Guangcong Luo
aba474869d
Fix Solar Beam in Sun animation
2018-11-27 23:29:28 -06:00
Guangcong Luo
c752b327ca
Fix no-target charge moves
2018-11-27 23:25:29 -06:00
Guangcong Luo
f7094909c2
Correctly truncate values
...
Numbers in Pokemon are 32-bit integers, which means that they're
truncated (rounded towards 0) as well as overflowing at 32-bit
limits.
We've been using `Math.floor`, but JavaScript has many functions for
coercing to 32-bit integers which already do everything we want. So
this commit changes to doing that.
It's done in a new function Battle#trunc which is overridden in
Custom Games where players might prefer to play without integer
overflow issues.
(Custom Game _still_ needs a UI rework, blah blah Preact...)
Fixes #4820
Closes #4962
2018-11-27 22:22:35 -06:00
Guangcong Luo
8488835bba
Cap Speed at 10000 for Gyro Ball / Electro Ball
...
This is a real mechanic according to @SadisticMystic
2018-11-27 22:22:34 -06:00
Guangcong Luo
b95fe3a497
Implement proper RNG for speed ties
...
So the Pursuit unit test is broken in Node 0.11, because PS relies on
the sort function deterministically calling the comparison function,
and due to a recent V8 update, the call order changed.
This was a good thing, anyway, since PS didn't handle 3+-way speed ties
correctly, anyway, and it reminded me to go and fix that. Which I did.
This is as cartridge-accurate as possible, given the description given
to me by V4 in #1157 .
Fixes #1157
2018-11-27 22:22:34 -06:00
Guangcong Luo
966cee39df
Fix comment indentation in prng.js
2018-11-27 22:22:33 -06:00
Ezaphs
d9e95c3460
Implement correct 0 Happiness behaviour in Lets Go ( #4996 )
2018-11-27 17:27:42 -06:00
Guangcong Luo
228b67d712
Update config-example.js for TypeScript
2018-11-27 14:36:45 -06:00
Bär Halberkamp
9b975e6273
Also unnamelock when using /markshared
2018-11-27 20:35:29 +01:00
Bär Halberkamp
ddaacdbda2
Make /markshared send output to staff room
2018-11-27 20:35:29 +01:00
Kevin Lau
1781d0f4a8
Random Battle: Don't generate Z-Crystal Arceus if Z Move already present ( #4995 )
2018-11-26 17:58:11 +04:00
Merritty
3249a88b2e
Ban Sand Rush from BW LC ( #4994 )
2018-11-25 23:33:33 -06:00
Konrad Borowski
93df0f7749
Add datacenters used by TouchVPN ( #4993 )
2018-11-25 21:51:07 -06:00
Bär Halberkamp
3ba88ef986
Properly fix the /data thing
2018-11-26 03:58:44 +01:00
Bär Halberkamp
3505fe112b
Fix sloppy mistake in /data
2018-11-26 03:36:39 +01:00
The Immortal
47529395c4
Revert "1v1: Ban Detect ( #4992 )"
...
This reverts commit 7d60206920 .
2018-11-25 23:12:21 +04:00
Bär Halberkamp
b36e9d97db
Datasearch is an edgecase I hadn't thought of :(
2018-11-25 18:21:02 +01:00
Bär Halberkamp
2daa4027a4
Filter more command output
2018-11-25 17:58:06 +01:00
TheMezStrikes
7d60206920
1v1: Ban Detect ( #4992 )
...
https://www.smogon.com/forums/threads/1v1-metagame-discussion.3587523/post-7966762
2018-11-25 17:05:44 +04:00
Lycanium Z
e1d63ce391
SSB: Update ranks ( #4991 )
2018-11-25 09:48:01 +01:00
urkerab
ee0218f25b
Fix Tipping Over when the boosts are not removable ( #4990 )
2018-11-24 14:34:16 -06:00
Bär Halberkamp
e8476fcbef
Chat monitor: add missing username on nickname lock monitor msg
2018-11-23 21:29:15 +01:00
Bär Halberkamp
a95b73b30e
Punishments: show original userid in autonamelock modlog entries
2018-11-23 21:29:14 +01:00