Expand description

Types and structs related to moves

This module does not contain ways to execute moves, as the battle crate does this.

Modules

Structs

Moves that Pokemon use in battle. These can also have other uses too, such as triggering events in a world.

An identifier for a Move.

Enums

The category of a move.

The target of a Move.

Type Definitions

How accurate a Move is, in values 0 - 100.

This helps determine if a Move should be a critical hit. The higher the value, the higher the chance of a critical hit. This maxes out at 4.

How many times a Move can be used before needing to be restored.

How powerful a Move is, in points. Some moves do not use power levels.

This determines whether the Move goes before another. The higher the value, the higher the priority.