Fixed type import inside move.ts

This commit is contained in:
Bertie690 2025-06-16 12:46:50 -04:00
parent 9ca3bdebdc
commit 22e28956b6

View File

@ -97,7 +97,7 @@ import { MoveEffectTrigger } from "#enums/MoveEffectTrigger";
import { MultiHitType } from "#enums/MultiHitType";
import { invalidAssistMoves, invalidCopycatMoves, invalidMetronomeMoves, invalidMirrorMoveMoves, invalidSleepTalkMoves } from "./invalid-moves";
import { SelectBiomePhase } from "#app/phases/select-biome-phase";
import { ChargingMove, MoveAttrMap, MoveAttrString, MoveKindString, MoveClassMap } from "#app/@types/move-types";
import type { ChargingMove, MoveAttrMap, MoveAttrString, MoveKindString, MoveClassMap } from "#app/@types/move-types";
import { applyMoveAttrs } from "./apply-attrs";
import { frenzyMissFunc, getMoveTargets } from "./move-utils";
@ -126,10 +126,10 @@ export default abstract class Move implements Localizable {
/**
* Check if the move is of the given subclass without requiring `instanceof`.
*
*
* Does _not_ work for {@linkcode ChargingAttackMove} and {@linkcode ChargingSelfStatusMove} subclasses. For those,
* use {@linkcode isChargingMove} instead.
*
*
* @param moveKind - The string name of the move to check against
* @returns Whether this move is of the provided type.
*/