mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 08:46:55 +00:00
Autocomplete for modifiers in overrides (#1057)
* Autocomplete for modifiers * Update overrides.ts --------- Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
This commit is contained in:
parent
218cf025a3
commit
f2a6fe5c6a
@ -14,6 +14,7 @@ import { PokeballType } from "./data/pokeball";
|
|||||||
import {TimeOfDay} from "#app/data/enums/time-of-day";
|
import {TimeOfDay} from "#app/data/enums/time-of-day";
|
||||||
import { Gender } from "./data/gender";
|
import { Gender } from "./data/gender";
|
||||||
import { StatusEffect } from "./data/status-effect";
|
import { StatusEffect } from "./data/status-effect";
|
||||||
|
import { modifierTypes } from "./modifier/modifier-type";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Overrides for testing different in game situations
|
* Overrides for testing different in game situations
|
||||||
@ -100,7 +101,7 @@ export const OPP_VARIANT_OVERRIDE: Variant = 0;
|
|||||||
* - BerryType is for BERRY
|
* - BerryType is for BERRY
|
||||||
*/
|
*/
|
||||||
interface ModifierOverride {
|
interface ModifierOverride {
|
||||||
name: string,
|
name: keyof typeof modifierTypes & string,
|
||||||
count?: integer
|
count?: integer
|
||||||
type?: TempBattleStat|Stat|Nature|Type|BerryType
|
type?: TempBattleStat|Stat|Nature|Type|BerryType
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user