feat: 更新BOSS阶段配置并简化方案设计
重构了兽人首领BOSS的阶段配置,将原12个阶段方案精简为1个示例方案,调整了触发条件与技能配置,优化了阶段方案的可读性与可维护性,确保大招引用近战池保证可达性。
This commit is contained in:
@@ -57,112 +57,15 @@ export interface BossPhasePlan {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 阶段方案表(id 段 10000)
|
* 阶段方案表(id 段 10000)
|
||||||
* 12 方案矩阵:4 Boss × 3 方案(清空/保留交错),P1=基线(heroInfo.skills + RogueConfig 大招)
|
* 示例方案 10001 挂在 6101(兽人首领-双刀dps型)的 phase_ids 上;
|
||||||
* P2→P3 触发条件关卡调节:前期苛刻(血量 5% / 时间 120s)→ 中期标准(20% / 90s)→ 后期易触发(35% / 75s)
|
* 大招 s_uuid 引用 RogueConfig.BossUltPools 近战池(6100~6104)保证可达
|
||||||
* 技能 s_uuid 引用 RogueConfig.BossUltPools 保证可达(近战 6100~6104 / 中程 6150~6151,6203~6204 / 远程 6200~6204)
|
|
||||||
*/
|
*/
|
||||||
export const BossPhaseSet: Record<number, BossPhasePlan> = {
|
export const BossPhaseSet: Record<number, BossPhasePlan> = {
|
||||||
// ========== 破阵先锋(近战 DPS,血量阈值) ==========
|
10001: {
|
||||||
// 方案 1:断剑回锋(清空+新)——每阶段全新招式集,玩家每阶段重学
|
name: "狂暴进化",
|
||||||
10011: {
|
|
||||||
name: "断剑回锋",
|
|
||||||
switches: [
|
switches: [
|
||||||
{ trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6104, overrides: { ap: 350 } }], removes: [6100] },
|
{ trigger: { hp_pct: 70 }, adds: [{ s_uuid: 6102, overrides: { ap: 180 } }], removes: [6100] },
|
||||||
{ trigger: { hp_pct: 5 }, adds: [{ s_uuid: 6103, overrides: { ap: 400 } }], removes: [6104], attr_mod: { ap_pct: 50, defense_pct: -30 } },
|
{ trigger: { hp_pct: 40, time: 60 }, adds: [{ s_uuid: 6103, overrides: { ap: 180 } }], attr_mod: { ap_pct: 20 } },
|
||||||
],
|
|
||||||
},
|
|
||||||
// 方案 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 } },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1094,19 +1094,19 @@ export const HeroInfo: Record<number, heroInfo> = {
|
|||||||
|
|
||||||
// BOSS怪物 — 与英雄同一套设定(role 模板 + 品质系数),高品质承伤/输出位
|
// BOSS怪物 — 与英雄同一套设定(role 模板 + 品质系数),高品质承伤/输出位
|
||||||
6101: {
|
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, 攻速型"
|
skills: { 6004: { uuid: 6004, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.Slow].cd, ccd: 0, overrides: { ap: 100 } } }, info: "前排Boss, 攻速型"
|
||||||
},
|
},
|
||||||
6102: {
|
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"
|
skills: { 6004: { uuid: 6004, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.VerySlow].cd, ccd: 0, overrides: { ap: 100 } } }, info: "前排Boss, 超高HP"
|
||||||
},
|
},
|
||||||
6103: {
|
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"
|
skills: { 6009: { uuid: 6009, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.Slow].cd, ccd: 0, overrides: { ap: 100, hit_count: 2 } } }, info: "后排法系Boss"
|
||||||
},
|
},
|
||||||
6104: {
|
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, 均衡型"
|
skills: { 6004: { uuid: 6004, lv: 1, cd: AtkSpeedSet[AtkSpeedLv.Slow].cd, ccd: 0, overrides: { ap: 100 } } }, info: "后排位Boss, 均衡型"
|
||||||
},
|
},
|
||||||
6105: {
|
6105: {
|
||||||
|
|||||||
Reference in New Issue
Block a user