fix: 调整战斗边界并修复英雄出界时仍能施法的问题

- 缩小地图左右边界从±420到±360,优化战斗区域
- 增加英雄位置边界检查,出界时禁止施法技能
- 微调任务卡牌界面英雄信息项间距从10减至5
- 修复卡牌预制体缩放值错误(x从1改为-1)
This commit is contained in:
panw
2026-03-31 17:18:30 +08:00
parent 1437a7ee40
commit 5889423db0
4 changed files with 12 additions and 5 deletions

View File

@@ -8,8 +8,8 @@ export enum BoxSet {
MONSTER = 2,
HERO = 4,
//地图边界
LETF_END = -420,
RIGHT_END = 420,
LETF_END = -360,
RIGHT_END = 360,
//游戏地平线
GAME_LINE = 100,
//攻击距离