PokéRogue
    Preparing search index...

    A restriction that prevents a move from being selected

    Restrictions will only prevent the move from being selected, and have no bearing on the actual success or failure thereof. \

    MoveCondition Similar class handling move failures instead

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    An arbitrary lambda function checked when this move is selected.
    Should return false if the move is to be rendered unselectable.

    i18nkey: string

    The i18n locales key shown when preventing the player from selecting the move.
    Within the text, {{pokemonNameWithAffix}} and {{moveName}} will be populated with the name of the Pokemon using the move and the name of the move being selected, respectively.

    "battle:moveRestricted"

    Methods