fix(英雄系统): 修复技能消耗和MP更新逻辑

移除怪物不消耗MP的特殊处理,统一使用add_mp方法更新MP值
更新刘邦的技能配置,修正重复技能ID问题
This commit is contained in:
walkpan
2026-01-02 22:50:07 +08:00
parent f5ded0d314
commit 7d947db6b5
2 changed files with 7 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ export const HeroInfo: Record<number, heroInfo> = {
// 刘邦 - 领导型战士(善于用人,知人善任)
5001:{uuid:5001,name:"刘邦",path:"hk1", fac:FacSet.HERO, kind:1,as:1.5,
type:HType.warrior,lv:1,hp:200,mp:200,def:0,ap:15,dis:100,speed:120,skills:[6001,6001],
type:HType.warrior,lv:1,hp:200,mp:200,def:0,ap:15,dis:100,speed:120,skills:[6001,6002],
buff:[],tal:[],info:"楚汉争霸领袖,领导统御型战士"},
// 荆轲 - 刺客(敏捷型,高速度和暴击率)