dist/models~ MoveResult

new MoveResult()

Represents the results of a Pokemon move being used.

Properties
NameTypeDescription
successboolean

Whether the move was successful.

damagenumber

The amount of damage dealt by the move.

healingnumber

The amount of HP healed by the move.

ailmentstring | null

The ailment inflicted by the move, or null if none.

messagesArray.<string>

Additional messages about the move's effect.

stat_changesArray.<StatChange>

A list of stat changes caused by the move.