diff --git a/assets/resources/game/skill/atk/arrow_big_yellow.prefab b/assets/resources/game/skill/atk/arrow_big_yellow.prefab index 6202b62e..7fda760c 100644 --- a/assets/resources/game/skill/atk/arrow_big_yellow.prefab +++ b/assets/resources/game/skill/atk/arrow_big_yellow.prefab @@ -95,7 +95,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": -59.861, "y": 0, "z": 0 }, @@ -108,8 +108,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.8, - "y": 0.8, + "x": 1.2, + "y": 1.2, "z": 1 }, "_mobility": 0, @@ -349,7 +349,7 @@ "_size": { "__type__": "cc.Size", "width": 30, - "height": 10 + "height": 100 }, "_id": "" }, diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index c43594e1..4faa0921 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -181,8 +181,7 @@ export interface SkillConfig { frz?:number, // 额外冰冻概率 stn?:number, // 额外眩晕概率 bck?:number, // 额外击退概率 - slw?:number, // 额外减速概率 - pct?:number, // 额外穿刺次数 + slw?:number, // 额外减速概 buffs:number[], // 对施法者的buff配置列表(Buff UUID 列表) debuffs:number[], // 对目标的debuff配置列表(Buff UUID 列表) call_hero?:number, // 召唤技能召唤英雄id(可选) diff --git a/assets/script/game/skill/Skill.ts b/assets/script/game/skill/Skill.ts index b6c58bdd..e0e60543 100644 --- a/assets/script/game/skill/Skill.ts +++ b/assets/script/game/skill/Skill.ts @@ -197,8 +197,6 @@ export class Skill extends ecs.Entity { const addStn = config.stn ?? 0; const addBck = config.bck ?? 0; const addSlw = config.slw ?? 0; - const addPct = config.pct ?? 0; - const totalPuncture = cAttrsComp.puncture + addPct; sDataCom.Attrs[Attrs.ap] = cAttrsComp.ap; sDataCom.Attrs[Attrs.critical] = cAttrsComp.critical + addCrt; sDataCom.Attrs[Attrs.critical_dmg] = cAttrsComp.critical_dmg; @@ -206,14 +204,13 @@ export class Skill extends ecs.Entity { sDataCom.Attrs[Attrs.stun_chance] = cAttrsComp.stun_chance + addStn; sDataCom.Attrs[Attrs.back_chance] = cAttrsComp.back_chance + addBck; sDataCom.Attrs[Attrs.slow_chance] = cAttrsComp.slow_chance + addSlw; - sDataCom.Attrs[Attrs.puncture] = totalPuncture; sDataCom.Attrs[Attrs.puncture_dmg] = cAttrsComp.puncture_dmg; sDataCom.s_uuid=s_uuid sDataCom.fac=cAttrsComp.fac sDataCom.ext_dmg=ext_dmg sDataCom.hit_count = 0 - sDataCom.max_hit_count = Math.max(1, config.hit_count + totalPuncture) + sDataCom.max_hit_count = Math.max(1, config.hit_count + cAttrsComp.puncture) SView.init(); }