diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index dfc4b627..02711400 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -69,9 +69,9 @@ export const FormationPointX = { } as const; export const HeroDisVal: Record = { - [HType.Melee]: 200, - [HType.Mid]: 400, - [HType.Long]: 660, + [HType.Melee]: 720, + [HType.Mid]: 720, + [HType.Long]: 720, } export const resolveFormationTargetX = (fac: FacSet, type: HType): number => { diff --git a/assets/script/game/hero/HeroAttrsComp.ts b/assets/script/game/hero/HeroAttrsComp.ts index 8fd8abb8..a3d29965 100644 --- a/assets/script/game/hero/HeroAttrsComp.ts +++ b/assets/script/game/hero/HeroAttrsComp.ts @@ -200,11 +200,6 @@ export class HeroAttrsComp extends ecs.Comp { const rangeType = this.type as HType.Melee | HType.Mid | HType.Long; const maxRange = HeroDisVal[rangeType]; let minRange = 0; - if (rangeType === HType.Mid) { - minRange = HeroDisVal[HType.Melee]; - } else if (rangeType === HType.Long) { - minRange = HeroDisVal[HType.Mid]; - } this.maxSkillDistance = maxRange; this.minSkillDistance = minRange; } diff --git a/assets/script/game/hero/MoveComp.ts b/assets/script/game/hero/MoveComp.ts index ba973e17..22a455a3 100644 --- a/assets/script/game/hero/MoveComp.ts +++ b/assets/script/game/hero/MoveComp.ts @@ -173,7 +173,7 @@ export class MoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate const [, maxRange] = this.resolveCombatRange(model, 360, 720); return dist <= maxRange; } - const [, maxRange] = this.resolveCombatRange(model, 120, 360); + const [, maxRange] = this.resolveCombatRange(model, 120, 720); return dist <= maxRange; }