diff --git a/assets/script/game/common/config/HeroAttrs.ts b/assets/script/game/common/config/HeroAttrs.ts index b4ce41ad..ddd48304 100644 --- a/assets/script/game/common/config/HeroAttrs.ts +++ b/assets/script/game/common/config/HeroAttrs.ts @@ -6,7 +6,8 @@ */ export enum BType { VALUE = 0, //数值型 - RATIO = 1 //百分比型 + RATIO = 1, //百分比型 + BOOLEAN = 2, // 布尔型 } export enum NeAttrs { @@ -29,6 +30,7 @@ export enum Attrs { SHIELD_MAX = 2, // 最大护盾值 HP_REGEN = 3, // 生命回复 MP_REGEN = 4, // 魔法回复 + LUCK = 5, // 幸运值 // ========== 攻击属性 (10-19) ========== AP = 10, // 攻击力 @@ -84,8 +86,11 @@ export enum Attrs { // ========== 负面状态相关 (80-89) ========== DMG_INVUL = 80, //易伤 - // ========== 基础属性(影响其他属性) (90-99)========== - LUCK = 94, // 幸运(影响暴击和特殊概率) + // ========== 怪物特殊属性 (90-99)========== + ATK_TRI_RESET = 90, // 英雄攻击触发计数重置 + DMG_TRI_RESET = 91, // 英雄伤害触发计数重置 + BOOM = 92, // 自爆怪 + } /** @@ -130,7 +135,8 @@ export const AttrsType: Record = { [Attrs.SHIELD_MAX]: BType.VALUE, // 最大护盾值 - 数值型 [Attrs.HP_REGEN]: BType.VALUE, // 生命回复 - 数值型 [Attrs.MP_REGEN]: BType.VALUE, // 魔法回复 - 数值型 - + [Attrs.LUCK]: BType.VALUE, // 幸运 - 数值型 + // ========== 攻击属性(数值型) ========== [Attrs.AP]: BType.VALUE, // 攻击力 - 数值型 [Attrs.DIS]: BType.VALUE, // 攻击距离 - 数值型 @@ -189,8 +195,11 @@ export const AttrsType: Record = { // ========== 负面状态相关(混合类型) ========== [Attrs.DMG_INVUL]: BType.RATIO, //易伤 - // ========== 基础属性(数值型) ========== - [Attrs.LUCK]: BType.VALUE, // 幸运 - 数值型 + // ========== 怪物独有特殊属性 (90-99)========== + [Attrs.ATK_TRI_RESET]: BType.BOOLEAN, // 英雄攻击触发计数重置 + [Attrs.DMG_TRI_RESET]: BType.BOOLEAN, // 英雄伤害触发计数重置 + [Attrs.BOOM]: BType.BOOLEAN, // 自爆怪 + }; /** diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index 0172cb4d..05645384 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -161,80 +161,44 @@ export const HeroInfo: Record = { - //怪物 - 5201:{uuid:5201,name:"兽人战士",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.warrior,lv:1,hp:30,mp:100,def:5,ap:5,dis:90,speed:100,skills:[6005], - buff:[],tal:[],info:"普通怪物-战士型"}, - - 5202:{uuid:5202,name:"兽人刺客",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.remote,lv:1,hp:20,mp:100,def:5,ap:5,dis:90,speed:150,skills:[6005], - buff:[],tal:[],info:"普通怪物-战士型"}, - - 5203:{uuid:5203,name:"兽人护卫",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.warrior,lv:1,hp:60,mp:100,def:5,ap:5,dis:90,speed:100,skills:[6005], - buff:[],tal:[],info:"普通怪物-战士型"}, - + // 1. 基础近战型 - 5204:{uuid:5204,name:"蝙蝠",path:"mo1", fac:FacSet.MON, kind:1,as:3, + 5201:{uuid:5201,name:"兽人战士",path:"mo1", fac:FacSet.MON, kind:1,as:3, type:HType.warrior,lv:1,hp:15,mp:100,def:0,ap:5,dis:50,speed:200,skills:[6201], - buff:[],tal:[],info:"高速飞行单位,血量极低,快速接近"}, - - 5205:{uuid:5205,name:"骷髅",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.warrior,lv:1,hp:40,mp:100,def:3,ap:7,dis:50,speed:100,skills:[6201], - buff:[],tal:[],info:"标准近战单位,基准数值"}, - + buff:[],tal:[],info:"标准炮灰,用于积攒玩家天赋计数"}, // 2. 快速突击型 - 5206:{uuid:5206,name:"石像鬼",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.assassin,lv:1,hp:25,mp:100,def:3,ap:8,dis:50,speed:250,skills:[6201], + 5301:{uuid:5203,name:"兽人斥候",path:"mo1", fac:FacSet.MON, kind:1,as:3, + type:HType.assassin,lv:1,hp:25,mp:100,def:0,ap:8,dis:50,speed:350,skills:[6201], buff:[],tal:[],info:"速度极快,快速切入,给玩家压迫感"}, - - 5207:{uuid:5207,name:"快速骷髅",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.assassin,lv:1,hp:22,mp:100,def:2,ap:7,dis:80,speed:200,skills:[6005], - buff:[],tal:[],info:"快速突击型:高速直线冲锋,接触伤害;高速、低血、成群出现"}, - // 3. 重型坦克型 - 5208:{uuid:5208,name:"大型骷髅",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.warrior,lv:1,hp:300,mp:100,def:10,ap:15,dis:50,speed:60,skills:[6201], - buff:[],tal:[],info:"重装单位,移动缓慢但极难被击杀"}, - - 5209:{uuid:5209,name:"树人",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.warrior,lv:1,hp:160,mp:100,def:12,ap:12,dis:90,speed:80,skills:[6005], + 5401:{uuid:5401,name:"兽人卫士",path:"mo1", fac:FacSet.MON, kind:1,as:5, + type:HType.warrior,lv:1,hp:160,mp:100,def:0,ap:12,dis:90,speed:80,skills:[6005], buff:[],tal:[],info:"重型坦克型:缓慢逼近,高血量,中等伤害"}, // 4. 远程骚扰型 - 5210:{uuid:5210,name:"骷髅弓手",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.remote,lv:1,hp:35,mp:100,def:2,ap:10,dis:600,speed:80,skills:[6203], + 5501:{uuid:5501,name:"兽人射手",path:"mo1", fac:FacSet.MON, kind:1,as:3, + type:HType.remote,lv:1,hp:35,mp:100,def:0,ap:10,dis:600,speed:80,skills:[6203], buff:[],tal:[],info:"远程单位,在远处进行骚扰攻击"}, - 5211:{uuid:5211,name:"法师骷髅",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.mage,lv:1,hp:55,mp:100,def:4,ap:10,dis:80,speed:105,skills:[6005], - buff:[],tal:[],info:"远程骚扰型:保持距离释放法术弹幕,逼迫玩家走位"}, - // 5. 特殊机制型 - 5212:{uuid:5212,name:"炸弹骷髅",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.assassin,lv:1,hp:30,mp:100,def:3,ap:25,dis:50,speed:130,skills:[6201], - buff:[],tal:[],info:"特殊机制:接近玩家后造成高额伤害,需优先击杀"}, - - // 6. 精英/BOSS型 - 5213:{uuid:5213,name:"亡灵领主(精英)",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.warrior,lv:3,hp:200,mp:100,def:10,ap:20,dis:100,speed:110,skills:[6005], - buff:[],tal:[],info:"精英/BOSS:高血量与独特机制,波次高潮与重要经验来源"}, - - // 5. 特殊机制扩展 + 5601:{uuid:5601,name:"兽人自爆兵",path:"mo1", fac:FacSet.MON, kind:1,as:3, + type:HType.assassin,lv:1,hp:30,mp:100,def:0,ap:150,dis:50,speed:130,skills:[6201], + buff:[],tal:[],info:"高额自爆伤害,检测玩家的护盾与减伤天赋"}, // 召唤师:持续召唤小怪(后续可在技能系统中实现 SType.zhaohuan) - 5214:{uuid:5214,name:"死灵法师(召唤师)",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.mage,lv:1,hp:90,mp:160,def:4,ap:8,dis:380,speed:100,skills:[6005], - buff:[],tal:[],info:"特殊机制:持续召唤小怪,需优先击杀"}, - - // 治疗者:为周围怪物回血(此处以提升治疗效果和生命回复为基础被动) - 5215:{uuid:5215,name:"祭司(治疗者)",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.support,lv:1,hp:100,mp:160,def:5,ap:6,dis:90,speed:105,skills:[6005], - buff:[],tal:[],info:"特殊机制:为周围怪物提供治疗增益与持续回复"}, - + 5602:{uuid:5602,name:"兽人召唤师",path:"mo1", fac:FacSet.MON, kind:1,as:3, + type:HType.mage,lv:1,hp:60,mp:160,def:0,ap:8,dis:380,speed:100,skills:[6005], + buff:[],tal:[],info:"远程召唤/治疗,不解决他怪物群会无限回血"}, + // 治疗者:为周围怪物回血(此处以提升治疗效果和生命回复为基础被动) + 5603:{uuid:5603,name:"兽人祭司",path:"mo1", fac:FacSet.MON, kind:1,as:3, + type:HType.support,lv:1,hp:60,mp:160,def:0,ap:6,dis:90,speed:105,skills:[6005], + buff:[],tal:[],info:"远程召唤/治疗,不解决他怪物群会无限回血"}, // 光环怪:为周围怪物提供增益(此处以Buff效果提升与移动速度提升为基础被动) // Attrs.BUFF_UP=60 (RATIO=1),Attrs.SPEED=63 (RATIO=1) - 5216:{uuid:5216,name:"光环幽灵(光环怪)",path:"mo1", fac:FacSet.MON, kind:1,as:3, - type:HType.support,lv:1,hp:85,mp:140,def:4,ap:7,dis:90,speed:110,skills:[6005], + 5604:{uuid:5604,name:"兽人图腾师",path:"mo1", fac:FacSet.MON, kind:1,as:3, + type:HType.support,lv:1,hp:60,mp:140,def:0,ap:7,dis:90,speed:110,skills:[6005], buff:[],tal:[],info:"特殊机制:为周围怪物提供增益光环,加速与增益效果强化"}, - + // 6. 精英/BOSS型 + 5701:{uuid:5701,name:"兽人首领(精英)",path:"mo1", fac:FacSet.MON, kind:1,as:3, + type:HType.warrior,lv:3,hp:10000,mp:100,def:0,ap:20,dis:100,speed:110,skills:[6005], + buff:[],tal:[],info:"初级boos:自带护盾天赋,与英雄进行辐射对抗"}, }; \ No newline at end of file