fix(hero): 调整近战英雄攻击距离并简化移动逻辑
将 HeroDisVal 中近战英雄的攻击距离从 150 调整为 360,以改善战斗体验。 移除 `processMeleeLogic` 中的独立逻辑,改为复用 `processRangedFormationCombat` 方法,统一移动与攻击行为,提升代码可维护性。
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user