PokéRogue
    Preparing search index...

    Interface for info about the currently active Terrain.

    interface TerrainInfo {
        duration: number;
        maxDuration: number;
        name: string;
        terrainType: TerrainType;
    }
    Index

    Properties

    duration: number

    The current duration left on the terrain.

    maxDuration: number

    The initial duration of the terrain effect, or 0 if it should last indefinitely.

    name: string

    The localized name of the terrain.

    terrainType: TerrainType

    The current TerrainType.