mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Fixed type import inside move.ts
This commit is contained in:
parent
9ca3bdebdc
commit
22e28956b6
@ -97,7 +97,7 @@ import { MoveEffectTrigger } from "#enums/MoveEffectTrigger";
|
|||||||
import { MultiHitType } from "#enums/MultiHitType";
|
import { MultiHitType } from "#enums/MultiHitType";
|
||||||
import { invalidAssistMoves, invalidCopycatMoves, invalidMetronomeMoves, invalidMirrorMoveMoves, invalidSleepTalkMoves } from "./invalid-moves";
|
import { invalidAssistMoves, invalidCopycatMoves, invalidMetronomeMoves, invalidMirrorMoveMoves, invalidSleepTalkMoves } from "./invalid-moves";
|
||||||
import { SelectBiomePhase } from "#app/phases/select-biome-phase";
|
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 { applyMoveAttrs } from "./apply-attrs";
|
||||||
import { frenzyMissFunc, getMoveTargets } from "./move-utils";
|
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`.
|
* Check if the move is of the given subclass without requiring `instanceof`.
|
||||||
*
|
*
|
||||||
* ⚠️ Does _not_ work for {@linkcode ChargingAttackMove} and {@linkcode ChargingSelfStatusMove} subclasses. For those,
|
* ⚠️ Does _not_ work for {@linkcode ChargingAttackMove} and {@linkcode ChargingSelfStatusMove} subclasses. For those,
|
||||||
* use {@linkcode isChargingMove} instead.
|
* use {@linkcode isChargingMove} instead.
|
||||||
*
|
*
|
||||||
* @param moveKind - The string name of the move to check against
|
* @param moveKind - The string name of the move to check against
|
||||||
* @returns Whether this move is of the provided type.
|
* @returns Whether this move is of the provided type.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user