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

# Type Alias GeneratorModifierOverride

GeneratorModifierOverride: { count?: number } & (
| {
name: keyof Pick<typeof modifierTypes , "SPECIES_STAT_BOOSTER">;
type?: SpeciesStatBoosterItem ;
}
| {
name: keyof Pick<typeof modifierTypes , "TEMP_STAT_STAGE_BOOSTER">;
type?: TempBattleStat ;
}
| {
name: keyof Pick<typeof modifierTypes , "BASE_STAT_BOOSTER">;
type?: Stat ;
}
| { name: keyof Pick<typeof modifierTypes , "MINT">; type?: Nature }
| {
name: keyof Pick<
typeof modifierTypes ,
"ATTACK_TYPE_BOOSTER"
| "TERA_SHARD",
>;
type?: PokemonType ;
}
| { name: keyof Pick<typeof modifierTypes , "BERRY">; type?: BerryType }
| {
name: keyof Pick<
typeof modifierTypes ,
"EVOLUTION_ITEM"
| "RARE_EVOLUTION_ITEM",
>;
type?: EvolutionItem ;
}
| {
name: keyof Pick<typeof modifierTypes , "FORM_CHANGE_ITEM">;
type?: FormChangeItem ;
}
| {
name: keyof Pick<
typeof modifierTypes ,
"TM_COMMON"
| "TM_GREAT"
| "TM_ULTRA",
>;
type?: Moves ;
}
)

Type for modifiers and held items that are constructed via `ModifierTypeGenerator`.

- Defined in src/modifier/modifier-type.ts:1842