Switch
io.github.pidoveproject.showdown.protocol.server.BattleMajorActionMessage.Switch
final case class Switch(pokemon: ActiveId, details: PokemonDetails, condition: Condition, cause: Option[Effect])
A pokemon switched-in.
Value parameters
- cause
-
the optional cause of the switch-in (e.g U-turn, Dragon Tail...)
- condition
-
the health and current status of the switched-in pokemon
- details
-
further details about the switched-in pokemon
- pokemon
-
the switched-in pokemon
Attributes
Members list
In this article