fix: 调整英雄刘邦属性和技能范围,优化移动边界逻辑

- 将刘邦的攻击距离从100增加到120
- 调整战士移动边界从±420到±280
- 修改怪物移动逻辑,x>280时允许移动攻击
- 关闭部分prefab的_active状态
- 增加技能5000和6001-6002的攻击距离
This commit is contained in:
walkpan
2026-01-04 23:19:24 +08:00
parent 20be2ae135
commit 01431f1d53
5 changed files with 16 additions and 9 deletions

View File

@@ -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 {