refactor: 重构复活配置逻辑,移除独立复活编辑器

调整复活配置实现方式,将复活功能并入dead触发组,通过overrides配置复活相关参数,删除原ReviveEditor组件,更新前端常量与页面展示逻辑
This commit is contained in:
panFD
2026-09-03 22:44:56 +08:00
parent b0038e74c8
commit 7f81634dd1
4 changed files with 14 additions and 69 deletions

View File

@@ -73,7 +73,7 @@ export function defaultHero() {
fstart: {},
dead: {},
field: [], // [{lv,uuids:[{uuid,value,name}],desc}]
revive: [], // [{lv,s_uuid,r_num,upr,name,desc}]
// revive 已纳入 dead 触发组,通过 overrides.revive_hp / revive_count 配置
ap_bonus: [],
hp_bonus: [],
def_bonus: [],
@@ -115,4 +115,6 @@ export const OVERRIDE_KEYS = [
{ key: 'summon_count', label: 'summon_count 召唤数' },
{ key: 'num', label: 'num 额外释放次数' },
{ key: 'call_hero', label: 'call_hero 召唤英雄id' },
{ key: 'revive_hp', label: 'revive_hp 复活回血比例(%)' },
{ key: 'revive_count', label: 'revive_count 复活次数上限' },
]