diff --git a/assets/resources/game/heros/top.prefab b/assets/resources/game/heros/top.prefab index b1b082c1..0dc8f1e9 100644 --- a/assets/resources/game/heros/top.prefab +++ b/assets/resources/game/heros/top.prefab @@ -274,7 +274,7 @@ "__id__": 10 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 18 @@ -1150,7 +1150,7 @@ "__id__": 50 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 58 @@ -2029,7 +2029,7 @@ "__id__": 90 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 98 @@ -2533,6 +2533,8 @@ "__id__": 0 }, "fileId": "2cGho1ykJKfpUTHn50V/AJ", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index eb23a784..8bbbe3f8 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -182,20 +182,20 @@ export interface SkillConfig { export const SkillSet: Record = { 5000:{uuid:5000,name:"反伤",sp_name:"thorns",icon:"3036",TGroup:TGroup.Enemy,SType:SType.damage,act:"atk",DTType:DTType.single, - ap:0,cd:60,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,with:0,dis:80, + ap:0,cd:60,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,with:0,dis:800, ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd, buffs:[],neAttrs:[],info:"反伤", }, // ========== 基础攻击 ========== 6001-6099 6001: { uuid:6001,name:"挥击",sp_name:"atk_s1",icon:"3036",TGroup:TGroup.Enemy,SType:SType.damage,act:"atk",DTType:DTType.single, - ap:100,cd:1,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,with:0,dis:80, + ap:100,cd:1,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,with:0,dis:120, ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd, buffs:[],neAttrs:[],info:"向最前方敌人扔出石斧,造成100%攻击的伤害", }, 6002: { uuid:6002,name:"挥砍",sp_name:"atk_s4",icon:"3036",TGroup:TGroup.Enemy,SType:SType.damage,act:"atk",DTType:DTType.single, - ap:100,cd:1,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,with:0,dis:80, + ap:100,cd:1,t_num:1,hit_num:1,hit:1,hitcd:0.2,speed:720,with:0,dis:120, ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd, buffs:[],neAttrs:[],info:"向最前方敌人扔出石斧,造成100%攻击的伤害", }, diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index 366be10b..628da0f3 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -126,7 +126,7 @@ export const HeroInfo: Record = { // 刘邦 - 领导型战士(善于用人,知人善任) 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,6002], + type:HType.warrior,lv:1,hp:200,mp:200,def:0,ap:15,dis:120,speed:120,skills:[6001,6002], buff:[],tal:[],info:"楚汉争霸领袖,领导统御型战士"}, // 荆轲 - 刺客(敏捷型,高速度和暴击率) diff --git a/assets/script/game/hero/HeroMove.ts b/assets/script/game/hero/HeroMove.ts index b47c14a5..fd669032 100644 --- a/assets/script/game/hero/HeroMove.ts +++ b/assets/script/game/hero/HeroMove.ts @@ -82,7 +82,7 @@ export class HeroMoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpd const newX = view.node.position.x + delta; // 对于战士,允许更自由的移动范围 - if (newX >= -420 && newX <= 420) { // 使用地图边界 + if (newX >= -280 && newX <= 280) { // 使用地图边界 view.status_change("move"); view.node.setPosition(newX, view.node.position.y, 0); } else { diff --git a/assets/script/game/hero/MonMove.ts b/assets/script/game/hero/MonMove.ts index 95dadc22..9dc294b8 100644 --- a/assets/script/game/hero/MonMove.ts +++ b/assets/script/game/hero/MonMove.ts @@ -60,8 +60,13 @@ export class MonMoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpda const shouldStopInFace = this.checkEnemiesInFace(e); const shouldStopAtMinRange = this.shouldStopAtMinSkillRange(e); - const shouldStop = shouldStopInFace || shouldStopAtMinRange; + let shouldStop = shouldStopInFace || shouldStopAtMinRange; model.is_atking = this.checkEnemiesInSkillRange(e); + + // x > 280 强制移动,允许攻击 + if (view.node.position.x > 280) { + shouldStop = false; + } // 🔥 移除渲染层级更新:各线路固定,后召唤的天然层级更高,无需动态调整