# EnemyPokemonConfig | pokemon-rogue-battle
Documentation for pokemon-rogue-battle

# Interface EnemyPokemonConfig

interface EnemyPokemonConfig {
abilityIndex ?: number;
aiType ?: AiType ;
bossSegmentModifier ?: number;
bossSegments ?: number;
customPokemonData ?: CustomPokemonData ;
dataSource ?: default ;
formIndex ?: number;
gender ?: Gender ;
isBoss : boolean;
ivs ?: [number, number, number, number, number, number];
level ?: number;
modifierConfigs ?: default [];
moveSet ?: Moves [];
mysteryEncounterBattleEffects ?: (pokemon: default ) => void;
nature ?: Nature ;
nickname ?: string;
passive ?: boolean;
shiny ?: boolean;
species : default ;
status ?: StatusEffect | [ StatusEffect , number];
tags ?: BattlerTagType [];
tera ?: PokemonType ;
variant ?: Variant ;
}

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:97

##### Index

### Properties

abilityIndex?
aiType?
bossSegmentModifier?
bossSegments?
customPokemonData?
dataSource?
formIndex?
gender?
isBoss
ivs?
level?
modifierConfigs?
moveSet?
mysteryEncounterBattleEffects?
nature?
nickname?
passive?
shiny?
species
status?
tags?
tera?
variant?

## Properties

### `Optional` abilityIndex

abilityIndex?: number

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:105

### `Optional` aiType

aiType?: AiType

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:122

### `Optional` bossSegmentModifier

bossSegmentModifier?: number

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:102

### `Optional` bossSegments

bossSegments?: number

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:101

### `Optional` customPokemonData

customPokemonData?: CustomPokemonData

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:103

### `Optional` dataSource

dataSource?: default

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:120

### `Optional` formIndex

formIndex?: number

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:104

### `Optional` gender

gender?: Gender

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:107

### isBoss

isBoss: boolean

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:99

### `Optional` ivs

ivs?: [number, number, number, number, number, number]

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:111

### `Optional` level

level?: number

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:106

### `Optional` modifierConfigs

modifierConfigs?: default []

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:118

### `Optional` moveSet

moveSet?: Moves []

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:109

### `Optional` mysteryEncounterBattleEffects

mysteryEncounterBattleEffects?: (pokemon: default ) => void

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:117

### `Optional` nature

nature?: Nature

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:110

### `Optional` nickname

nickname?: string

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:100

### `Optional` passive

passive?: boolean

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:108

### `Optional` shiny

shiny?: boolean

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:112

### species

species: default

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:98

### `Optional` status

status?: StatusEffect | [ StatusEffect , number]

Can set just the status, or pass a timer on the status turns

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:116

### `Optional` tags

tags?: BattlerTagType []

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:119

### `Optional` tera

tera?: PokemonType

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:121

### `Optional` variant

variant?: Variant

Is only checked if Pokemon is shiny

- Defined in src/data/mystery-encounters/utils/encounter-phase-utils.ts:114