init with react+axum+spacetimedb
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-04-26 18:06:23 +08:00
commit cbc27bad4a
20199 changed files with 883714 additions and 0 deletions

23
src/types/build.ts Normal file
View 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;
}