diff --git a/put/server/index.js b/put/server/index.js
index c2d6745e..dcf325e5 100644
--- a/put/server/index.js
+++ b/put/server/index.js
@@ -210,17 +210,8 @@ function renderSingleHero(h) {
push(` ],`)
}
- // revive
- if (h.revive?.length) {
- push(` revive: [`)
- for (const r of h.revive) {
- const rparts = [`lv: ${r.lv}`, `s_uuid: ${r.s_uuid}`, `r_num: ${r.r_num}`, `upr: ${r.upr}`]
- if (r.name) rparts.push(`name: ${JSON.stringify(r.name)}`)
- if (r.desc) rparts.push(`desc: ${JSON.stringify(r.desc)}`)
- push(` { ${rparts.join(', ')} },`)
- }
- push(` ],`)
- }
+ // 复活已纳入 dead 触发组,通过 dead 编辑器的 overrides 配置 revive_hp / revive_count
+ // 不再导出独立的 revive 字段
// bonuses
for (const bk of ['ap_bonus', 'hp_bonus', 'def_bonus']) {
diff --git a/put/web/src/App.vue b/put/web/src/App.vue
index 481bd49c..ebb5964c 100644
--- a/put/web/src/App.vue
+++ b/put/web/src/App.vue
@@ -88,12 +88,9 @@
-
大招 skills[1](与 revive 互斥)
-
-
- + 添加大招
-
- 已配置 revive,大招不可用
+ 大招 skills[1]
+
+ + 添加大招
@@ -113,10 +110,12 @@
-
+
-
复活 revive(与大招互斥)
-
+ 复活配置(dead 触发组内)
+
+ 复活已纳入 dead 触发组:在 dead 中添加技能(如 6501),并在 overrides 中配置 revive_hp(回血比例%)和 revive_count(次数上限)。
+
@@ -152,7 +151,6 @@ import {
import SkillEditor from './components/SkillEditor.vue'
import TriggerGroupEditor from './components/TriggerGroupEditor.vue'
import FieldEditor from './components/FieldEditor.vue'
-import ReviveEditor from './components/ReviveEditor.vue'
import BonusEditor from './components/BonusEditor.vue'
const heroes = ref([])
@@ -165,6 +163,7 @@ const current = computed(() => heroes.value[activeIdx.value])
const skillMap = computed(() => meta.value?.SkillSet || {})
const allSkills = computed(() => Object.values(skillMap.value).sort((a, b) => a.uuid - b.uuid))
const fieldOptions = computed(() => Object.values(meta.value?.FieldSkillSet || {}).sort((a, b) => a.uuid - b.uuid))
+// 复活已纳入 dead 触发组,通过 dead 编辑器的 overrides 配置 revive_hp / revive_count
const reviveOptions = computed(() => allSkills.value.filter((s) => s.uuid >= 6500 && s.uuid < 6600))
const roleBase = computed(() => {
diff --git a/put/web/src/components/ReviveEditor.vue b/put/web/src/components/ReviveEditor.vue
deleted file mode 100644
index c5f4aded..00000000
--- a/put/web/src/components/ReviveEditor.vue
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
- revive 与 skills[1](大招)互斥;配置 revive 时按 lv1/lv8/lv16 三档成长。
-
-
-
- 复活档位 lv {{ r.lv }}
- 删除档位
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 添加复活档位
-
-
-
-
-
-
diff --git a/put/web/src/constants.js b/put/web/src/constants.js
index 099987d3..66e8cba4 100644
--- a/put/web/src/constants.js
+++ b/put/web/src/constants.js
@@ -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 复活次数上限' },
]