fix: 移除施法起始位置的Y轴偏移

施法起始位置的Y轴偏移30是多余的,直接使用施法者位置即可
This commit is contained in:
walkpan
2026-01-03 00:03:51 +08:00
parent 19d36a8532
commit a9884cf020

View File

@@ -253,7 +253,6 @@ export class SACastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdat
// 获取施法者位置作为起始位置
const startPos = caster.node.position.clone();
startPos.y += 30;
const targetPos = targets[0]; // 使用第一个目标位置
// console.log(`[SACastSystem]: ${s_uuid}, 起始位置: ${startPos}, 目标位置: ${targetPos}`);