From 2ab5100b416e2923b57569abc5e3799e58791927 Mon Sep 17 00:00:00 2001 From: panFD Date: Thu, 8 Oct 2026 16:45:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0BOSS=E9=98=B6?= =?UTF-8?q?=E6=AE=B5=E9=85=8D=E7=BD=AE=E5=B9=B6=E7=AE=80=E5=8C=96=E6=96=B9?= =?UTF-8?q?=E6=A1=88=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重构了兽人首领BOSS的阶段配置,将原12个阶段方案精简为1个示例方案,调整了触发条件与技能配置,优化了阶段方案的可读性与可维护性,确保大招引用近战池保证可达性。 --- .../script/game/common/config/BossPhaseSet.ts | 109 +----------------- assets/script/game/common/config/heroSet.ts | 8 +- 2 files changed, 10 insertions(+), 107 deletions(-) diff --git a/assets/script/game/common/config/BossPhaseSet.ts b/assets/script/game/common/config/BossPhaseSet.ts index 03c4f02a..5c5a9eea 100644 --- a/assets/script/game/common/config/BossPhaseSet.ts +++ b/assets/script/game/common/config/BossPhaseSet.ts @@ -57,112 +57,15 @@ export interface BossPhasePlan { /** * 阶段方案表(id 段 10000) - * 12 方案矩阵:4 Boss × 3 方案(清空/保留交错),P1=基线(heroInfo.skills + RogueConfig 大招) - * P2→P3 触发条件关卡调节:前期苛刻(血量 5% / 时间 120s)→ 中期标准(20% / 90s)→ 后期易触发(35% / 75s) - * 技能 s_uuid 引用 RogueConfig.BossUltPools 保证可达(近战 6100~6104 / 中程 6150~6151,6203~6204 / 远程 6200~6204) + * 示例方案 10001 挂在 6101(兽人首领-双刀dps型)的 phase_ids 上; + * 大招 s_uuid 引用 RogueConfig.BossUltPools 近战池(6100~6104)保证可达 */ export const BossPhaseSet: Record = { - // ========== 破阵先锋(近战 DPS,血量阈值) ========== - // 方案 1:断剑回锋(清空+新)——每阶段全新招式集,玩家每阶段重学 - 10011: { - name: "断剑回锋", + 10001: { + name: "狂暴进化", switches: [ - { trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6104, overrides: { ap: 350 } }], removes: [6100] }, - { trigger: { hp_pct: 5 }, adds: [{ s_uuid: 6103, overrides: { ap: 400 } }], removes: [6104], attr_mod: { ap_pct: 50, defense_pct: -30 } }, - ], - }, - // 方案 2:破阵三式(保留+加)——数值膨胀,技能池越打越大 - 10012: { - name: "破阵三式", - switches: [ - { trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6102, overrides: { ap: 250 } }] }, - { trigger: { hp_pct: 5 }, adds: [{ s_uuid: 6104, overrides: { ap: 350 } }], attr_mod: { ap_pct: 50, defense_pct: -20 } }, - ], - }, - // 方案 3:破阵三式·逆鳞(清空变体)——P3 高爆发脆皮 - 10013: { - name: "破阵三式·逆鳞", - switches: [ - { trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6103, overrides: { ap: 300 } }], removes: [6100] }, - { trigger: { hp_pct: 5 }, adds: [{ s_uuid: 6104, overrides: { ap: 400 } }], removes: [6103], attr_mod: { ap_pct: 50, defense_pct: -30 } }, - ], - }, - - // ========== 雷巫·荒火(法师,时间阈值) ========== - // 方案 1:雷云·蓄(清空+新)——法系读招,时间触发给玩家反应窗口 - 10021: { - name: "雷云·蓄", - switches: [ - { trigger: { time: 60 }, adds: [{ s_uuid: 6201, overrides: { ap: 300 } }], removes: [6200], attr_mod: { ap_pct: 30, defense_pct: -10 } }, - { trigger: { time: 120 }, adds: [{ s_uuid: 6204, overrides: { ap: 400 } }], removes: [6201], attr_mod: { ap_pct: 50, defense_pct: -15 } }, - ], - }, - // 方案 2:雷云·蓄·散(保留+加)——雷→火→碎甲,机制叠加 - 10022: { - name: "雷云·蓄·散", - switches: [ - { trigger: { time: 60 }, adds: [{ s_uuid: 6151, overrides: { ap: 350 } }], attr_mod: { ap_pct: 25 } }, - { trigger: { time: 120 }, adds: [{ s_uuid: 6203, overrides: { ap: 250 } }], attr_mod: { ap_pct: 50, defense_pct: -15 } }, - ], - }, - // 方案 3:雷云·散(清空变体)——P3 超高爆发 - 10023: { - name: "雷云·散", - switches: [ - { trigger: { time: 60 }, adds: [{ s_uuid: 6150, overrides: { ap: 250 } }], removes: [6200], attr_mod: { ap_pct: 20 } }, - { trigger: { time: 120 }, adds: [{ s_uuid: 6204, overrides: { ap: 400 } }], removes: [6150], attr_mod: { ap_pct: 60 } }, - ], - }, - - // ========== 霜羽·影哨(射手,血量阈值) ========== - // 方案 1:单羽破阵(保留+加)——高频弹幕,血量阈值避免每秒判定 - 10031: { - name: "单羽破阵", - switches: [ - { trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6151, overrides: { ap: 220 } }], attr_mod: { ap_pct: 20 } }, - { trigger: { hp_pct: 5 }, adds: [{ s_uuid: 6150, overrides: { ap: 100 } }], attr_mod: { ap_pct: 50, defense_pct: -15 } }, - ], - }, - // 方案 2:羽阵·三重(清空+新)——冰→火→雷,元素轮换 - 10032: { - name: "羽阵·三重", - switches: [ - { trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6151, overrides: { ap: 220 } }], removes: [6150], attr_mod: { ap_pct: 30 } }, - { trigger: { hp_pct: 5 }, adds: [{ s_uuid: 6204, overrides: { ap: 150 } }], removes: [6151], attr_mod: { ap_pct: 50 } }, - ], - }, - // 方案 3:羽阵·三重·影哨(保留+加变体)——P3 脆皮化 - 10033: { - name: "羽阵·三重·影哨", - switches: [ - { trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6151, overrides: { ap: 220 } }], attr_mod: { ap_pct: 25 } }, - { trigger: { hp_pct: 5 }, adds: [{ s_uuid: 6150, overrides: { ap: 100 } }], attr_mod: { ap_pct: 50, defense_pct: -15 } }, - ], - }, - - // ========== 磐盾·吞岩(坦克,时间阈值) ========== - // 方案 1:磐盾·重压(清空+新)——消耗战,时间触发逼玩家固定窗口打完 - 10041: { - name: "磐盾·重压", - switches: [ - { trigger: { time: 60 }, adds: [{ s_uuid: 6102, overrides: { ap: 350 } }], removes: [6100], attr_mod: { ap_pct: 30, defense_pct: 20 } }, - { trigger: { time: 120 }, adds: [{ s_uuid: 6104, overrides: { ap: 400 } }], removes: [6102], attr_mod: { ap_pct: 40, defense_pct: 40 } }, - ], - }, - // 方案 2:磐盾·三叠(保留+加)——护盾→自疗→爆发,越打越硬 - 10042: { - name: "磐盾·三叠", - switches: [ - { trigger: { time: 60 }, adds: [{ s_uuid: 6101, overrides: { ap: 300 } }], attr_mod: { defense_pct: 20 } }, - { trigger: { time: 120 }, adds: [{ s_uuid: 6103, overrides: { ap: 300 } }], attr_mod: { ap_pct: 30, defense_pct: 50 } }, - ], - }, - // 方案 3:磐盾·三叠·崩岩(清空变体)——P3 反击+减攻 - 10043: { - name: "磐盾·三叠·崩岩", - switches: [ - { trigger: { time: 60 }, adds: [{ s_uuid: 6101, overrides: { ap: 350 } }], removes: [6100], attr_mod: { ap_pct: 30 } }, - { trigger: { time: 120 }, adds: [{ s_uuid: 6104, overrides: { ap: 400 } }], removes: [6101], attr_mod: { defense_pct: 30 } }, + { trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6102, overrides: { ap: 180 } }], removes: [6100] }, + { trigger: { hp_pct: 40, time: 60 }, adds: [{ s_uuid: 6103, overrides: { ap: 180 } }], attr_mod: { ap_pct: 20 } }, ], }, }; diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index a18b9884..04451eac 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -1094,19 +1094,19 @@ export const HeroInfo: Record = { // BOSS怪物 — 与英雄同一套设定(role 模板 + 品质系数),高品质承伤/输出位 6101: { - uuid: 6101, name: "兽人首领-双刀dps型", path: "mb1", fac: FacSet.MON, lv: 6, rarity: 4, type: HType.Melee, grow_type: HGrowType.Warrior, role: HRole.Warrior, monType: MonType.MeleeBoss, hp: HERO_ROLE_BASE[HRole.Warrior].hp, ap: HERO_ROLE_BASE[HRole.Warrior].ap, def: HERO_ROLE_BASE[HRole.Warrior].def, speed: 120, phase_ids: [10011, 10012, 10013], + uuid: 6101, name: "兽人首领-双刀dps型", path: "mb1", fac: FacSet.MON, lv: 6, rarity: 4, type: HType.Melee, grow_type: HGrowType.Warrior, role: HRole.Warrior, monType: MonType.MeleeBoss, hp: HERO_ROLE_BASE[HRole.Warrior].hp, ap: HERO_ROLE_BASE[HRole.Warrior].ap, def: HERO_ROLE_BASE[HRole.Warrior].def, speed: 120, phase_ids: [10001], skills: { 6004: { uuid: 6004, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.Slow].cd, ccd: 0, overrides: { ap: 100 } } }, info: "前排Boss, 攻速型" }, 6102: { - uuid: 6102, name: "兽人首领-坦克型", path: "mb2", fac: FacSet.MON, lv: 6, rarity: 5, type: HType.Melee, grow_type: HGrowType.Tank, role: HRole.Tank, monType: MonType.MeleeBoss, hp: HERO_ROLE_BASE[HRole.Tank].hp, ap: HERO_ROLE_BASE[HRole.Tank].ap, def: HERO_ROLE_BASE[HRole.Tank].def, speed: 60, phase_ids: [10041, 10042, 10043], + uuid: 6102, name: "兽人首领-坦克型", path: "mb2", fac: FacSet.MON, lv: 6, rarity: 5, type: HType.Melee, grow_type: HGrowType.Tank, role: HRole.Tank, monType: MonType.MeleeBoss, hp: HERO_ROLE_BASE[HRole.Tank].hp, ap: HERO_ROLE_BASE[HRole.Tank].ap, def: HERO_ROLE_BASE[HRole.Tank].def, speed: 60, skills: { 6004: { uuid: 6004, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.VerySlow].cd, ccd: 0, overrides: { ap: 100 } } }, info: "前排Boss, 超高HP" }, 6103: { - uuid: 6103, name: "兽人首领-魔法师", path: "mb3", fac: FacSet.MON, lv: 6, rarity: 4, type: HType.Long, grow_type: HGrowType.Mage, role: HRole.Mage, monType: MonType.LongBoss, hp: HERO_ROLE_BASE[HRole.Mage].hp, ap: HERO_ROLE_BASE[HRole.Mage].ap, def: HERO_ROLE_BASE[HRole.Mage].def, speed: 110, phase_ids: [10021, 10022, 10023], + uuid: 6103, name: "兽人首领-魔法师", path: "mb3", fac: FacSet.MON, lv: 6, rarity: 4, type: HType.Long, grow_type: HGrowType.Mage, role: HRole.Mage, monType: MonType.LongBoss, hp: HERO_ROLE_BASE[HRole.Mage].hp, ap: HERO_ROLE_BASE[HRole.Mage].ap, def: HERO_ROLE_BASE[HRole.Mage].def, speed: 110, skills: { 6009: { uuid: 6009, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.Slow].cd, ccd: 0, overrides: { ap: 100, hit_count: 2 } } }, info: "后排法系Boss" }, 6104: { - uuid: 6104, name: "兽人首领-射手", path: "mb4", fac: FacSet.MON, lv: 6, rarity: 4, type: HType.Long, grow_type: HGrowType.Archer, role: HRole.Archer, monType: MonType.LongBoss, hp: HERO_ROLE_BASE[HRole.Archer].hp, ap: HERO_ROLE_BASE[HRole.Archer].ap, def: HERO_ROLE_BASE[HRole.Archer].def, speed: 70, phase_ids: [10031, 10032, 10033], + uuid: 6104, name: "兽人首领-射手", path: "mb4", fac: FacSet.MON, lv: 6, rarity: 4, type: HType.Long, grow_type: HGrowType.Archer, role: HRole.Archer, monType: MonType.LongBoss, hp: HERO_ROLE_BASE[HRole.Archer].hp, ap: HERO_ROLE_BASE[HRole.Archer].ap, def: HERO_ROLE_BASE[HRole.Archer].def, speed: 70, skills: { 6004: { uuid: 6004, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.Slow].cd, ccd: 0, overrides: { ap: 100 } } }, info: "后排位Boss, 均衡型" }, 6105: {