This commit is contained in:
2026-04-10 15:37:02 +08:00
parent 161cd32277
commit f19e482c8f
233 changed files with 43987 additions and 5127 deletions

View File

@@ -0,0 +1,34 @@
export function createTestPlayerCharacter<TCharacter>() {
return {
id: 'test-hero',
name: '测试主角',
title: '断桥行者',
description: '用于后端运行时测试的稳定角色夹具。',
backstory: '在断桥旧哨附近长期行动,熟悉近身交锋和临场判断。',
avatar: '/test-hero.png',
portrait: '/test-hero-portrait.png',
assetFolder: 'test-hero',
assetVariant: 'default',
gender: 'female',
attributes: {
strength: 12,
agility: 11,
intelligence: 8,
spirit: 10,
},
personality: '沉稳果断',
skills: [
{
id: 'slash',
name: '试锋斩',
animation: 'attack',
damage: 18,
manaCost: 4,
cooldownTurns: 1,
range: 1,
style: 'steady',
},
],
adventureOpenings: {},
} as TCharacter;
}