fix(hero): 调整近战英雄攻击距离并简化移动逻辑

将 HeroDisVal 中近战英雄的攻击距离从 150 调整为 360,以改善战斗体验。
移除 `processMeleeLogic` 中的独立逻辑,改为复用 `processRangedFormationCombat` 方法,统一移动与攻击行为,提升代码可维护性。
This commit is contained in:
panw
2026-03-30 15:29:26 +08:00
parent a3a19b1960
commit e1298bfe96
2 changed files with 2 additions and 23 deletions

View File

@@ -26,7 +26,7 @@ export const FormationPointX = {
} as const;
export const HeroDisVal: Record<HType.Melee | HType.Mid | HType.Long, number> = {
[HType.Melee]: 150,
[HType.Melee]: 360,
[HType.Mid]: 400,
[HType.Long]: 720,
}