This commit is contained in:
23
src/types/build.ts
Normal file
23
src/types/build.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user