refactor(game): 重构技能ID命名并简化buff技能配置

- 在英雄配置接口中新增技能等级和冷却时间字段
- 调整盾战士的技能列表,移除两个技能
- 将技能ID重新编号,使其按职业分类更清晰(例如6xxx为近战,61xx为射手,62xx为法师)
- 删除大量重复的buff技能配置,仅保留基础等级
This commit is contained in:
walkpan
2026-03-22 13:06:11 +08:00
parent 060129035c
commit 218703be6b
2 changed files with 41 additions and 191 deletions

View File

@@ -70,6 +70,8 @@ export interface heroInfo {
// dis: number; // 攻击距离(像素)
speed: number; // 移动速度(像素/秒)
skills: number[]; // 携带技能ID列表
slvs:number[]; // 技能等级
cds:number[]; // 技能cd
info: string; // 描述文案
}
@@ -91,7 +93,7 @@ export interface heroInfo {
export const HeroInfo: Record<number, heroInfo> = {
// ========== 近战英雄 ==========
5001:{uuid:5001,name:"盾战士",path:"hk1", fac:FacSet.HERO,cards_lv:1,lv:1,as:0.75,ss:5,type:HType.Melee,hp:450,ap:25,speed:180,
skills:[6001,6301,6311,6321],info:"近战,魔法盾 坦克"},
skills:[6001,6301],info:"近战,魔法盾 坦克"},
5002:{uuid:5002,name:"圣骑士",path:"hk3", fac:FacSet.HERO,cards_lv:3,lv:1,as:0.75,ss:5,type:HType.Melee,hp:1350,ap:75,speed:180,
skills:[6001,6305],info:"近战,群体护盾 坦克"},
5003:{uuid:5003,name:"风行剑士",path:"hk4", fac:FacSet.HERO,cards_lv:2,lv:1,as:1.1,ss:5,type:HType.Melee,hp:500,ap:100,speed:180,