@@ -82,31 +82,40 @@ export enum SummonTMode {
=== 技能配置系统使用说明 ===
1. 基础属性:
- uuid: 技能唯一ID
- name: 技能名称
- uuid: 技能唯一ID( 6001~6013 单体普攻、6100~6204 群体大招、6301~6302 治疗护盾、
6401~6416 永久强化、6501~6519 计时强化/特殊、7001~7024 驻场光环)
- name: 技能名称(内部底座代号;英雄语境对外名由 heroSet 侧 name 字段覆写)
- sp_name: 特效名称
- AtkedName: 攻击类型
- path: 图片资源路径
- icon: 图标ID
2. 目标和效果:
- TGroup: 目标群体 (敌方、友方等)
- SType: 技能类型 (伤害、治疗、护盾等)
- TGroup: 目标群体( Self 自身 / Ally 全体友方含自己 / Team 全体友方 / Enemy 敌方 / All 全部)
- kind: 主效果类型( Damage 伤害 / Heal 治疗 / Shield 护盾 / Support 强化)
3. 执行参数:
- act: 角色执行的动画
- DTType: 伤害类型 (单体、 范围)
- EType: 结束条件
- fname: 特效文件名
- act: 角色执行的动画
- DTType: 伤害类型( single 单体 / range 范围)
- EType: 结束条件(动画结束/时间结束/碰撞次数)
- RType: 弹道类型( linear 直线 / bezier 贝塞尔 / fixed 固定起点 / fixedEnd 固定终点)
- with: 暂时无用
4. 数值参数:
- ap: 攻击力百分比
- cd: 冷却时间
- hit_count: 可命中次数
- t_num: 目标数量
- hitcd: 持续伤害的伤害间隔
- speed: 移动速度
- cost: 消耗值
- ap: 伤害/治疗为攻击力百分比;护盾为生命最大值百分比;强化技能为修饰数值
- cd: 冷却时间(普攻 cd 即攻击间隔)
- hit_count: 可命中目标数(伤害技能=弹道穿透数;辅助技能=作用目标数)
- hitcd: 持续伤害的伤害间隔(秒)
- speed: 弹道移动速度
- summon_count: 单次施法召唤的弹道/实体个数(>1 视为召唤类技能)
5. 增益/减益:
- buff_type + ap: 永久强化(直接累加到属性,无时长)
- timed_buff_id + buff_value/buff_duration/buff_chance/buff_target: 计时强化(走 BuffList)
- timed_debuff_id + debuff_value/debuff_duration/debuff_chance: 命中敌方后挂的计时减益
- proc_skill: 施法后概率触发额外技能(技能级触发器,无视 CD)
6. 文案约定:
- info 仅作语义描述,禁止写死数值;数值由 heroSet/卡片 overrides 注入,
UI 文案由 SkillDescSet / HeroSkillText 按合并后实时配置动态生成
*/
export enum DType {
ATK = 0 , // 物理
@@ -150,8 +159,8 @@ export interface SkillConfig {
TGroup : TGroup , // 目标群体(敌方/友方/自身等)
act : string , // 角色执行的动画
DTType : DTType , // 伤害类型(单体/范围)
ap : number , // 伤害/治疗技能 为攻击百分比, 护盾技能为免疫次数
hit_count : number , // 可命中次数
ap : number , // 伤害/治疗为攻击力 百分比; 护盾为生命最大值百分比;永久强化为修饰数值
hit_count : number , // 可命中目标数(伤害技能=弹道穿透数;辅助技能=作用目标数,>1 生效)
hitcd : number , // 持续伤害的伤害间隔(秒)
speed : number , // 移动速度
with : number , // 宽度(暂时无用)
@@ -331,17 +340,17 @@ export const SkillSet: Record<number, SkillConfig> = {
6013 : {
uuid : 6013 , name : "闪电" , sp_name : "m3" , icon : "109-Red-Potion" , TGroup : TGroup.Enemy , readyAnm : "" , endAnm : "" , act : "atk" ,
DTType : DTType.single , ap : 100 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.Melee , is_accel : true ,
RType : RType.fixedEnd , EType : EType.collision , info : "闪电 " ,
RType : RType.fixedEnd , EType : EType.collision , info : "单体雷击(固定终点落雷),可附加麻痹 " ,
} ,
6014 : {
uuid : 6014 , name : "小火球" , sp_name : "m4" , icon : "109-Red-Potion" , TGroup : TGroup.Enemy , readyAnm : "" , endAnm : "" , act : "atk" ,
DTType : DTType.single , ap : 100 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.Melee , is_accel : true ,
RType : RType.fixedEnd , EType : EType.collision , info : "小火球" ,
RType : RType.fixedEnd , EType : EType.collision , info : "小火球(固定终点),可附加灼烧/易伤 " ,
} ,
6015 : {
uuid : 6015 , name : "小飓风" , sp_name : "m5" , icon : "109-Red-Potion" , TGroup : TGroup.Enemy , readyAnm : "" , endAnm : "" , act : "atk" ,
DTType : DTType.single , ap : 100 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.Melee , is_accel : true ,
RType : RType.fixedEnd , EType : EType.collision , info : "小飓风抛 " ,
RType : RType.fixedEnd , EType : EType.collision , info : "小飓风(固定终点),直线穿透 " ,
} ,
// ==================== 群体大招( 按职业分段: 6100-6149 坦克/战士、6150-6199 刺客/射手、6200-6249 法师/辅助) ====================
// 坦克/战士群体攻击大招
@@ -405,30 +414,30 @@ export const SkillSet: Record<number, SkillConfig> = {
6204 : {
uuid : 6204 , name : "雷暴" , sp_name : "maxm7" , icon : "o_warlock_hyzy_skill" , TGroup : TGroup.Enemy , readyAnm : "" , endAnm : "" , act : "max1" ,
DTType : DTType.single , ap : 100 , hit_count : 99 , hitcd : 0.3 , speed : 720 , with : 90 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.remote ,
RType : RType.linear , EType : EType.collision , bezier_start_y : 20 , bezier_mid_y : 140 , bezier_arc : 1.05 , info : "一个大毒气弹 " ,
RType : RType.linear , EType : EType.collision , bezier_start_y : 20 , bezier_mid_y : 140 , bezier_arc : 1.05 , info : "雷暴多段打击( hit_count=99 直线穿透),可附加麻痹 " ,
} ,
//============================= ====== 辅助技能 回合技能 ====== ==========================
6301 : {
uuid : 6301 , name : "护盾" , sp_name : "buff_wind" , icon : "28-Electric-Wave" , TGroup : TGroup.Self , readyAnm : "up_blue" , endAnm : "" , act : "max1" ,
DTType : DTType.single , kind : SkillKind.Shield , ap : 30 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support , shield_duration : 7 ,
RType : RType.fixed , EType : EType.animationEnd , info : "获得施法者最大生命30% 的护盾, 持续7秒" ,
RType : RType.fixed , EType : EType.animationEnd , info : "获得施法者最大生命一定比例 的护盾, 持续7秒( ap=百分比) " ,
} ,
6302 : {
uuid : 6302 , name : "治疗" , sp_name : "buff_wind" , icon : "g_priest_zldy_skill" , TGroup : TGroup.Team , readyAnm : "up_green" , endAnm : "" , act : "max1" ,
DTType : DTType.single , kind : SkillKind.Heal , ap : 300 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support ,
RType : RType.fixed , EType : EType.animationEnd , info : "治疗伙伴/自己 " ,
RType : RType.fixed , EType : EType.animationEnd , info : "治疗友方目标,回复量=目标最大生命× ap% " ,
} ,
//==========================buff 技能=====================
6401 : {
uuid : 6401 , name : "攻击强化" , sp_name : "buff_wind" , icon : "36-Guardian-Stance" , TGroup : TGroup.Team , readyAnm : "up_ap" , endAnm : "" , act : "atk" ,
DTType : DTType.single , kind : SkillKind.Support , ap : 5 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.ap , info : "全体友方攻击力提升5%, 持续1次 " ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.ap , info : "全体友方攻击力永久提升( ap=百分比,单次施加) " ,
} ,
6402 : {
uuid : 6402 , name : "生命强化" , sp_name : "buff_wind" , icon : "29-Endure" , TGroup : TGroup.Team , readyAnm : "up_hp" , endAnm : "" , act : "atk" ,
DTType : DTType.single , kind : SkillKind.Support , ap : 20 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.hp_max , info : "全体友方最大生命值提升20%, 持续1次 " ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.hp_max , info : "全体友方最大生命值永久提升( ap=百分比,单次施加) " ,
} ,
6403 : {
uuid : 6403 , name : "暴击强化" , sp_name : "buff_wind" , icon : "5-Apply-Burn" , TGroup : TGroup.Team , readyAnm : "up_ap" , endAnm : "" , act : "atk" ,
@@ -481,7 +490,7 @@ export const SkillSet: Record<number, SkillConfig> = {
6412 : {
uuid : 6412 , name : "防御强化" , sp_name : "buff_wind" , icon : "46-Iron-Clad" , TGroup : TGroup.Team , readyAnm : "up_blue" , endAnm : "" , act : "atk" ,
DTType : DTType.single , kind : SkillKind.Support , ap : 50 , hit_count : 1 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.defense , info : "全体友方防御提升50点, 持续1次 " ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.defense , info : "全体友方防御永久提升( ap=固定点数,单次施加) " ,
} ,
6413 : {
uuid : 6413 , name : "反伤强化" , sp_name : "buff_wind" , icon : "75-Shield-Stun" , TGroup : TGroup.Team , readyAnm : "up_blue" , endAnm : "" , act : "atk" ,
@@ -539,7 +548,7 @@ export const SkillSet: Record<number, SkillConfig> = {
6507 : {
uuid : 6507 , name : "攻速爆发" , sp_name : "buff_wind" , icon : "147-Chronomancy" , TGroup : TGroup.Team , readyAnm : "up_ap" , endAnm : "" , act : "atk" ,
DTType : DTType.single , kind : SkillKind.Support , ap : 0 , hit_count : 3 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.speed , timed_buff_id : 7015 , info : "全体友方攻击速度提升40%, 持续 5秒" ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.speed , timed_buff_id : 7015 , info : "全体友方攻击速度提升( buff_value=百分比,默认 5秒) " ,
} ,
// 风怒机制已停用: 6508 风怒爆发技能已移除
/*
@@ -593,7 +602,7 @@ export const SkillSet: Record<number, SkillConfig> = {
6517 : {
uuid : 6517 , name : "生命爆发" , sp_name : "buff_wind" , icon : "29-Endure" , TGroup : TGroup.Team , readyAnm : "up_green" , endAnm : "" , act : "atk" ,
DTType : DTType.single , kind : SkillKind.Support , ap : 0 , hit_count : 3 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.hp_max , timed_buff_id : 7029 , info : "全体友方最大生命值提升30%, 持续 5秒" ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.hp_max , timed_buff_id : 7029 , info : "全体友方最大生命值提升( buff_value=百分比,默认 5秒) " ,
} ,
6518 : {
uuid : 6518 , name : "闪避爆发" , sp_name : "buff_wind" , icon : "98-Enchant-Wind" , TGroup : TGroup.Team , readyAnm : "up_blue" , endAnm : "" , act : "atk" ,
@@ -601,9 +610,9 @@ export const SkillSet: Record<number, SkillConfig> = {
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.dodge , timed_buff_id : 7030 , info : "全体友方闪避概率提升20%, 持续5秒" ,
} ,
6519 : {
uuid : 6519 , name : "命中强化 " , sp_name : "buff_wind" , icon : "27-Hawkeye" , TGroup : TGroup.Team , readyAnm : "up_blue" , endAnm : "" , act : "atk" ,
uuid : 6519 , name : "命中爆发 " , sp_name : "buff_wind" , icon : "27-Hawkeye" , TGroup : TGroup.Team , readyAnm : "up_blue" , endAnm : "" , act : "atk" ,
DTType : DTType.single , kind : SkillKind.Support , ap : 0 , hit_count : 3 , hitcd : 0.2 , speed : 720 , with : 0 , ready : 0.2 , EAnm : 0 , DAnm : "" , IType : IType.support ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.accuracy , timed_buff_id : 7031 , info : "全体友方命中概率提升20%, 持续 5秒" ,
RType : RType.fixed , EType : EType.animationEnd , buff_type : Attrs.accuracy , timed_buff_id : 7031 , info : "全体友方命中概率提升( buff_value=百分比,默认 5秒) " ,
}
} ;
//***************驻场技能配置***************