Closed sooham closed 6 years ago
level
is left off of details
if it's 100. Unown is level 100 in Random Battle.
details
is documented in PROTOCOL.md
in the |switch|
major action.
https://github.com/Zarel/Pokemon-Showdown/blob/master/PROTOCOL.md#major-actions
Relevant excerpt of PROTOCOL.md:
DETAILS
is a comma-separated list of all information about a pokemon visible on the battle screen: species, shininess, gender, and level. So it starts withSPECIES
, adding, shiny
if it's shiny,, M
if it's male,, F
if it's female,, L##
if it's not level 100.So, for instance,
Deoxys-Speed
is a level 100 non-shiny genderless Deoxys (Speed forme).Sawsbuck, shiny, F, L50
is a level 50 shiny female Sawsbuck (Spring form).
Hi, for battle type gen7randombattle. I noticed Unown JSON does not have
details
attribute sent when therequest
action is sent.Example websocket data recv from server.
notice the following
Usually
details
is of formatpokemon_ident level gender_if_any
i.eAraquanid, L79, F
.