mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 21:42:20 +02:00
Created items folder
This commit is contained in:
parent
318f326e3b
commit
096c3e018e
@ -124,7 +124,7 @@ import { MultiHitType } from "#enums/MultiHitType";
|
||||
import { invalidAssistMoves, invalidCopycatMoves, invalidMetronomeMoves, invalidMirrorMoveMoves, invalidSleepTalkMoves } from "./invalid-moves";
|
||||
import { TrainerVariant } from "#app/field/trainer";
|
||||
import { SelectBiomePhase } from "#app/phases/select-biome-phase";
|
||||
import { applyAttackTypeBoosterHeldItem } from "#app/modifier/held-items/attack-type-booster";
|
||||
import { applyAttackTypeBoosterHeldItem } from "#app/items/held-items/attack-type-booster";
|
||||
|
||||
type MoveConditionFunc = (user: Pokemon, target: Pokemon, move: Move) => boolean;
|
||||
type UserMoveConditionFunc = (user: Pokemon, move: Move) => boolean;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { allHeldItems } from "#app/modifier/all-held-items";
|
||||
import { allHeldItems } from "#app/items/all-held-items";
|
||||
import type { HeldItems } from "#app/enums/held-items";
|
||||
|
||||
interface HeldItemProperties {
|
||||
|
@ -3,7 +3,7 @@ import { PokemonType } from "#enums/pokemon-type";
|
||||
import i18next from "i18next";
|
||||
import type { NumberHolder } from "#app/utils/common";
|
||||
import type Pokemon from "#app/field/pokemon";
|
||||
import { HeldItem } from "../held-item";
|
||||
import { HeldItem } from "#app/items/held-item";
|
||||
import { allHeldItems } from "../all-held-items";
|
||||
|
||||
interface AttackTypeToHeldItemMap {
|
@ -1,7 +1,7 @@
|
||||
import type Pokemon from "#app/field/pokemon";
|
||||
import { globalScene } from "#app/global-scene";
|
||||
import i18next from "i18next";
|
||||
import { HeldItem } from "../held-item";
|
||||
import { HeldItem } from "#app/items/held-item";
|
||||
import { PokemonHealPhase } from "#app/phases/pokemon-heal-phase";
|
||||
import { toDmgValue } from "#app/utils/common";
|
||||
import { getPokemonNameWithAffix } from "#app/messages";
|
@ -21,7 +21,7 @@ import { initVouchers } from "#app/system/voucher";
|
||||
import { Biome } from "#enums/biome";
|
||||
import { initMysteryEncounters } from "#app/data/mystery-encounters/mystery-encounters";
|
||||
import { timedEventManager } from "./global-event-manager";
|
||||
import { initHeldItems } from "./modifier/all-held-items";
|
||||
import { initHeldItems } from "./items/all-held-items";
|
||||
|
||||
export class LoadingScene extends SceneBase {
|
||||
public static readonly KEY = "loading";
|
||||
|
@ -130,9 +130,9 @@ import { StatusEffect } from "#enums/status-effect";
|
||||
import i18next from "i18next";
|
||||
import { timedEventManager } from "#app/global-event-manager";
|
||||
import { HeldItems } from "#enums/held-items";
|
||||
import { allHeldItems } from "./all-held-items";
|
||||
import { allHeldItems } from "#app/items/all-held-items";
|
||||
import { TYPE_BOOST_ITEM_BOOST_PERCENT } from "#app/constants";
|
||||
import { attackTypeToHeldItem } from "./held-items/attack-type-booster";
|
||||
import { attackTypeToHeldItem } from "#app/items/held-items/attack-type-booster";
|
||||
|
||||
const outputModifierData = false;
|
||||
const useMaxWeightForOutput = false;
|
||||
|
@ -15,7 +15,7 @@ import i18next from "i18next";
|
||||
import { FieldPhase } from "./field-phase";
|
||||
import { PokemonHealPhase } from "./pokemon-heal-phase";
|
||||
import { globalScene } from "#app/global-scene";
|
||||
import { applyTurnHealHeldItem } from "#app/modifier/held-items/turn-heal";
|
||||
import { applyTurnHealHeldItem } from "#app/items/held-items/turn-heal";
|
||||
|
||||
export class TurnEndPhase extends FieldPhase {
|
||||
start() {
|
||||
|
@ -39,7 +39,7 @@ import { PlayerGender } from "#enums/player-gender";
|
||||
import { Stat, PERMANENT_STATS, getStatKey } from "#enums/stat";
|
||||
import { Nature } from "#enums/nature";
|
||||
import { achvs } from "#app/system/achv";
|
||||
import { allHeldItems } from "#app/modifier/all-held-items";
|
||||
import { allHeldItems } from "#app/items/all-held-items";
|
||||
|
||||
enum Page {
|
||||
PROFILE,
|
||||
|
Loading…
Reference in New Issue
Block a user