yyl
2025-09-04 cdf7098c937c5f4a70383ef70897bf9fedbb3d99
Main/System/Battle/BattleField/BattleField.cs
@@ -153,7 +153,7 @@
        if (operationAgent == null)
        {
            BattleDebug.LogError("you should SetBattleMode before Run");
            Debug.LogError("you should SetBattleMode before Run");
            return;
        }
@@ -185,7 +185,6 @@
                break;
        }
        BattleDebug.LogError("battleMode is " + battleMode.ToString());
    }
    public virtual void AutoSetBattleMode()
@@ -245,6 +244,8 @@
        //  TurnNum;    // 当前轮次
        //  Len;
        //  Msg;    //size = Len   +
        if (State == 4)
        {
            //已经结束并结算
@@ -293,7 +294,7 @@
        if (deadPackList.Count > 0)
        {
            DeathRecordAction recordAction = new DeathRecordAction(this, deadPackList);
            recordPlayer.PlayRecord(recordAction);
            recordPlayer.ImmediatelyPlay(recordAction);
        }
    }
@@ -338,7 +339,7 @@
    {
        if (index < 0 || index >= battleRootNode.redTeamNodeList.Count)
        {
            BattleDebug.LogError($"GetTeamNode: Index {index} is out of range for {battleCamp} camp.");
            Debug.LogError($"GetTeamNode: Index {index} is out of range for {battleCamp} camp.");
            return null;
        }
@@ -413,7 +414,7 @@
        }
        else
        {
            BattleDebug.LogError($"BattleObject with ID {vNetData.ObjID} not found for reborn.");
            Debug.LogError($"BattleObject with ID {vNetData.ObjID} not found for reborn.");
        }
    }