BattleMajorActionMessage
A major action on an active battle.
Attributes
- Source
- BattleMajorActionMessage.scala
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
Details about a pokemon changed. Happens when the pokemon changes form.
Details about a pokemon changed. Happens when the pokemon changes form.
Value parameters
- condition
-
the health and current status of the pokemon
- details
-
the new details of the pokemon
- pokemon
-
the modified pokemon
Attributes
A pokemon fainted.
A pokemon fainted.
Value parameters
- pokemon
-
the fainted pokemon
Attributes
A pokemon used a move.
A pokemon used a move.
Value parameters
- move
-
the move used by the attacker
- pokemon
-
the attacker
- target
-
the pokemon taking the move
Attributes
Replace pokemon information. Sent when Zoroark's illusion fades.
Replace pokemon information. Sent when Zoroark's illusion fades.
Value parameters
- condition
-
the health and current status of the switched-in pokemon
- details
-
further details about the new pokemon
- pokemon
-
the new pokemon
Attributes
Change the position of a pokemon.
Change the position of a pokemon.
Value parameters
- pokemon
-
the pokemon to swap
- slot
-
the slot to put the pokemon in
Attributes
A pokemon switched-in.
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
A pokemon is unable to do an action.
A pokemon is unable to do an action.
Value parameters
- move
-
the optional move causing the incapacity
- pokemon
-
the pokemon unable to execute its action
- reason
-
the reason of the incapacity