Files
Genarrative/src/types/build.ts
kdletters cbc27bad4a
Some checks failed
CI / verify (push) Has been cancelled
init with react+axum+spacetimedb
2026-04-26 18:06:23 +08:00

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;
}