fix: 调整战斗边界并修复英雄出界时仍能施法的问题
- 缩小地图左右边界从±420到±360,优化战斗区域 - 增加英雄位置边界检查,出界时禁止施法技能 - 微调任务卡牌界面英雄信息项间距从10减至5 - 修复卡牌预制体缩放值错误(x从1改为-1)
This commit is contained in:
@@ -62,7 +62,7 @@ export class MissionCardComp extends CCComp {
|
||||
/** 当前卡池等级(仅影响抽卡来源,不直接改卡槽现有内容) */
|
||||
private poolLv: number = CARD_POOL_INIT_LEVEL;
|
||||
private readonly heroInfoItemGap: number = 110;
|
||||
private readonly heroInfoItemSpacing: number = 10;
|
||||
private readonly heroInfoItemSpacing: number = 5;
|
||||
private heroInfoSyncTimer: number = 0;
|
||||
private hasCachedCardsBaseScale: boolean = false;
|
||||
private cardsBaseScale: Vec3 = new Vec3(1, 1, 1);
|
||||
|
||||
Reference in New Issue
Block a user