fix: 调整英雄与怪物的位置锚点及出生点X坐标

将英雄前方锚点从-30改为-50,怪物前方锚点从30改为50,使战斗站位更合理。
同时将怪物出生槽位起始X坐标从30调整为50,以匹配新的锚点位置。
This commit is contained in:
panw
2026-04-08 09:45:55 +08:00
parent af78a3e02b
commit 9dd0861df1
2 changed files with 3 additions and 3 deletions

View File

@@ -49,8 +49,8 @@ interface MoveFacConfig {
export class MoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate {
/** 近战判定射程(来自 heroSet */
private readonly meleeAttackRange = HeroDisVal[HType.Melee];
private readonly heroFrontAnchorX = -30;
private readonly monFrontAnchorX = 30;
private readonly heroFrontAnchorX = -50;
private readonly monFrontAnchorX = 50;
/** 常规同阵营横向最小间距 */
private readonly allySpacingX = 60;
/** 纵向判定为同排的最大 Y 差 */

View File

@@ -57,7 +57,7 @@ export class MissionMonCompComp extends CCComp {
/** Boss 的渲染优先级偏移(确保 Boss 始终渲染在最前) */
private static readonly BOSS_RENDER_PRIORITY = 1000000;
/** 第一个槽位的 X 坐标起点 */
private static readonly MON_SLOT_START_X = 30;
private static readonly MON_SLOT_START_X = 50;
/** 槽位间的 X 间距 */
private static readonly MON_SLOT_X_INTERVAL = 60;
/** 怪物出生掉落高度 */