feat: 新增英雄配置批量写入功能,优化buff和英雄预制体

1.  新增服务端/api/apply接口,支持直接覆盖写入heroSet.ts英雄配置区域
2.  前端管理页面新增「写入heroSet.ts」按钮,支持带确认的批量写入
3.  调整多个buff预制体的位置、缩放参数
4.  统一替换多款英雄预制体的关联资源引用与冗余属性
This commit is contained in:
pan
2026-09-04 09:10:21 +08:00
parent 7e94560e95
commit 50ea3a4954
3 changed files with 33 additions and 1 deletions

View File

@@ -442,6 +442,7 @@ export interface LvBonusEntry {
// @hero-setup:region-begin
export const HeroInfo: Record<number, heroInfo> = {
// @hero-setup:heroes-begin
5001: {
uuid: 5001, name: "叠甲骑士", path: "hk1", fac: FacSet.HERO, rarity: 1, lv: 1, type: HType.Melee, grow_type: HGrowType.Tank, role: HRole.Tank, hp: HERO_ROLE_BASE[HRole.Tank].hp + 20, ap: HERO_ROLE_BASE[HRole.Tank].ap, def: HERO_ROLE_BASE[HRole.Tank].def + 10,
skills: {
@@ -631,6 +632,7 @@ export const HeroInfo: Record<number, heroInfo> = {
},
info: "",
},
// @hero-setup:heroes-end
/*
*=============怪物配置列表================