Refactor import paths to use absolute paths from '@sammo-ts/logic' for consistency and clarity across the codebase. This includes updates to various modules related to actions, triggers, constraints, and world management, ensuring that all imports are correctly pointing to the new structure.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { LogFormat } from '../../logging/types.js';
|
||||
import { TriggerPriority } from '../../triggers/core.js';
|
||||
import { BaseWarUnitTrigger, WarTriggerCaller } from '../triggers.js';
|
||||
import { WarUnitGeneral, type WarUnit } from '../units.js';
|
||||
import { LogFormat } from '@sammo-ts/logic/logging/types.js';
|
||||
import { TriggerPriority } from '@sammo-ts/logic/triggers/core.js';
|
||||
import { BaseWarUnitTrigger, WarTriggerCaller } from '@sammo-ts/logic/war/triggers.js';
|
||||
import { WarUnitGeneral, type WarUnit } from '@sammo-ts/logic/war/units.js';
|
||||
import type { WarTriggerModule } from './types.js';
|
||||
|
||||
// 의술: 치료 시도
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { LogFormat } from '../../logging/types.js';
|
||||
import { TriggerPriority } from '../../triggers/core.js';
|
||||
import { BaseWarUnitTrigger, WarTriggerCaller } from '../triggers.js';
|
||||
import { WarUnitGeneral, type WarUnit } from '../units.js';
|
||||
import { LogFormat } from '@sammo-ts/logic/logging/types.js';
|
||||
import { TriggerPriority } from '@sammo-ts/logic/triggers/core.js';
|
||||
import { BaseWarUnitTrigger, WarTriggerCaller } from '@sammo-ts/logic/war/triggers.js';
|
||||
import { WarUnitGeneral, type WarUnit } from '@sammo-ts/logic/war/units.js';
|
||||
import type { WarTriggerModule } from './types.js';
|
||||
|
||||
// 기본 필살: 시도 단계
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { WarTriggerModule, WarTriggerModuleExport } from './types.js';
|
||||
import type { WarTriggerRegistry } from '../triggers.js';
|
||||
import type { WarTriggerRegistry } from '@sammo-ts/logic/war/triggers.js';
|
||||
|
||||
export const WAR_TRIGGER_KEYS = [
|
||||
'che_필살',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { WarTriggerCaller } from '../triggers.js';
|
||||
import type { WarUnit } from '../units.js';
|
||||
import type { WarTriggerCaller } from '@sammo-ts/logic/war/triggers.js';
|
||||
import type { WarUnit } from '@sammo-ts/logic/war/units.js';
|
||||
|
||||
export interface WarTriggerModule {
|
||||
key: string;
|
||||
|
||||
Reference in New Issue
Block a user