fix: 调整英雄刘邦属性和技能范围,优化移动边界逻辑
- 将刘邦的攻击距离从100增加到120 - 调整战士移动边界从±420到±280 - 修改怪物移动逻辑,x>280时允许移动攻击 - 关闭部分prefab的_active状态 - 增加技能5000和6001-6002的攻击距离
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
// 🔥 移除渲染层级更新:各线路固定,后召唤的天然层级更高,无需动态调整
|
||||
|
||||
|
||||
Reference in New Issue
Block a user