Commit Graph

22 Commits

Author SHA1 Message Date
Sergio Garcia
fc23103de1
Fix random typos (#11020)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-04-13 23:59:36 -07:00
Guangcong Luo
b9b8bdbef7
Fix protocol doc for Splash
Fixes #9912
2023-12-28 20:10:20 -08:00
Christian Kobril
d24fdbaa77
Fix SIM-PROTOCOL.md generation description (#9948)
Gen should be from "1 to 9" instead of from "1 to 7".

Fixes #9910

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2023-12-08 03:38:02 -06:00
Alexander B
a9933742ee
Show Terastallization in switch details (#9229) 2022-12-27 13:41:10 -05:00
Guangcong Luo
f189cb9559
Fix DETAILS documentation in SIM-PROTOCOL
Fixes #8527
2021-11-10 08:39:28 -08:00
Karthik
d33bbfeba5
Use |-swapsideconditions| for Court Change (#8287) 2021-09-01 11:57:16 -04:00
Guangcong Luo
ea8e9df4e6 Further improve documentation 2021-06-10 09:17:58 -07:00
Guangcong Luo
44ef998ecc Implement free-for-all
This involves a huge refactor for how battles are constructed, but
it's totally worth it.

Currently, tournaments, challenges, and laddering are unsupported; only
unrated searches work. But it does work, and it's beautiful.
2021-04-01 04:44:16 -07:00
Leonard Craft III
95243cdb00
Don't leak target of two-turn charge moves (#7104) 2020-07-31 17:55:28 -07:00
Kirk Scheibelhut
12f9edd729
Add |t:| to support real-time replays (#6998) 2020-07-20 05:26:04 -07:00
Guangcong Luo
5108a62f5e Standardize on using + for move targeting
Move targets are now intended to be +1 +2 +3 for foes. The old syntax
of using 1 2 3 is still supported, but is not recommended.

(The old syntax will still be used in the old client, but the Preact
client will support the new syntax going forward.)

This makes the difference between move number and move target
clearer.

This also fixes the Conversion 2 ambiguity (although for backwards
compatibility, we do still need to special-case it).
2020-03-23 23:50:46 -07:00
Guangcong Luo
90c503724f Support and document /move max mindstorm
Dynamax and Z move decisions can now be input by naming the max move
or z-move involved.

Fix #6425
2020-03-21 23:38:04 -07:00
Guangcong Luo
b14b38598b Improve sim protocol documentation
This new protocol spec resolves ambiguities in cases where multiple
message types would be valid (no more wondering if an ability
activation is `-activate` or `-ability`, no more wondering if a
blocked attack is `-fail` or `-block` or `-immune` or `-activate`). It
also better matches the client's `data/text.js`.
2020-02-14 17:01:18 -08:00
Guangcong Luo
c26d6c313b
SIM-PROTOCOL: Document -block 2019-11-28 10:42:54 +13:00
TheJetOU
ade29349c6 Send Elo rating in rated battles (#5595) 2019-07-11 02:38:49 -05:00
Kirk Scheibelhut
b2777f9bf6 Remove |callback| in favor of |error| (#5418) 2019-04-09 03:33:32 +08:00
Guangcong Luo
df4d16cc20
Update RQID documentation 2019-04-08 01:51:52 +08:00
Kirk Scheibelhut
812e4efb57 Document |-sethp| 2019-04-05 20:09:44 -07:00
MacChaeger
6ac8266696 Support 4 player battles (#5266) 2019-03-18 13:37:27 +09:00
Kirk Scheibelhut
98072fff34 Make the switch command more flexible (#5288)
Make it take a case-insensitive nickname or species id,
something several of our test cases already rely upon.
2019-03-09 20:15:12 -06:00
Kirk Scheibelhut
8ffd29daae Document remaining message types in SIM-PROTOCOL (#5196) 2019-02-22 23:19:26 -06: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