refactor: 优化技能图标与动画资源,更新配置表

1. 新增maxw1、maxw2技能预制体并删除range1预制体
2. 预加载ui7图集防止GC回收
3. 更新全量技能、buff、天赋的图标配置
4. 调整技能动画帧率与时长优化表现
5. 修复技能UI组件的布局与引用
This commit is contained in:
panFD
2026-09-06 23:55:57 +08:00
parent 084187f924
commit 9917442420
19 changed files with 4002 additions and 8351 deletions

View File

@@ -88,7 +88,7 @@ export interface BuffConfig {
export const BuffList: Record<number, BuffConfig> = {
// 攻击强化(限时版)
7001: {
id: 7001, name: "攻击强化", icon: "Stat_Attack_03",
id: 7001, name: "攻击强化", icon: "3-Aggression",
category: BuffCategory.Buff, duration: 10, max_stack: 0,
modifiers: [{ attr: Attrs.ap, op: ModOp.PercentAdd, value: 5 }],
info: "攻击力提升 5%,持续 10 秒",
@@ -96,49 +96,49 @@ export const BuffList: Record<number, BuffConfig> = {
// 易伤(灼热火球附加;受到伤害时附加固定值,可被易伤抗性百分比减免)
// 注:modifiers.attr 用 hp 仅为占位以通过 aggregateTimedMods 结构校验,实际易伤值由 HeroAtkSystem 按 VULNERABLE_BUFF_ID 直接汇总
7002: {
id: 7002, name: "易伤", icon: "Stat_Burn",
id: 7002, name: "易伤", icon: "5-Apply-Burn",
category: BuffCategory.Debuff, duration: 5, max_stack: 5,
modifiers: [{ attr: Attrs.hp, op: ModOp.Flat, value: 10 }],
info: "受到的伤害附加 10 点易伤,可叠加,持续 5 秒",
},
// 冰冻(控制,走统一框架,双写兼容)
7003: {
id: 7003, name: "冰冻", icon: "Stat_Freeze",
id: 7003, name: "冰冻", icon: "21-Deep-Frezze",
category: BuffCategory.Control, duration: 2, max_stack: 1,
is_control: true, control_kind: 'frost',
info: "冰冻目标,无法行动",
},
// 击晕(短控:施加瞬间技能 CD 削减 20%,持续期间 CD 停止增长)
7004: {
id: 7004, name: "击晕", icon: "Stat_Stun",
id: 7004, name: "击晕", icon: "13-Concussion",
category: BuffCategory.Control, duration: 1, max_stack: 1,
is_control: true, control_kind: 'stun',
info: "击晕目标 1 秒,无法行动,技能 CD 削减 20% 并停止增长",
},
// 中毒(纯伤害 DoT,可叠层)
7005: {
id: 7005, name: "中毒", icon: "Stat_PoisonChanceIncrease",
id: 7005, name: "中毒", icon: "4-Apply-Poison",
category: BuffCategory.Debuff, duration: 5, max_stack: 5,
tick: { interval: 0.5, damage_or_heal: -10, scale_by_ap_pct: 30 },
info: "每 0.5 秒受到 10 点中毒伤害,可叠加,持续 5 秒",
},
// 减攻(降低目标攻击力)
7006: {
id: 7006, name: "减攻", icon: "Stat_Attack_01",
id: 7006, name: "减攻", icon: "16-Cripple",
category: BuffCategory.Debuff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.ap, op: ModOp.PercentAdd, value: -10 }],
info: "攻击力降低 10%,持续 5 秒",
},
// 破甲(降低目标防御值,防御按加法模型累加,由 getFinalDefense 结算)
7008: {
id: 7008, name: "破甲", icon: "Stat_DefenseBreak",
id: 7008, name: "破甲", icon: "76-Shove-Stab",
category: BuffCategory.Debuff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.defense, op: ModOp.PercentAdd, value: -50 }],
info: "防御降低 50,持续 5 秒",
},
// 出血(每层使目标被暴击率 +1%,微量伤害 DoT;暴击率加成由 HeroAtkSystem 按 BLEED_BUFF_ID 层数结算)
7007: {
id: 7007, name: "出血", icon: "Stat_Blood",
id: 7007, name: "出血", icon: "7-Apply-Bleed",
category: BuffCategory.Debuff, duration: 5, max_stack: 5,
tick: { interval: 0.5, damage_or_heal: -1, scale_by_ap_pct: 0 },
info: "微量出血,每层使自身被暴击率提升 1%,可叠加,持续 5 秒",
@@ -147,35 +147,35 @@ export const BuffList: Record<number, BuffConfig> = {
// ==================== 玩家计时性强化(药水/技能用,默认 5s) ====================
// 计时性回血(HoT)
7010: {
id: 7010, name: "再生", icon: "Stat_PotionBoost",
id: 7010, name: "再生", icon: "38-Healing-Light",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
tick: { interval: 0.5, damage_or_heal: 10, scale_by_ap_pct: 0 },
info: "每秒回复生命,持续 5 秒",
},
// 暴击强化(限时)
7012: {
id: 7012, name: "暴击爆发", icon: "Stat_CriticalChance_02",
id: 7012, name: "暴击爆发", icon: "27-Hawkeye",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.critical, op: ModOp.PercentAdd, value: 30 }],
info: "暴击率提升 30%,持续 5 秒",
},
// 击退距离强化(限时)
7013: {
id: 7013, name: "击退爆发", icon: "Stat_Stun_01",
id: 7013, name: "击退爆发", icon: "34-Force-Push",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.knockback_chance, op: ModOp.PercentAdd, value: 30 }],
info: "击退距离提升 30%,持续 5 秒",
},
// 穿透强化(限时)
7014: {
id: 7014, name: "穿透爆发", icon: "Stat_Tripleshot",
id: 7014, name: "穿透爆发", icon: "56-Pierce-Shot",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.puncture_chance, op: ModOp.PercentAdd, value: 30 }],
info: "穿透概率提升 30%,持续 5 秒",
},
// 攻速强化(限时,走 getEffectiveSkillCd 计时修饰)
7015: {
id: 7015, name: "攻速爆发", icon: "Stat_AttackSpeed_02",
id: 7015, name: "攻速爆发", icon: "131-Galloop",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.speed, op: ModOp.PercentAdd, value: 40 }],
info: "攻击速度提升 40%,持续 5 秒",
@@ -184,7 +184,7 @@ export const BuffList: Record<number, BuffConfig> = {
/*
// 风怒强化(限时,按概率百分点)
7016: {
id: 7016, name: "风怒爆发", icon: "Stat_CriticalComboChance",
id: 7016, name: "风怒爆发", icon: "98-Enchant-Wind",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.wfuny, op: ModOp.PercentAdd, value: 20 }],
info: "风怒概率提升 20%,持续 5 秒",
@@ -192,56 +192,56 @@ export const BuffList: Record<number, BuffConfig> = {
*/
// 击晕概率强化(限时)
7017: {
id: 7017, name: "击晕爆发", icon: "Stat_Stun_01",
id: 7017, name: "击晕爆发", icon: "8-Bash",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.stun_chance, op: ModOp.PercentAdd, value: 30 }],
info: "击晕概率提升 30%,持续 5 秒",
},
// 击晕抗性强化(限时)
7018: {
id: 7018, name: "击晕抗性", icon: "Stat_Armor_01",
id: 7018, name: "击晕抗性", icon: "46-Iron-Clad",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.stun_res, op: ModOp.PercentAdd, value: 50 }],
info: "击晕抗性提升 50%,持续 5 秒",
},
// 冰冻抗性强化(限时)
7019: {
id: 7019, name: "冰冻抗性", icon: "Stat_Freeze",
id: 7019, name: "冰冻抗性", icon: "91-Ice-Nova",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.freeze_res, op: ModOp.PercentAdd, value: 50 }],
info: "冰冻抗性提升 50%,持续 5 秒",
},
// 暴伤强化(限时)
7020: {
id: 7020, name: "暴伤爆发", icon: "Stat_Critical_01",
id: 7020, name: "暴伤爆发", icon: "63-Power-Strike",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.critical_damage, op: ModOp.PercentAdd, value: 30 }],
info: "暴击伤害提升 30%,持续 5 秒",
},
// 冰冻概率强化(限时)
7021: {
id: 7021, name: "冰冻概率爆发", icon: "Stat_Freeze",
id: 7021, name: "冰冻概率爆发", icon: "90-Frost-Spike",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.freeze_chance, op: ModOp.PercentAdd, value: 5 }],
info: "冰冻概率提升 5%,持续 5 秒",
},
// 穿透伤害强化(限时)
7022: {
id: 7022, name: "穿透伤害爆发", icon: "Stat_Tripleshot",
id: 7022, name: "穿透伤害爆发", icon: "59-Sparking-Arrow",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.puncture_dmg_bonus, op: ModOp.PercentAdd, value: 30 }],
info: "穿透后伤害提升 30%,持续 5 秒",
},
// 防御强化(限时,按加法模型累加固定值,由 getFinalDefense 结算)
7023: {
id: 7023, name: "防御强化", icon: "Stat_Defense",
id: 7023, name: "防御强化", icon: "36-Guardian-Stance",
category: BuffCategory.Buff, duration: 10, max_stack: 0,
modifiers: [{ attr: Attrs.defense, op: ModOp.PercentAdd, value: 50 }],
info: "防御提升 50,持续 10 秒",
},
// 防御爆发(限时,药水用,统一 5s)
7024: {
id: 7024, name: "防御爆发", icon: "Stat_Defense",
id: 7024, name: "防御爆发", icon: "135-Bulletproof",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.defense, op: ModOp.PercentAdd, value: 100 }],
info: "防御提升 100,持续 5 秒",
@@ -250,14 +250,14 @@ export const BuffList: Record<number, BuffConfig> = {
// ==================== 控制 / 麻痹系 ====================
// 麻痹(控制:技能 CD 增长减速 50%,可被麻痹强化 buff 提升,累计达 100% 则停止增长)
7025: {
id: 7025, name: "麻痹", icon: "Stat_LightningDamag",
id: 7025, name: "麻痹", icon: "6-Apply-Paralysis",
category: BuffCategory.Control, duration: 5, max_stack: 1,
is_control: true, control_kind: 'paralyze',
info: "麻痹目标,技能 CD 增长减慢 50%,持续 5 秒",
},
// 麻痹强化(提升麻痹对技能 CD 的减速量,与麻痹基础减速按百分点叠加)
7026: {
id: 7026, name: "麻痹强化", icon: "Stat_LightningDamag",
id: 7026, name: "麻痹强化", icon: "47-Lightning",
category: BuffCategory.Buff, duration: 5, max_stack: 1,
modifiers: [{ attr: Attrs.paralyze_power, op: ModOp.PercentAdd, value: 30 }],
info: "麻痹对技能 CD 的减速量额外提升 30%,持续 5 秒",
@@ -266,14 +266,14 @@ export const BuffList: Record<number, BuffConfig> = {
// ==================== 反伤系 ====================
// 荆棘(固定值反伤,可叠加)
7027: {
id: 7027, name: "荆棘", icon: "Stat_Defense",
id: 7027, name: "荆棘", icon: "61-Poison-Ivy",
category: BuffCategory.Buff, duration: 5, max_stack: 5,
modifiers: [{ attr: Attrs.thorns_dmg, op: ModOp.Flat, value: 10 }],
info: "受到攻击时反弹 10 点固定伤害,可叠加,持续 5 秒",
},
// 荆棘比例(百分比反伤,可叠加)
7028: {
id: 7028, name: "荆棘比例", icon: "Stat_Defense",
id: 7028, name: "荆棘比例", icon: "61-Poison-Ivy",
category: BuffCategory.Buff, duration: 5, max_stack: 3,
modifiers: [{ attr: Attrs.thorns_rate, op: ModOp.PercentAdd, value: 10 }],
info: "受到攻击时反弹 10% 所受伤害,可叠加,持续 5 秒",