Replace relative imports with absolute imports in `modifier.ts`
This commit is contained in:
parent
a229cfb916
commit
7ae7f3a0db
|
@ -1,35 +1,33 @@
|
|||
import { Nature } from "#app/data/nature";
|
||||
import { BATTLE_STATS, Stat, TEMP_BATTLE_STATS, type PermanentStat, type TempBattleStat } from "#app/enums/stat";
|
||||
import Overrides from "#app/overrides";
|
||||
import { Command } from "#app/ui/command-ui-handler";
|
||||
import { BattlerTagType } from "#enums/battler-tag-type";
|
||||
import { BerryType } from "#enums/berry-type";
|
||||
import { Species } from "#enums/species";
|
||||
import i18next from "i18next";
|
||||
import BattleScene from "../battle-scene";
|
||||
import { getBerryEffectFunc, getBerryPredicate } from "../data/berry";
|
||||
import { getLevelTotalExp } from "../data/exp";
|
||||
import { MAX_PER_TYPE_POKEBALLS, PokeballType } from "../data/pokeball";
|
||||
import { FusionSpeciesFormEvolution, pokemonEvolutions, pokemonPrevolutions } from "../data/pokemon-evolutions";
|
||||
import { FormChangeItem, SpeciesFormChangeItemTrigger, SpeciesFormChangeLapseTeraTrigger, SpeciesFormChangeTeraTrigger } from "../data/pokemon-forms";
|
||||
import { getStatusEffectHealText, StatusEffect } from "../data/status-effect";
|
||||
import { Type } from "../data/type";
|
||||
import EnemyPokemon, { PlayerPokemon } from "../field/pokemon";
|
||||
import { getPokemonNameWithAffix } from "../messages";
|
||||
import { EvolutionPhase } from "../phases/evolution-phase";
|
||||
import { achvs } from "../system/achv";
|
||||
import { VoucherType } from "../system/voucher";
|
||||
import { addTextObject, TextStyle } from "../ui/text";
|
||||
import * as Utils from "../utils";
|
||||
import * as ModifierTypes from "./modifier-type";
|
||||
import { ModifierType, modifierTypes } from "./modifier-type";
|
||||
|
||||
import BattleScene from "#app/battle-scene";
|
||||
import { getBerryEffectFunc, getBerryPredicate } from "#app/data/berry";
|
||||
import { getLevelTotalExp } from "#app/data/exp";
|
||||
import { allMoves } from "#app/data/move";
|
||||
import { Nature } from "#app/data/nature";
|
||||
import { MAX_PER_TYPE_POKEBALLS, PokeballType } from "#app/data/pokeball";
|
||||
import { FusionSpeciesFormEvolution, pokemonEvolutions, pokemonPrevolutions } from "#app/data/pokemon-evolutions";
|
||||
import { FormChangeItem, SpeciesFormChangeItemTrigger, SpeciesFormChangeLapseTeraTrigger, SpeciesFormChangeTeraTrigger } from "#app/data/pokemon-forms";
|
||||
import { getStatusEffectHealText, StatusEffect } from "#app/data/status-effect";
|
||||
import { Type } from "#app/data/type";
|
||||
import { Abilities } from "#app/enums/abilities";
|
||||
import { default as EnemyPokemon, PlayerPokemon, default as Pokemon } from "#app/field/pokemon";
|
||||
import { getPokemonNameWithAffix } from "#app/messages";
|
||||
import * as ModifierTypes from "#app/modifier/modifier-type";
|
||||
import { ModifierType, modifierTypes } from "#app/modifier/modifier-type";
|
||||
import Overrides from "#app/overrides";
|
||||
import { EvolutionPhase } from "#app/phases/evolution-phase";
|
||||
import { LearnMovePhase } from "#app/phases/learn-move-phase";
|
||||
import { LevelUpPhase } from "#app/phases/level-up-phase";
|
||||
import { PokemonHealPhase } from "#app/phases/pokemon-heal-phase";
|
||||
import Pokemon from "../field/pokemon";
|
||||
import { achvs } from "#app/system/achv";
|
||||
import { VoucherType } from "#app/system/voucher";
|
||||
import { Command } from "#app/ui/command-ui-handler";
|
||||
import { addTextObject, TextStyle } from "#app/ui/text";
|
||||
import * as Utils from "#app/utils";
|
||||
import { BattlerTagType } from "#enums/battler-tag-type";
|
||||
import { BerryType } from "#enums/berry-type";
|
||||
import { Species } from "#enums/species";
|
||||
import { BATTLE_STATS, Stat, TEMP_BATTLE_STATS, type PermanentStat, type TempBattleStat } from "#enums/stat";
|
||||
import i18next from "i18next";
|
||||
|
||||
export type ModifierPredicate<T extends Modifier = Modifier> = (modifier: T) => boolean;
|
||||
|
||||
|
|
Loading…
Reference in New Issue