import type { EntityId } from 'db://assets/mx/module/ecs'; import type { ProjectBattleHandle } from '../runtime/BattleRuntime'; /** * 弱水符敌方减速 Host(Phase1 已下线,占位编译)。 */ export class BattleBuffEnemySlowHost { /** 绑定(无操作) */ bind(_battle: ProjectBattleHandle): void { } /** 解除绑定 */ unbind(): void { } /** * 实体减速万分比(Phase1 恒无)。 * @param _entityId 实体 */ resolveSlowWanForEntity(_entityId: EntityId): number | null { return null; } } let _host: BattleBuffEnemySlowHost | null = null; /** 全局敌方减速被动 Host */ export function getBattleBuffEnemySlowHost(): BattleBuffEnemySlowHost { if (!_host) _host = new BattleBuffEnemySlowHost(); return _host; }