diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index d596962a..75ef3de6 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -197,15 +197,15 @@ export const SkillSet: Record = { }, 6102:{ uuid:6102,name:"强壮",sp_name:"buff_wind",icon:"3036",TGroup:TGroup.Team,SType:SType.buff,act:"atk",DTType:DTType.single,DType:DType.WIND, - ap:30,map:0,cd:9,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,cost:10,with:0,dis:720, + ap:30,map:0,cd:10,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,cost:10,with:0,dis:720, ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd, - buffs:[{buff:Attrs.AP,BType:BType.RATIO,value:0.1,time:30,chance:1}],neAttrs:[],info:"增加目标10%攻击力,持续30秒", + buffs:[{buff:Attrs.AP,BType:BType.VALUE,value:10,time:30,chance:1}],neAttrs:[],info:"增加目标10%攻击力,持续30秒", }, 6103:{ uuid:6103,name:"群体强壮",sp_name:"buff_wind",icon:"3036",TGroup:TGroup.Team,SType:SType.buff,act:"atk",DTType:DTType.range,DType:DType.WIND, ap:30,map:0,cd:10,t_num:3,hit_num:1,hit:1,hitcd:0.2,speed:720,cost:10,with:0,dis:720, ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd, - buffs:[{buff:Attrs.AP,BType:BType.RATIO,value:0.1,time:30,chance:1}],neAttrs:[],info:"增加目标10%攻击力,持续30秒", + buffs:[{buff:Attrs.AP,BType:BType.RATIO,value:10,time:30,chance:1}],neAttrs:[],info:"增加目标10%攻击力,持续30秒", }, }; diff --git a/assets/script/game/hero/SACastSystem.ts b/assets/script/game/hero/SACastSystem.ts index fb0647ce..d2dd076e 100644 --- a/assets/script/game/hero/SACastSystem.ts +++ b/assets/script/game/hero/SACastSystem.ts @@ -493,7 +493,7 @@ export class SACastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdat const targetView = targetEntity.get(HeroViewComp); if (!targetAttrs || !targetView) continue; - targetAttrs.add_hp(healAmount, false); + targetAttrs.add_hp(healAmount, true); targetView.health(healAmount); console.log(`[SACastSystem] 治疗生效: 施法者=${casterEntity.get(HeroAttrsComp)?.hero_name}, 技能=${config.name}, 目标=${targetAttrs.hero_name}, 治疗量=${healAmount}`); } @@ -522,7 +522,7 @@ export class SACastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdat const targetView = targetEntity.get(HeroViewComp); if (!targetAttrs || !targetView) continue; - targetAttrs.add_shield(shieldAmount, false); + targetAttrs.add_shield(shieldAmount, true); targetView.add_shield(shieldAmount); console.log(`[SACastSystem] 护盾生效: 施法者=${casterEntity.get(HeroAttrsComp)?.hero_name}, 技能=${config.name}, 目标=${targetAttrs.hero_name}, 护盾量=${shieldAmount}`); }