This commit is contained in:
2026-08-28 18:57:36 +08:00
parent 5e162fa05c
commit d75eacd1e6
37 changed files with 7567 additions and 8989 deletions
@@ -1412,6 +1412,9 @@ public class GameMainPanel_FishBase : GameMainPanel_Base
#region ③ 攻击系统(FireModule)
private void TryFire()
{
// ⭐ 特殊鱼炮台(钻头)活动期间禁用普通开火,点击只发射钻头
if (currSitData != null && currSitData.isDrillActive) return;
clickTime += Time.deltaTime;
if (clickTime < attackTime) return;
@@ -1566,6 +1569,8 @@ public class GameMainPanel_FishBase : GameMainPanel_Base
if (currSitData == null) return;
// ⭐ 退出倒计时期间屏蔽本地玩家自动开火,其他玩家和机器人不受影响
if (_isLeavingCountdown) return;
// ⭐ 特殊鱼炮台(钻头)活动期间禁用普通自动开火
if (currSitData.isDrillActive) return;
bool needAutoFire = toggle_SkillAuto.isOn || (toggle_Lock.isOn && currSitData.isLock && currSitData.lockFX.gameObject.activeSelf);
if (!needAutoFire)