io.github.pidoveproject.showdown.battle.Effect
See theEffect companion object
enum Effect
An instant effect, usually a cause of change in the battle state.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
An effect caused by an ability.
An effect caused by an ability.
Value parameters
- ability
-
the causing ability
Attributes
An effect caused by the pokemon's currently held item
An effect caused by the pokemon's currently held item
Attributes
An effect caused by an item.
An effect caused by an item.
Value parameters
- item
-
the causing item
Attributes
A unknown/miscellaneous move.
A unknown/miscellaneous move.
Value parameters
- effect
-
the raw effect as text
Attributes
An effect caused of a move.
An effect caused of a move.
Value parameters
- move
-
the causing move
Attributes
An effect caused by a pokemon.
An effect caused by a pokemon.
Value parameters
- effect
-
the triggered effect
- owner
-
the active pokemon causing the effect
Attributes
Silence caused by a ability or a move (like Throat Chop).
Silence caused by a ability or a move (like Throat Chop).
Attributes
In this article