refactor(hero): 将英雄属性相关引用统一替换为 HeroAttrs

- 移除废弃的 AttributeExample 示例类文件
- 全面替换各模块中对技能属性配置 SkillSet 中 Attrs 的引用,改用 HeroAttrs 中的 Attrs
- 保持代码引用整理一致性,优化属性相关模块的导入顺序和结构
- 无功能性改动,仅代码结构和引用路径调整,提高代码维护性和模块解耦性
This commit is contained in:
2025-10-25 10:34:55 +08:00
parent 326ceaf3d1
commit abbe4cc6a0
5 changed files with 79 additions and 79 deletions

View File

@@ -120,21 +120,19 @@ export const HeroInfo: Record<number, heroInfo> = {
type:HType.support,lv:1,hp:95,mp:130,map:18,def:6,ap:10,dis:380,speed:105,skills:[6001,6005],
buff:[],debuff:[],info:"自然德鲁伊,精通自然魔法和生命治愈"},
// ========== 怪物 ==========
// 兽人战士 - 普通近战怪物
5201:{uuid:5201,name:"兽人战士",path:"mo1", fac:FacSet.MON, kind:1,
type:HType.warrior,lv:1,hp:40,mp:50,map:5,def:6,ap:8,dis:90,speed:100,skills:[6001],
buff:[],debuff:[],info:"普通近战怪物,具有基础政击和防御能力"},
// 兽人刺客 - 敏捷刺客怪物
5202:{uuid:5202,name:"兽人刺客",path:"mo1", fac:FacSet.MON, kind:1,
type:HType.assassin,lv:1,hp:30,mp:40,map:3,def:3,ap:12,dis:120,speed:150,skills:[6001],
buff:[],debuff:[],info:"敏捷刺客怪物,高速度低防御"},
// 兽人护卫 - 重装战士怪物
5203:{uuid:5203,name:"兽人护卫",path:"mo1", fac:FacSet.MON, kind:1,
type:HType.warrior,lv:1,hp:50,mp:50,map:5,def:10,ap:6,dis:90,speed:80,skills:[6001],
buff:[],debuff:[],info:"重装护卫怪物,高防御高生命"},
//怪物
5201:{uuid:5201,name:"兽人战士",path:"mo1", fac:FacSet.MON, kind:1,
type:HType.warrior,lv:1,hp:25,mp:100,map:10,def:5,ap:5,dis:90,speed:100,skills:[6005],
buff:[],debuff:[],info:"普通怪物-战士型"},
5202:{uuid:5202,name:"兽人刺客",path:"mo1", fac:FacSet.MON, kind:1,
type:HType.remote,lv:1,hp:20,mp:100,map:10,def:5,ap:5,dis:350,speed:100,skills:[6005],
buff:[],debuff:[],info:"普通怪物-战士型"},
5203:{uuid:5203,name:"兽人护卫",path:"mo1", fac:FacSet.MON, kind:1,
type:HType.warrior,lv:1,hp:25,mp:100,map:10,def:5,ap:5,dis:90,speed:100,skills:[6005],
buff:[],debuff:[],info:"普通怪物-战士型"},
};