PokéRogue
    Preparing search index...

    Stores data and helper functions about a trainers AI options.

    Index

    Constructors

    Properties

    teraLogic: (number | [slot: number, condition: () => boolean])[] = []

    Logic determining which Pokémon will instantly Tera. Each entry is either a number (the slot index) or a tuple of the slot index and a condition function.

    teraMode: TeraAIMode = TeraAIMode.NO_TERA

    Accessors

    Methods

    • Sets a pokemon on this AI to just instantly Tera on first move used

      Parameters

      • index: number

        The index of the pokemon to instantly tera

      • Optionalcondition: () => boolean

        An optional condition function, evaluated at

      Returns void