24 lines
581 B
TypeScript
24 lines
581 B
TypeScript
import type {AttributeVector} from './attributes';
|
|
|
|
export type BuildTagCategory = '流派' | '风格' | '资源' | '防御' | '元素' | '工艺';
|
|
export type BuildBuffSourceType = 'skill' | 'item' | 'forge';
|
|
|
|
export interface BuildTagDefinition {
|
|
id: string;
|
|
label: string;
|
|
category: BuildTagCategory;
|
|
aliases: string[];
|
|
description: string;
|
|
attributeAffinity: AttributeVector;
|
|
}
|
|
|
|
export interface TimedBuildBuff {
|
|
id: string;
|
|
sourceType: BuildBuffSourceType;
|
|
sourceId: string;
|
|
name: string;
|
|
tags: string[];
|
|
durationTurns: number;
|
|
maxStacks?: number;
|
|
}
|