fix(战斗逻辑): 修复非战斗状态下技能释放和状态同步问题

- 在 SCastSystem 中增加战斗状态检查,防止非战斗时误触发技能
- 同步 mission.in_fight 状态到 vmdata.mission_data.in_fight 以保持数据一致性
- 调整 MissionCardComp 在波次开始时正确布局卡牌槽位并分发卡牌
- 优化游戏地平线位置和 UI 布局参数
This commit is contained in:
panw
2026-03-27 09:31:40 +08:00
parent 0b20d773d2
commit a42d34b003
5 changed files with 13 additions and 3 deletions

View File

@@ -1267,7 +1267,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -170,
"y": -130,
"z": 0
},
"_lrot": {
@@ -1383,7 +1383,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": -120,
"_bottom": -80,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,